Before compiling this, to ensure your project has a reference to a version of Entity Framework that supports code first development, execute the following nuget command:
install-package EntityFramework
The following code listing contains:
- POCO
- Context
- Static method to add an item
- Application configuration (XML)
- Unit test (not required)
No comments:
Post a Comment