RecroGridGetKey Method

It returns the key associated with the data.

Definition

Namespace: Recrovit.RecroGridFramework
Assembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 6.1.0.23.1204.1+9d8b98a22c49d038b4e3323bfe56aa1d0eabe7ae
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