EntityFramework.Functions library implements Entity Framework code first support for stored procedures (with single result type, multiple result types, output parameter), table-valued functions (returning entity type, complex type), scalar-valued functions (composable, non-composable), aggregate functions, built-in functions, niladic functions, and model defined functions.
How Does one setup the build in function to support the build in cast or conver functions? msdn link
So far I have this
[Function(FunctionType.BuiltInFunction, "CAST")] public static double Cast(string value) => Function.CallNotSupported<double>();
modelBuilder.Conventions.Add(new FunctionConvention<VProCressContext>()); modelBuilder.AddFunctions(typeof(MySQLFunctions));
But I do not know how to supply the type that is needed with the cast