NPersistence Reference Guide
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

Return Value

id of the entity if the object is found not to be an entity

Namespace: NPersistence
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

   
 C# 
Object GetIdentifier(
	Object entity
)

Parameters

entity
Object

See Also