C# Class Serenity.Services.MasterDetailRelationBehavior

Inheritance: Serenity.Services.BaseSaveDeleteBehavior, IImplicitBehavior, IRetrieveBehavior, IListBehavior, IFieldBehavior
Mostra file Open project: volkanceylan/Serenity

Public Methods

Method Description
ActivateFor ( Row row ) : bool
OnAfterExecuteQuery ( IListRequestHandler handler ) : void
OnAfterExecuteQuery ( IRetrieveRequestHandler handler ) : void
OnAfterSave ( ISaveRequestHandler handler ) : void
OnApplyFilters ( IListRequestHandler handler, SqlQuery query ) : void
OnBeforeDelete ( IDeleteRequestHandler handler ) : void
OnBeforeExecuteQuery ( IListRequestHandler handler ) : void
OnBeforeExecuteQuery ( IRetrieveRequestHandler handler ) : void
OnPrepareQuery ( IListRequestHandler handler, SqlQuery query ) : void
OnPrepareQuery ( IRetrieveRequestHandler handler, SqlQuery query ) : void
OnReturn ( IListRequestHandler handler ) : void
OnReturn ( IRetrieveRequestHandler handler ) : void
OnValidateRequest ( IListRequestHandler handler ) : void
OnValidateRequest ( IRetrieveRequestHandler handler ) : void

Private Methods

Method Description
AsString ( object obj ) : string
DeleteDetail ( IUnitOfWork uow, object detailId ) : void
DetailListSave ( IUnitOfWork uow, object masterId, IList oldList, IList newList ) : void
SaveDetail ( IUnitOfWork uow, Row detail, object masterId, object detailId ) : void

Method Details

ActivateFor() public method

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

OnAfterExecuteQuery() public method

public OnAfterExecuteQuery ( IListRequestHandler handler ) : void
handler IListRequestHandler
return void

OnAfterExecuteQuery() public method

public OnAfterExecuteQuery ( IRetrieveRequestHandler handler ) : void
handler IRetrieveRequestHandler
return void

OnAfterSave() public method

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

OnApplyFilters() public method

public OnApplyFilters ( IListRequestHandler handler, SqlQuery query ) : void
handler IListRequestHandler
query Serenity.Data.SqlQuery
return void

OnBeforeDelete() public method

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

OnBeforeExecuteQuery() public method

public OnBeforeExecuteQuery ( IListRequestHandler handler ) : void
handler IListRequestHandler
return void

OnBeforeExecuteQuery() public method

public OnBeforeExecuteQuery ( IRetrieveRequestHandler handler ) : void
handler IRetrieveRequestHandler
return void

OnPrepareQuery() public method

public OnPrepareQuery ( IListRequestHandler handler, SqlQuery query ) : void
handler IListRequestHandler
query Serenity.Data.SqlQuery
return void

OnPrepareQuery() public method

public OnPrepareQuery ( IRetrieveRequestHandler handler, SqlQuery query ) : void
handler IRetrieveRequestHandler
query Serenity.Data.SqlQuery
return void

OnReturn() public method

public OnReturn ( IListRequestHandler handler ) : void
handler IListRequestHandler
return void

OnReturn() public method

public OnReturn ( IRetrieveRequestHandler handler ) : void
handler IRetrieveRequestHandler
return void

OnValidateRequest() public method

public OnValidateRequest ( IListRequestHandler handler ) : void
handler IListRequestHandler
return void

OnValidateRequest() public method

public OnValidateRequest ( IRetrieveRequestHandler handler ) : void
handler IRetrieveRequestHandler
return void