类型查询
public class bbb:xxx
{}
var items = from c in context.Dbset<xxx> where c is bbb select c;
var items = from c in context.Dbset<xxx> .OfType<bbb>() select c;
类型查询
public class bbb:xxx
{}
var items = from c in context.Dbset<xxx> where c is bbb select c;
var items = from c in context.Dbset<xxx> .OfType<bbb>() select c;