i saw the System.Data.Common.CommandTrees.ExpressionBuilder.EdmFunctions
static class accidently, that contains a set of extension methods on System.Data.Comm
These methods are not meant for general consumption, you continue to use SqlFunctions
or EntityFunctions
in client code. They are the stock implementations of the canonical functions that can execute on an arbitrary provider. Microsoft includes the providers for XML, BCL collections and Entity SQL. Somebody else can create a provider to, say, their own dbase engine or ORM.
The mapping from, say, EntityFunctions.AddDays() to EdmFunctions.AddDays() occurs dynamically when the query comprehension is executed.