RecroGridGetKey Method
            It returns the key associated with the data.
            
Namespace: Recrovit.RecroGridFrameworkAssembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 8.2.0.24.0426.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.