Does anyone know what is the replacement for SqlMethods.DateDiffMonth in the Entity Framework.
This is the error I am getting when I tried to use it.
LINQ to Entities does not recognize the method 'Int32 DateDiffMonth(System.DateTime, System.DateTime)' method, and this method cannot be translated into a store expression.