NPersistence Reference Guide
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Return the id of the entity.
A generated id is not guaranteed to be available until after
the database insert has occurred.
Returns null if the entity does not yet have an id.
entity instance
Namespace: NPersistenceReturn Value
id of the entity if the object is found not to be an entityAssembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
Object GetIdentifier( Object entity )
Parameters
- entity
- Object