|
Hi Im wondering if there are possible to change The IList<>/IList to an defined collection or list like CustomerCollection so I can add for my own methods to that list, maybe it can take an IList
CustomerCollection customerCollection = IList;
but the problem is when NHibernate want's to save it, then it can't take my defined CustomerCollection, can I solve this by make any inherits from NHibernates Collections to my CustomerCollection and then make an interface so the next layer don't know anything about the object like ICustomerCollection.
I hope this is understandable though my english isn't the best.
|