Click or drag to resize

RecroGridRGEntityGetRGEntity Method (IRGDataContext, Int32, Type)

Visszaadja a RecroGrid Entity objektumot az Id alapján.

Namespace:  Recrovit.RecroGridFramework
Assembly:  Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 1.7.3
Syntax
C#
public static RecroGridRGEntity GetRGEntity(
	IRGDataContext dbContext,
	int entityId,
	Type entityObjectType = null
)

Parameters

dbContext
Type: Recrovit.RecroGridFramework.DataIRGDataContext
The context.
entityId
Type: SystemInt32
The Entity identifier.
entityObjectType (Optional)
Type: SystemType
Type of the Entity object.

Return Value

Type: RecroGridRGEntity
The Entity.
Exceptions
ExceptionCondition
ArgumentExceptionInvalid EntityId!
See Also