Closed jeffreyladd closed 3 years ago
https://github.com/Handy-Hangout-Studios/Norm/blob/193e84a64815263f0f34aadcb73b3258ff5efbbb/Norm/Program.cs#L109
The DbContext should be added to DI via AddDbContext as you will also be able to pass in all the possible EF base options but also any adapter options in one call keeping it all clean
https://github.com/Handy-Hangout-Studios/Norm/blob/193e84a64815263f0f34aadcb73b3258ff5efbbb/Norm/Program.cs#L109
The DbContext should be added to DI via AddDbContext as you will also be able to pass in all the possible EF base options but also any adapter options in one call keeping it all clean