Merged
Conversation
Updated project files to reference newer versions of `Microsoft.EntityFrameworkCore`, `Microsoft.EntityFrameworkCore.SqlServer`, `Microsoft.EntityFrameworkCore.Design`, and `Microsoft.EntityFrameworkCore.Cosmos` from `8.0.0` to `8.0.15`. Also updated `Microsoft.Extensions.Hosting` to version `8.0.1` in several projects. Changed target framework from `net7.0` to `net8.0` in `ScaffoldSample.csproj` for compatibility with the latest EF Core features.
- Updated MenusContext to initialize _restaurantId inline. - Fixed typo in Program.cs method name from AddAddtionalCardsAsync to AddAdditionalCardsAsync. - Refactored Runner class to use constructor parameters directly. - Replaced private _menusContext field with menusContext parameter in relevant methods.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Classification
EF Core: update project dependencies and improve code clarity.
PR Summary
This pull request updates multiple project files to reference newer versions of
Microsoft.EntityFrameworkCoreand related packages, enhances code clarity, and corrects method names.MenusContext.cs: Constructor syntax improved for_restaurantIdinitialization.Runner.cs: Method name corrected fromAddAddtionalCardsAsynctoAddAdditionalCardsAsync, andawaitstatements updated for consistency.Program.cs: Fixed typo in method call fromAddAddtionalCardsAsynctoAddAdditionalCardsAsync.ScaffoldSample.csproj: Target framework updated fromnet7.0tonet8.0.Microsoft.Extensions.Hostingversion8.0.1.