EntitySpaces icon indicating copy to clipboard operation
EntitySpaces copied to clipboard

EntitySpaces Studio Connection reverts to Northwind when you save project

Open mattphi opened this issue 4 years ago • 3 comments

I'm using v2019.1.1218.0

On the second time I save a project, the connection string reverts to this -

Provider=SQLOLEDB.1;Password=;User ID=sa;Persist Security Info=True;Initial Catalog=Northwind;Data Source=localhost

To reproduce -

  1. Launch EntitySpaces Studio
  2. Right click on "Project" and select "Record a Template"
  3. Choose Templates > EntitySpaces > 2019 > C# > Generated - Classes Master (C#)
  4. Click "Save As" and save the project to a file - inspect the file. You can inspect the file and it has the correct connection string at this stage - it will be the one you saved as default under the global settings
  5. Now click "Save" - at this stage, the esprj file is copied to an _original.esprj file and if you inspect the newly saved file, you can see that the connection string has reverted to the Northwind one

mattphi avatar Jul 05 '20 23:07 mattphi

Thank you, I will review the commit

MikeGriffinReborn avatar Jan 19 '21 22:01 MikeGriffinReborn

Has this been fixed yet? I tried manually editing the Project file and set the correct ConnectionString, but as soon as I open the project in EntitySpaces Studio 2019, the connection is reverted to Northwind.

philSJ14 avatar Feb 27 '21 16:02 philSJ14

Has this been fixed yet? I tried manually editing the Project file and set the correct ConnectionString, but as soon as I open the project in EntitySpaces Studio 2019, the connection is reverted to Northwind.

Hi @philSJ14 sorry for the slow reply. I committed a fix in my fork which seems to work - feel free to grab that fork and test it out - let me know how it goes

mattphi avatar Jul 03 '22 01:07 mattphi