EF Core Global Query Filter Exception
Hi friends, I'm try to create a
In my
How my
The Issue:
When I start the app, automatically II get this
Which
My Questions:
Please how do I can fix this issue ? and massive thanks in advance <3
Global query filter for my EF Core, to be honest this is the first time for me with Global Query FiltersIn my
AppDbContext => OnModelCreating I tried this:How my
IArchivable looks like:The Issue:
When I start the app, automatically II get this
exception:InvalidOperationException: The filter expression 'x => ((Convert(x.IsArchived, Nullable1) != null) OrElse (Convert(x.IsArchived, Nullable1) == Convert(False, Nullable`1)))' specified for entity type 'ContinuousFormation' is invalid. The expression must accept a single parameter of type 'MBSM.Core.Entities.ContinuousFormation' and return bool.
Which
ContinuousFormation is an Entity type/class and it looks like :My Questions:
Please how do I can fix this issue ? and massive thanks in advance <3