ObservableCollection<ItemPedido> Items
But now in Fluent nHibernate, I don’t know how to use it. Is there an easy way to use ObservableCollection with Fluent nHibernate? I noticed that there is a NHibernate.Collection.Observable DLL;
But I do not know how to replace my current code that uses IList:
public virtual IList<ItemPedido> Items
{
get { return _Items; }
set { _Items = value; OnPropertyChanged(System.Reflection.MethodBase.GetCurrentMethod().Name.Substring(4)); }
} private IList<ItemPedido> _Items;
How to change the above code to work with the Observable Collection and Fluent nHibernate?
source
share