Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EntitySpaces Studio Connection reverts to Northwind when you save project #17

Open
mattphi opened this issue Jul 5, 2020 · 3 comments

Comments

@mattphi
Copy link

mattphi commented Jul 5, 2020

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 pushed a commit to mattphi/EntitySpaces that referenced this issue Jul 7, 2020
mattphi pushed a commit to mattphi/EntitySpaces that referenced this issue Jul 7, 2020
… Northwind when you save project - apply same fix to settings files
@MikeGriffinReborn
Copy link
Owner

Thank you, I will review the commit

@philSJ14
Copy link

philSJ14 commented Feb 27, 2021

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.

@mattphi
Copy link
Author

mattphi commented Jul 3, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants