RecroGridDynTEntityOnDeleteAsync Method
Deletes the entity.
Namespace: Recrovit.RecroGridFrameworkAssembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 6.5.0.24.0221.1
protected virtual Task<bool> OnDeleteAsync(
IRGDataContext context,
TEntity dataRec,
RGClientParam param,
RGUIMessages messages
)
- context IRGDataContext
- The context.
- dataRec TEntity
- The data record.
- param RGClientParam
- A kliensről érkező paraméterek.
- messages RGUIMessages
- A kliensnek küldendő üzenetek.
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);
}