How to set the implementPropertyChanging parameter in templates?

Discussion of open issues, suggestions and bugs regarding LinqConnect – Devart's LINQ to SQL compatible ORM
Post Reply
neiltrodden
Posts: 10
Joined: Tue 05 Mar 2013 16:12

How to set the implementPropertyChanging parameter in templates?

Post by neiltrodden » Wed 17 Apr 2013 16:01

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?

MariiaI
Devart Team
Posts: 1472
Joined: Mon 13 Feb 2012 08:17

Re: How to set the implementPropertyChanging parameter in templates?

Post by MariiaI » Thu 18 Apr 2013 10:44

"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.

Post Reply