Casting to a derived type in a LINQ to Entities query with Table Per Hierarchy inheritance

前端 未结 0 1153
臣服心动
臣服心动 2021-02-04 00:27

I have a LINQ to entities model with Table Per Hierarchy inheritance. I have a query over the base type, and I want to do specific type-dependent logic. For example:

<         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题