Autogeneration of entity files

Discussion of open issues, suggestions and bugs regarding LinqConnect – Devart's LINQ to SQL compatible ORM
Post Reply
crazypit
Posts: 163
Joined: Wed 15 Apr 2009 08:43

Autogeneration of entity files

Post by crazypit » Fri 07 Jan 2011 08:12

Hello,

Whenever i open an lqml file as XML and make some manual changes to it, when i save it, Visual Studio 2010 regenerates all the entity files and associates them with the lqml file! Nevertheless, my entities are maintained in a different folder of my project. This behavior is so annoying. Especially, when an SCC system is present and the new files are automatically marked to be added to the project. Of course, code does not compile as all the new entities are duplicates of my original ones.

StanislavK
Devart Team
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Post by StanislavK » Mon 10 Jan 2011 17:07

Please try clearing the 'Custom Tool' property of the .lqml file. In this case, the [ModelName].designer.cs file won't be generated automatically.

Post Reply