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

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

Loads this view model from the entity generated from PopulatePrimaryKeyControls. This is executed only during record retrieval operations.

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

Syntax


protected void LoadFromEntity(
	TEntity entity
)
Protected Sub LoadFromEntity ( _
	entity As TEntity _
)
protected:
void LoadFromEntity(
	TEntity entity
)

Parameters

entity
Type: TEntity
The entity that was loaded from the database by PopulatePrimaryKeyControls.