“TContext” must be a non abstract type with a public parameterless constructor to use it as a parameter in generic type GenericClass

后端 未结 0 320
傲寒
傲寒 2021-01-24 11:04

There is a Generic class which implements IRepository class. And it takes 2 arguments TEntity for Product class and TContext for ShopContext class.

 public class          


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