Page 1 of 1
How to set the implementPropertyChanging parameter in templates?
Posted: Wed 17 Apr 2013 16:01
by neiltrodden
I notice the default context template has the option to disable/enable INotifyPropertyChanging, based on if implementPropertyChanging is set to true. How do I configure this parameter?
Re: How to set the implementPropertyChanging parameter in templates?
Posted: Thu 18 Apr 2013 10:44
by MariiaI
"implementPropertyChanging" is not a parameter, it is an internal calculated property of the template being used.
You could try using POCO classes to implement this scenario. To change the template:
- open Model Explorer -> Templates;
- select "New Template" from the shortcut menu of the "Templates" tab and select "POCO Entity";
- disable/remove other templates;
- save changes and re-generate your model.
'POCO entity' template generates the LinqConnect-independent (persistence-ignorant) classes. This template doesn't generate attributes, EntitySet and EntityRef for navigation properties, etc.
Please tell us if this helps.