RecroGridETEntityOnDeleteRecAsync Method
Deletes the entity.
Namespace: Recrovit.RecroGridFrameworkAssembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 6.1.0.23.1204.1+9d8b98a22c49d038b4e3323bfe56aa1d0eabe7ae
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);
}