Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
112 changes: 0 additions & 112 deletions azure-pipelines.yml.obsolete

This file was deleted.

28 changes: 28 additions & 0 deletions docs/features/ignorequeryfilters.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
layout: default
title: IgnoreQueryFilters
nav_order: 3
has_children: false
parent: ORM-Specific Features
grand_parent: Features
---

# IgnoreQueryFilters

The `IgnoreQueryFilters` feature is used to indicate to EF Core (it is not supported by EF 6) that it should ignore global query filters for this query. It simply passes along this call to the underlying [EF Core feature for disabling global filters](https://docs.microsoft.com/ef/core/querying/filters#disabling-filters).

## Sample

The following specification implements the `IgnoreQueryFilters()` expression:

```csharp
public class CompanyByIdIgnoreQueryFilters : Specification<Company>, ISingleResultSpecification
{
public CompanyByIdIgnoreQueryFilters(int id)
{
Query
.Where(company => company.Id == id)
.IgnoreQueryFilters();
}
}
```
2 changes: 1 addition & 1 deletion docs/features/include.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: default
title: Include
nav_order: 3
nav_order: 4
has_children: false
parent: ORM-Specific Features
grand_parent: Features
Expand Down
2 changes: 1 addition & 1 deletion docs/features/search.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: default
title: Search
nav_order: 5
nav_order: 6
has_children: false
parent: ORM-Specific Features
grand_parent: Features
Expand Down
2 changes: 1 addition & 1 deletion docs/features/then-include.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: default
title: ThenInclude
nav_order: 4
nav_order: 5
has_children: false
parent: ORM-Specific Features
grand_parent: Features
Expand Down
6 changes: 0 additions & 6 deletions nuget.txt

This file was deleted.