Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public AdventureWorksContext(IConfigurationAccess configAccess) : base(configAccess.GetDefaultConnectionString())
- {
- }
- //Error: The target context 'AdventureWorks.DL.Repository.Implementation.AllMidContext' is not constructible.
- //Add a default constructor or provide an implementation of IDbContextFactory.
- //It wants a default constructor, but we don't have one in the grad academy project, ubt it still works.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement