RecroGridGetKey Method

It returns the key associated with the data.

Definition

Namespace: Recrovit.RecroGridFramework
Assembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 8.11.0.24.1208.1
C#
protected virtual IRGEntityKey GetKey(
	Object dataRec,
	bool temporary = false
)

Parameters

dataRec  Object
The data record.
temporary  Boolean  (Optional)
If false, then it returns null in case of IsTemporary.

Return Value

IRGEntityKey
The Key.

Remarks

If dataRec is not an EntityObject, then it tries to generate the key based on RGEntity.

See Also