Create a "temporary" entry for a newly instantiated entity. The entity is
uninitialized, but we need the mapping from id to instance in order to guarantee
uniqueness.
Namespace:
NHibernate.ImplAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub AddUninitializedEntity ( _ key As EntityKey, _ obj As Object, _ lockMode As LockMode _ ) |
C# |
---|
public void AddUninitializedEntity( EntityKey key, Object obj, LockMode lockMode ) |
Visual C++ |
---|
public: virtual void AddUninitializedEntity( EntityKey^ key, Object^ obj, LockMode^ lockMode ) sealed |
JavaScript |
---|
function addUninitializedEntity(key, obj, lockMode); |
Parameters
- key
- Type: NHibernate.Engine..::.EntityKey
- obj
- Type: System..::.Object
- lockMode
- Type: NHibernate..::.LockMode