NHibernate : QueryOver in generic method

后端 未结 1 1212
[愿得一人]
[愿得一人] 2021-01-22 01:57

I have this test method, I have a problem on the \"List\" method. I\'d like use several class (all inplement IAdminDecimal). On the QueryOver, I have this error : The t

1条回答
  •  天涯浪人
    2021-01-22 02:42

    Try:

    public IList List() where T : class, IAdminDecimal
    

    0 讨论(0)
提交回复
热议问题