What email address or phone number would you like to use to sign in to Docs.com?
If you already have an account that you use with Office or other Microsoft services, enter it here.
Or sign in with:
Signing in allows you to download and like content, and it provides the authors analytical data about your interactions with their content.
Embed code for: Mocking Entity Framework when Unit Testing ASP.NET Web API 2
Select a size
Shows how to modify scaffolded Web API controllers to inject the EF context object for testing, and how to create test objects that work with Entity Framework.