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

Namespace:  NHibernate.Impl
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Property ExistsInDatabase As Boolean
C#
public bool ExistsInDatabase { get; set; }
Visual C++
public:
property bool ExistsInDatabase {
	bool get ();
	void set (bool value);
}
JavaScript
function get_existsInDatabase();
function set_existsInDatabase(value);

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