How to set the implementPropertyChanging parameter in templates?
-
- Posts: 10
- Joined: Tue 05 Mar 2013 16:12
How to set the implementPropertyChanging parameter in templates?
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?
"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.
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.