EntityFrameworkQueryableExtensions.IgnoreQueryFilters<TEntity> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies that the current Entity Framework LINQ query should not have any model-level entity query filters applied.
public static System.Linq.IQueryable<TEntity> IgnoreQueryFilters<TEntity> (this System.Linq.IQueryable<TEntity> source) where TEntity : class;
static member IgnoreQueryFilters : System.Linq.IQueryable<'Entity (requires 'Entity : null)> -> System.Linq.IQueryable<'Entity (requires 'Entity : null)> (requires 'Entity : null)
<Extension()>
Public Function IgnoreQueryFilters(Of TEntity As Class) (source As IQueryable(Of TEntity)) As IQueryable(Of TEntity)
Type Parameters
- TEntity
The type of entity being queried.
Parameters
- source
- IQueryable<TEntity>
The source query.
Returns
A new query that will not apply any model-level entity query filters.
Exceptions
source
is null
.
Remarks
See EF Core query filters for more information and examples.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for