TableDefinition<(Of <(<'TEntity>)>)>..::..GetPrimaryKeyValueFromEntity Method
Gets the primary key value from entity.
Namespace:
RingSoft.DbLookup.ModelDefinitionAssembly: RingSoft.DbLookup (in RingSoft.DbLookup.dll)
Syntax
public PrimaryKeyValue GetPrimaryKeyValueFromEntity( TEntity entity )
Public Function GetPrimaryKeyValueFromEntity ( _ entity As TEntity _ ) As PrimaryKeyValue
public: PrimaryKeyValue^ GetPrimaryKeyValueFromEntity( TEntity entity )
Parameters
- entity
- Type: TEntity
The entity.