Initializes a new instance of EntityEntry.
Namespace:
NHibernate.ImplAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub New ( _ status As Status, _ loadedState As Object(), _ id As Object, _ version As Object, _ lockMode As LockMode, _ existsInDatabase As Boolean, _ persister As IEntityPersister, _ disableVersionIncrement As Boolean _ ) |
C# |
---|
public EntityEntry( Status status, Object[] loadedState, Object id, Object version, LockMode lockMode, bool existsInDatabase, IEntityPersister persister, bool disableVersionIncrement ) |
Visual C++ |
---|
public: EntityEntry( Status status, array<Object^>^ loadedState, Object^ id, Object^ version, LockMode^ lockMode, bool existsInDatabase, IEntityPersister^ persister, bool disableVersionIncrement ) |
JavaScript |
---|
NHibernate.Impl.EntityEntry = function(status, loadedState, id, version, lockMode, existsInDatabase, persister, disableVersionIncrement); |
Parameters
- status
- Type: NHibernate.Impl..::.Status
The current Status of the Entity.
- loadedState
- Type: array<
System..::.Object
>[]()[]
The snapshot of the Entity's state when it was loaded.
- id
- Type: System..::.Object
The identifier of the Entity in the database.
- version
- Type: System..::.Object
The version of the Entity.
- lockMode
- Type: NHibernate..::.LockMode
The LockMode for the Entity.
- existsInDatabase
- Type: System..::.Boolean
A boolean indicating if the Entity exists in the database.
- persister
- Type: NHibernate.Persister.Entity..::.IEntityPersister
The IEntityPersister that is responsible for this Entity.
- disableVersionIncrement
- Type: System..::.Boolean