-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WithCollectionProperty Icollection #21
Comments
Hi @xavave, thanks for noticing that one. I'm not on my computer at the moment, I'll try to give a look into it tomorrow on how else this can be done. If you have any suggestions, feel free to share as well. |
I've added a constructor with ObservableCollection, it should fit my requirements |
Awesome ! Thank you ! |
You're welcome! Just released version 2.1.0 on Nuget with this feature |
Hi Israel, and |
Could you check if your If it is null, since ObservableCollection inherits from Collection, the overload used in the |
Nevermind, I was able to reproduce the issue, it is not related to the property being initialized or not. I should publish a fix by tomorrow. |
Fixes #21 for ObservableCollection properties
Thanks for noticing that error @xavave. Unfortunately, in order to provide a proper fix, I introduced a breaking change on version 2.2.0. TL;DR Full story |
thank you, it works with WithInitializedCollectionProperty |
I use Entity framework virtual ICollection for proxy creation
how can I use WithCollectionProperty with ICollection please ?
There are constructors for HashSet, List and Collection
If I try to add a new constructor like
but I get an error : ICollection must be a non abstract type with a public parameterless constructor
thank you
The text was updated successfully, but these errors were encountered: