How do I convert a non-Generic IList to IList?

前端 未结 7 1845
失恋的感觉
失恋的感觉 2021-02-02 06:20

I have class that wants an IList, but I have a Systems.Collection.IList, coming from an NHibernate quere.

I want to create a method th

7条回答
  •  醉梦人生
    2021-02-02 06:53

    Can't you achieve that NHibernate returns you an IList ? The ICriteria interface defines an List method ...

提交回复
热议问题