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

DbMaintenanceViewModel<(Of <(<'TEntity>)>)>..::..PopulatePrimaryKeyControls Method

Populates the primary key controls. This is executed during record save and retrieval operations.

Namespace:  RingSoft.DbMaintenance
Assembly:  RingSoft.DbMaintenance (in RingSoft.DbMaintenance.dll)

Syntax


protected void PopulatePrimaryKeyControls(
	TEntity newEntity,
	PrimaryKeyValue primaryKeyValue
)
Protected Sub PopulatePrimaryKeyControls ( _
	newEntity As TEntity, _
	primaryKeyValue As PrimaryKeyValue _
)
protected:
void PopulatePrimaryKeyControls(
	TEntity newEntity, 
	PrimaryKeyValue^ primaryKeyValue
)

Parameters

newEntity
Type: TEntity
The entity containing just the primary key values.
primaryKeyValue
Type: RingSoft.DbLookup..::..PrimaryKeyValue
The primary key value.

Return Value

An entity populated from the database.