NHibernate : QueryOver in generic method

后端 未结 1 1203
[愿得一人]
[愿得一人] 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<T> List<T>() where T : class, IAdminDecimal
    
    0 讨论(0)
提交回复
热议问题