RecroGridETEntityOnDeleteRecAsync Method
Deletes the entity.
Namespace: Recrovit.RecroGridFrameworkAssembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 8.11.0.24.1208.1
protected virtual Task<bool> OnDeleteRecAsync(
RecroTrack tracking,
TEntity dataRec,
RGClientParam param,
RGUIMessages messages
)
- tracking RecroTrack
- RecroTrack object and the context.
- dataRec TEntity
- The current entity (data record).
- param RGClientParam
- Parameters received from the client.
- messages RGUIMessages
- Messages to be sent to the client.
TaskBooleantrue if the deletion succeeded, otherwise
false.
protected override Task<bool> OnDeleteRecAsync(RecroTrack tracking, Person dataRec, RGClientParam arg, RGUIMessages messages)
{
//Invoke IRecroGridDelete
return base.OnDeleteRecAsync(tracking, dataRec, arg, messages);
}