From time to time you need to filter data by difference between two dates. For instance, you wanna take a difference between date from a record and Today.
Tag: linq
Error: Unable to determine the principal end of an association between the typesError: Unable to determine the principal end of an association between the types
You may get this error if you have entities related to itself. For example, you have a tree hierarchy.