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

The requested configuration is not stored in the read-optimized model, please use 'DbContext.GetService<IDesignTimeModel>().Model'. #2

Closed
OscarKoo opened this issue Apr 15, 2023 · 6 comments
Assignees

Comments

@OscarKoo
Copy link

@ionutneagos I found another issue, when I changed the column length (the column belongs to an index), and I got an Exception.

could you please help me on this? thanks!

image

image

@ionutneagos
Copy link
Owner

ionutneagos commented Apr 16, 2023

@OscarKoo , are you using vs 7.0.5? If you can provide a small repro project with both errors it would be very helpful and easier to identify the source or those errors.

@ionutneagos ionutneagos self-assigned this Apr 18, 2023
@OscarKoo
Copy link
Author

@ionutneagos I made a small project to reproduce the issue.
CoreWebApi.zip

  1. you need to run the app first to create the database.
  2. stop the app.
  3. Change the length of column Area.Name;
  4. run the app again.
  5. you will see the error.

@OscarKoo
Copy link
Author

@ionutneagos
Have you got any clue to address the issue? I cannot get over it this time...

Repository owner deleted a comment from MulticastingGit Apr 27, 2023
@ionutneagos
Copy link
Owner

hi @OscarKoo - sorry for this delay, I was caught with some stuff.... Published the fix in vs 7.0.5.1

Please confirm if is ok now. Thank you!

Repository owner deleted a comment from MulticastingGit Apr 27, 2023
@OscarKoo
Copy link
Author

awesome! it works! thank you @ionutneagos !!!

@ionutneagos
Copy link
Owner

@OscarKoo glad that works well now! I will close this issue

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

2 participants