I’m using EF Code First on an Oracle Database. Given a table like this
public class Entity
{
public int Id { get; set; }
}
is it possible to construct a where clause that contains a call to a function?
e.g
MyDatabase database = new MyDatabase();
var results = database.Entity.Where(c => c.Id < 1000
&& "Schema.Package.Function(" + c.Id + "));
You can use SqlQuery method