File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/shared/Z.EF.Plus.QueryFilterInterceptor.Shared/Extensions Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 55// More projects: http://www.zzzprojects.com/
66// Copyright © ZZZ Projects Inc. 2014 - 2016. All rights reserved.
77
8- using System . Data . Entity ;
98using System . Linq ;
109
1110namespace Z . EntityFramework . Plus
@@ -16,7 +15,7 @@ public static partial class QueryInterceptorFilterExtensions
1615 /// <typeparam name="T">The type of elements of the query.</typeparam>
1716 /// <param name="query">The filtered query from which the original query should be retrieved.</param>
1817 /// <returns>The orginal query before the context was filtered.</returns>
19- public static IQueryable < T > AsNoFilter < T > ( this IDbSet < T > query ) where T : class
18+ public static IQueryable < T > AsNoFilter < T > ( this IQueryable < T > query ) where T : class
2019 {
2120 return QueryFilterManager . HookFilter ( query , QueryFilterManager . DisableAllFilter ) ;
2221 }
You can’t perform that action at this time.
0 commit comments