I am using Entity Framework 6 and Oracle Database 11g (ODP.NET Manage Driver).
How to call UTL_MATCH.EDIT_DISTANCE
function in LINQ query?
I agree with Gerrie Pretorius and if you used database first model , you must add a function to edmx file like below
Then add a static function to OracleFunctions class like below
[EdmFunction("Model.Store", "TO_CHAR")]
public static int? ToNumber(this string value) {
throw new NotSupportedException("this function is not supported");
}
After that you can use ToNumber function freely.