Set the identifier of an instance (or do nothing if no identifier property)
Namespace: NHibernate.Persister.EntityAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
void SetIdentifier( Object obj, Object id, EntityMode entityMode ) |
Visual Basic |
---|
Sub SetIdentifier ( _ obj As Object, _ id As Object, _ entityMode As EntityMode _ ) |
Visual C++ |
---|
void SetIdentifier( Object^ obj, Object^ id, EntityMode entityMode ) |
Parameters
- obj
- Type: System..::..Object
The object to set the Id property on.
- id
- Type: System..::..Object
The value to set the Id property to.
- entityMode
- Type: NHibernate..::..EntityMode
The EntityMode