Filtering Include with extension methods EF Core
I’m trying to limit the amount of elements of a navigation property.
EF Core – Cannot perform an aggregate function on an expression containing an aggregate or a subquery
Could someone kindly provide some assistance.
LINQ IntersectBy complex query
I am trying to write a fairly complex query. Here is what I have:
Dynamically create Entity,DbSet,Migration file,Migrator file and Tables
I want to dynamically generate the following components based on user input properties:
EF Query Translation failure if using constructor but not if using property initialization
When performing a somewhat convoluted query I get a “could not be translated” exception if I am selecting into a class that uses a constructor. Oddly I get a success if I use the same class but with property initialization instead. I cannot figure out why EF can translate one but not the other. What is the reason for this?
Access Property in Expression<Func> of Object
I would like to find out, if a string (stored in Column OSchlagwoerter in the database) contains any string within a list of strings (stored in variable tags).
In order to achieve this, I want to loop through the list of tags and check for each tag if OSchlagwoerter contains it. However, I cannot access the field OSchlagwoerter of the object passed.