Gets or sets a Boolean indicating if this Entity exists in the database.

Namespace: NHibernate.Engine
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public bool ExistsInDatabase { get; }
Visual Basic
Public ReadOnly Property ExistsInDatabase As Boolean
	Get
Visual C++
public:
property bool ExistsInDatabase {
	bool get ();
}

Field Value

trueTruetruetrue (True in Visual Basic) if it is already in the database.

Remarks

It can also be trueTruetruetrue (True in Visual Basic) if it does not exists in the database yet and the IsIdentifierAssignedByInsert is trueTruetruetrue (True in Visual Basic).

See Also