EntityFramework 6.
The query:
var item = context.Items.FirstOrDefault(x => x.NullableProperty == filter.NullablePropertyValue);
Without EntityFramework.Filters it translates to:
...
WHERE (([Extent1].[NullableProperty] = @p__linq__0) OR (([Extent1].[NullableProperty] IS NULL) AND (@p__linq__0 IS NULL)))
After adding filter interceptor (both in DbConfiguration class or in OnModelCreating) the query is translated to:
...
WHERE ([Extent1].[NullableProperty] = @p__linq__0)
DBContext.Configuration.UseDatabaseNullSemantics = false; does not fix anything.
EntityFramework 6.
The query:
Without
EntityFramework.Filtersit translates to:After adding filter interceptor (both in
DbConfigurationclass or in OnModelCreating) the query is translated to:DBContext.Configuration.UseDatabaseNullSemantics = false;does not fix anything.