RecroGridRGEntityGetRGEntity(IRGFLogger, IRGDataContext, Int32, Type) Method

Returns the RecroGrid Entity object based on the Id.

Definition

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

Parameters

rgfLogger  IRGFLogger
The Logger
dbContext  IRGDataContext
The context.
entityId  Int32
The Entity identifier.
entityObjectType  Type  (Optional)
Type of the Entity object.

Return Value

RecroGridRGEntity
The Entity.

Exceptions

ArgumentExceptionInvalid EntityId!

See Also