RGDataContextBaseGetObjectByKeyTEntity Method

Returns an object that has the specified entity key.

Definition

Namespace: Recrovit.RecroGridFramework.Data
Assembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 6.1.0.23.1204.1+9d8b98a22c49d038b4e3323bfe56aa1d0eabe7ae
C#
public TEntity GetObjectByKey<TEntity>(
	IRGEntityKey key
)
where TEntity : class

Parameters

key  IRGEntityKey
The key of the object to be found.

Type Parameters

TEntity
The type of the entity.

Return Value

TEntity
An System.Object that is an instance of an entity type.

See Also