标签: sql entity-framework entity-framework-4
答案 0 :(得分:2)
ctx.CreateQuery<BaseEntity>(sqlText).OfType<InheritedEntity>()