C# Class Serenity.Services.UpdatableExtensionBehavior

Inheritance: Serenity.Services.BaseSaveDeleteBehavior, IImplicitBehavior
Exibir arquivo Open project: volkanceylan/Serenity

Public Methods

Method Description
ActivateFor ( Row row ) : bool
OnAfterSave ( ISaveRequestHandler handler ) : void
OnBeforeDelete ( IDeleteRequestHandler handler ) : void
OnBeforeSave ( ISaveRequestHandler handler ) : void

Private Methods

Method Description
CheckPresenceValue ( RelationInfo info, Row row ) : bool
GetExistingID ( IDbConnection connection, RelationInfo info, object thisKey ) : object

Method Details

ActivateFor() public method

public ActivateFor ( Row row ) : bool
row Serenity.Data.Row
return bool

OnAfterSave() public method

public OnAfterSave ( ISaveRequestHandler handler ) : void
handler ISaveRequestHandler
return void

OnBeforeDelete() public method

public OnBeforeDelete ( IDeleteRequestHandler handler ) : void
handler IDeleteRequestHandler
return void

OnBeforeSave() public method

public OnBeforeSave ( ISaveRequestHandler handler ) : void
handler ISaveRequestHandler
return void