Duplicate Designer File being created upon save

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
iamnotcreative
Posts: 6
Joined: Mon 19 Nov 2012 22:15

Duplicate Designer File being created upon save

Post by iamnotcreative » Wed 27 Jul 2022 16:23

Hello,

I'm running into a problem when editing my project's LQML in that it's creating a new .Designer.vb file upon Save All. I had previously edited one of the classes to put the schema in front of the table name and when I did that it removed the line

<LastGenOutput>MyProject.Designer.vb</LastGenOutput>

from the lqml section of my project file.

Code: Select all

<None Include="MyProject.lqml">
<Generator>DevartLinqToSqlGenerator</Generator>
<SubType>Designer</SubType>
</None>


I've tried manually editing my project file which work once after which the LastGenOutput line is removed again.

Running Devart Entity Developer- 6.12.1354.0 in Visual Studio 2019. Any help is appreciated.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Duplicate Designer File being created upon save

Post by Shalex » Tue 04 Oct 2022 08:14

iamnotcreative wrote: Wed 27 Jul 2022 16:23when editing my project's LQML in that it's creating a new .Designer.vb file upon Save All
That is a designed behavior.
iamnotcreative wrote: Wed 27 Jul 2022 16:23I had previously edited one of the classes to put the schema in front of the table name
Please set the schema via the Source property of LinqClass in the model designer: Source=schemaName.tableName instead of Source=tableName.

Also, be aware of the "Preserve schema name in storage" option in Model Settings that is applied to the newly added tables to the model.

Post Reply