Reputation: 812
I am using LINQ to talk to Dynamics CRM. I have found the DbFunctions class in the docs. But when I go to the definition it has NO methods. I want the DateDiffYear method, but I can find no samples online and it simply does not appear to be present in the reflected code?
Upvotes: 0
Views: 40
Reputation: 812
OK, the docs are USELESS. You need to install EntityFrameworkCore.SqlServer for this to appear.
Thanks for being my rubber duck again, Stack Overflow!!!!
Upvotes: 1