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

All unit tests passing! #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

shad-1
Copy link

@shad-1 shad-1 commented Mar 15, 2022

EF migrations and I aren't on the best of terms right now. It is only once I manually edited the migration that I made progress. Good lesson.

I also appreciated this practice for the sake of getting me more familiar with the common LINQ expressions and .NET System Namespace methods (as a certified dotnet novice 😬).

EF migrations and I aren't on the best of terms right now. It is only once I manually edited the migration that I made progress. Good lesson.
@@ -10,7 +10,7 @@ public class ApiContext : DbContext
public ApiContext()
{
// saves the SQLite EF.Core.Training.db to the solution's root folder
string path = Path.GetFullPath(Path.Combine(AppContext.BaseDirectory, @"..\..\..\..\"));
string path = Path.GetFullPath(Path.Combine(AppContext.BaseDirectory, @"../../../../"));
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I completed this challenge on a Mac.
Let me tell you...my dotnet ef CLI did not like those back slashes.

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

Successfully merging this pull request may close these issues.

1 participant