File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
samples/core/Querying/QueryFilters Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public static async Task Sample()
52
52
{
53
53
Console . WriteLine ( "Blogs (including soft-deleted ones):" ) ;
54
54
#region DisableSoftDeletionFilter
55
- var allBlogs = await context . Blogs . IgnoreQueryFilters ( [ "SoftDeletionFlter " ] ) . ToListAsync ( ) ;
55
+ var allBlogs = await context . Blogs . IgnoreQueryFilters ( [ "SoftDeletionFilter " ] ) . ToListAsync ( ) ;
56
56
#endregion
57
57
58
58
foreach ( var blog in allBlogs )
@@ -76,7 +76,7 @@ protected override void OnModelCreating(ModelBuilder modelBuilder)
76
76
{
77
77
#region FilterConfiguration
78
78
modelBuilder . Entity < Blog > ( )
79
- . HasQueryFilter ( "SoftDeletionFlter " , b => ! b . IsDeleted )
79
+ . HasQueryFilter ( "SoftDeletionFilter " , b => ! b . IsDeleted )
80
80
. HasQueryFilter ( "TenantFilter" , b => b . TenantId == tenantId ) ;
81
81
#endregion
82
82
}
You can’t perform that action at this time.
0 commit comments