Merge branch 'master' of https://github.com/PoweredSoft/DynamicQuery
This commit is contained in:
commit
1ceb75e945
13
README.md
13
README.md
@ -26,6 +26,17 @@ The package Asp.net core of dynamic query will help you start to use Dynamic Que
|
||||
|
||||
> For NET CORE 2.x look at v2.0 branch.
|
||||
|
||||
### New in 2.1.3
|
||||
|
||||
You may now add a ```IQueryInterceptorProvider``` to return interceptors on top of being able to use AddInterceptor.
|
||||
|
||||
```csharp
|
||||
public interface IQueryInterceptorProvider
|
||||
{
|
||||
IEnumerable<IQueryInterceptor> GetInterceptors<TSource, TResult>(IQueryCriteria queryCriteria, IQueryable<TSource> queryable);
|
||||
}
|
||||
```
|
||||
|
||||
### How to configure during startup (NET Core 3)
|
||||
|
||||
```csharp
|
||||
@ -222,4 +233,4 @@ Interceptor | Interface
|
||||
----------------------------------|---------------------------------------------------------------------------------------|-------------------------------------------------------------|------------------------------------------------------------------------------------------------
|
||||
IQueryConvertInterceptor | [interface](../master/PoweredSoft.DynamicQuery.Core/IQueryConvertInterceptor.cs) | [test](../master/PoweredSoft.DynamicQuery.Test/ConvertibleInterceptorTests.cs) | This interceptor allows you to replace the object that is being returned by the query, by another object instance
|
||||
IQueryConvertInterceptor<T, T2> | [interface](../master/PoweredSoft.DynamicQuery.Core/IQueryConvertInterceptor.cs) | [test](../master/PoweredSoft.DynamicQuery.Test/ConvertibleInterceptorTests.cs#L72) | This interceptor allows you to replace the object that is being returned by the query, by another object instance **(restricts the source)**
|
||||
IQueryConvertInterceptor<T, T2> | [interface](../master/PoweredSoft.DynamicQuery.Core/IQueryConvertInterceptor.cs) | [test](../master/PoweredSoft.DynamicQuery.Test/ConvertibleInterceptorTests.cs#L101) | This interceptor allows you to replace the object that is being returned by the query, by another object instance **(restricts the source & output)**
|
||||
IQueryConvertInterceptor<T, T2> | [interface](../master/PoweredSoft.DynamicQuery.Core/IQueryConvertInterceptor.cs) | [test](../master/PoweredSoft.DynamicQuery.Test/ConvertibleInterceptorTests.cs#L101) | This interceptor allows you to replace the object that is being returned by the query, by another object instance **(restricts the source & output)**
|
||||
|
Loading…
Reference in New Issue
Block a user