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

RecordLockingViewModel..::..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(
	RecordLock newEntity,
	PrimaryKeyValue primaryKeyValue
)
Protected Sub PopulatePrimaryKeyControls ( _
	newEntity As RecordLock, _
	primaryKeyValue As PrimaryKeyValue _
)
protected:
void PopulatePrimaryKeyControls(
	RecordLock^ newEntity, 
	PrimaryKeyValue^ primaryKeyValue
)

Parameters

newEntity
Type: RingSoft.DbLookup.RecordLocking..::..RecordLock
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.

Exceptions


ExceptionCondition
ApplicationException