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

AdvancedFindViewModel..::..GetEntityFromDb Method

Gets the entity from database.

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

Syntax


protected AdvancedFind GetEntityFromDb(
	AdvancedFind newEntity,
	PrimaryKeyValue primaryKeyValue
)
Protected Function GetEntityFromDb ( _
	newEntity As AdvancedFind, _
	primaryKeyValue As PrimaryKeyValue _
) As AdvancedFind
protected:
AdvancedFind^ GetEntityFromDb(
	AdvancedFind^ newEntity, 
	PrimaryKeyValue^ primaryKeyValue
)

Parameters

newEntity
Type: RingSoft.DbLookup.AdvancedFind..::..AdvancedFind
The new entity.
primaryKeyValue
Type: RingSoft.DbLookup..::..PrimaryKeyValue
The primary key value.

Return Value

AdvancedFind.

Exceptions


ExceptionCondition
ApplicationException