Is there a way to define a dbset (or other iqueryable type) as a query string?
Example:
var myQuery = "Select * from dbo.MyTable";
var dbset = context.Set<MyTableRow>(myQuery); //Hypothetical Overload
So I could then go with something like
dbset.Where(x => x.SomeProperty == 1);
I am trying to dynamically set a dbset from a dynamic sql string.