RetrieveRequestHandler<TRow,TRetrieveRequest,TRetrieveResponse> class
namespace: Serenity.Services assembly: Serenity.Net.Services
Generic base class for retrieve request handlers
public class RetrieveRequestHandler<TRow, TRetrieveRequest, TRetrieveResponse> :
RetrieveRequestHandlerBase<TRow, TRetrieveRequest, TRetrieveResponse>,
IRetrieveHandler<TRow, TRetrieveRequest, TRetrieveResponse>, IRetrieveRequestProcessor
where TRow : class, IRow, new()
where TRetrieveRequest : RetrieveRequest
where TRetrieveResponse : RetrieveResponse<TRow>, new()
| parameter |
description |
| TRow |
Entity type |
| TRetrieveRequest |
Retrieve request type |
| TRetrieveResponse |
Retrieve response type |
Public Members
Protected Members
| name |
description |
| behaviors |
Lazy list of behaviors that is activated for this request. |
| virtual ExecuteQuery() |
Executes the query and sets the response entity if found. |
| virtual OnAfterExecuteQuery() |
Called after executing the retrieve query |
| virtual OnBeforeExecuteQuery() |
Called before executing the retrieve query |
| virtual OnReturn() |
Called just before returning the response |
| virtual PrepareQuery(…) |
Prepares query by selecting fields. |
| virtual ValidateRequest() |
Validates the request by checking permissions. |
See Also