Advertisement
Guest User

Untitled

a guest
Jun 27th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. public AdventureWorksContext(IConfigurationAccess configAccess) : base(configAccess.GetDefaultConnectionString())
  2. {
  3. }
  4.  
  5. //Error: The target context 'AdventureWorks.DL.Repository.Implementation.AllMidContext' is not constructible.
  6. //Add a default constructor or provide an implementation of IDbContextFactory.
  7.  
  8. //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