Hi friends, let me told you how handle this... in my domain, my collections are IList<T> but, at my ViewModel, I have BindingList<T>.
For example, my domain is: Person -> Phones. If I need to show person's phones, I have a property in my ViewModel: BindingList<Phone> PersonsPhones; Everytime the "selected person" changes, I load its IList<Phone> into BindingList<Phone> PersonsPhones... this approach has been working well in my projects... bye 2011/4/23 litgle <[email protected]> > Thanks, José and Fabio > > thanks for you work! > If I use ObservableListType<T> in uNhAddIns to my project, I still use > IList<T> to collections in my project's Domain, So why not just use > the IList <T>? > > Best Regards, > Litgle. > > On 4月23日, 下午9时32分, José F. Romaniello <[email protected]> wrote: > > Look in unhaddins.wpf, i had a some feedback and bugfixes. > > that said... think twice if you are going to use entities as viewmodels. > > > > 2011/4/23, litgle <[email protected]>: > > > > > > > > > > > > > > > > > > > > > Hello everybody! > > > > > I want to use ObservableCollection <T> in NH3.1, I tried to use > > > ObservableListType<T> at uNhAddIns, but it does not implement > > > CollectionChanged event, so it's not I want. > > > > > Have other way to implement I want? > > > > > Thanks, > > > Litgle. > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "nhusers" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]. > > > For more options, visit this group at > > >http://groups.google.com/group/nhusers?hl=en. > > > > -- > > Enviado desde mi dispositivo móvil > > -- > You received this message because you are subscribed to the Google Groups > "nhusers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. > > -- Paulo Quicoli Editor Técnico: .NET Magazine, ClubeDelphi Magazine; Editor: WebMobile Magazine www.devmedia.com.br www.nhibernatebrasil.net http://pauloquicoli.spaces.live.com twitter:@pauloquicoli -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
