RingSoft.DbLookup.Controls.WPF.Properties Namespace
RingSoft.DbMaintenance Namespace

TableDefinition<(Of <(<'TEntity>)>)>..::..GetPrimaryKeyValueFromEntity Method

Gets the primary key value from entity.

Namespace:  RingSoft.DbLookup.ModelDefinition
Assembly:  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.

Return Value

PrimaryKeyValue.