Interface IOnQueryBehavior
Contract for the behavior invoked upon building entity queries.
Namespace: Kephas.Data.Behaviors
Assembly: Kephas.Data.dll
Syntax
public interface IOnQueryBehaviorMethods
| Improve this Doc View SourceAfterQuery(Type, IQueryOperationContext)
Callback invoked after the query has been created.
Declaration
void AfterQuery(Type entityType, IQueryOperationContext queryOperationContext)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Type | entityType | Type of the entity. | 
| IQueryOperationContext | queryOperationContext | Context for the query operation. | 
BeforeQuery(Type, IQueryOperationContext)
Callback invoked before the query is being created.
Declaration
void BeforeQuery(Type entityType, IQueryOperationContext queryOperationContext)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Type | entityType | Type of the entity. | 
| IQueryOperationContext | queryOperationContext | Context for the query operation. |