Hi,
Is there anyone that has successfully changed navigation properties to be ObservableCollection<T>?
I am doing MvvM and I need to trigger the RaisePropertyChanged and for current DbContext I have failed on doing this.
Any help appretiated.
Change Navigation Properties as ObservableCollection<T>
-
- Posts: 41
- Joined: Fri 12 Apr 2013 19:05
Re: Change Navigation Properties as ObservableCollection<T>
We have contacted you by e-mail.
-
- Posts: 41
- Joined: Fri 12 Apr 2013 19:05
Re: Change Navigation Properties as ObservableCollection<T>
Hi,
just replied you by email with a demo project referring the unexpected behavior of the ObservableListSource<T>.
Thanks
just replied you by email with a demo project referring the unexpected behavior of the ObservableListSource<T>.
Thanks
Re: Change Navigation Properties as ObservableCollection<T>
Thank you for the test project. We will investigate it and contact you by e-mail as soon as any results are available.
-
- Posts: 41
- Joined: Fri 12 Apr 2013 19:05
Re: Change Navigation Properties as ObservableCollection<T>
Hi,
thanks for the update on implemented feature of Use ObservableCollection<T>;
I was able to use it once.. and noticed that when using that I had to customize template for having the usiong collections;
Besides that..
When it was released I had tested it...
However I am creating a new model with dbcontext but unable to find the feature of using observablecollection; is there something I need to do before? Thanks
thanks for the update on implemented feature of Use ObservableCollection<T>;
I was able to use it once.. and noticed that when using that I had to customize template for having the usiong collections;
Besides that..
When it was released I had tested it...
However I am creating a new model with dbcontext but unable to find the feature of using observablecollection; is there something I need to do before? Thanks
-
- Posts: 41
- Joined: Fri 12 Apr 2013 19:05
Re: Change Navigation Properties as ObservableCollection<T>
Ignore my previous comment when related to not finding where to specify to use ObservableCollection<T>... it is shown by default on dbcontext.. just was using older version on current machine.
Yet it is missing on template to add using for Collections...
Cheers!
Yet it is missing on template to add using for Collections...
Cheers!
Re: Change Navigation Properties as ObservableCollection<T>
If we understood you correctly, the issue was resolved.
JIC: to be able to use ObservableCollection<T> you need to open your *.edml model, navigate to Tools > Entity Developer > Model Explorer > expand the Templates node and set the Use ObservableCollection property of the DbContext template to True; save the model to regenerate the code.
If you have any further questions, feel free to contact us.
JIC: to be able to use ObservableCollection<T> you need to open your *.edml model, navigate to Tools > Entity Developer > Model Explorer > expand the Templates node and set the Use ObservableCollection property of the DbContext template to True; save the model to regenerate the code.
If you have any further questions, feel free to contact us.