Click or drag to resize

RGDataContextBaseGetObjectByKeyTEntity Method

Returns an object that has the specified entity key.

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

Parameters

key
Type: Recrovit.RecroGridFramework.DataIRGEntityKey
The key of the object to be found.

Type Parameters

TEntity
The type of the entity.

Return Value

Type: TEntity
An System.Object that is an instance of an entity type.
See Also