RecroGridGetKey Method
It returns the key associated with the data.
Namespace: Recrovit.RecroGridFrameworkAssembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 8.3.1.24.0524.1
protected virtual IRGEntityKey GetKey(
Object dataRec,
bool temporary = false
)
- dataRec Object
- The data record.
- temporary Boolean (Optional)
- If false, then it returns null in case of IsTemporary.
IRGEntityKeyThe Key.
If dataRec is not an EntityObject, then it tries to generate the key based on RGEntity.