Skip to content
| Marketplace
Sign in
Visual Studio>Templates>Domain Template

Domain Template

Matthew Rowland

|
1,510 installs
| (0) | Free
Data Access Layer project shell.

This is a Data Access Layer project template that follows the Unit of Work and Repository design patterns.

The base EntityFramework repository is set up. To use it a child class is needed with a constructor that accepts an IUnitOfWork as a parameter.

The Unit of Work named "ModelManager" is not coupled with any specific data access technology and can be used with any one, or many at the same time.

 

Version History

1.2.0 - 8/8/2016

This update provides more functionality to the EntityFrameworkRepository Class.

Classes:

EntityFrameworkRepository -

Removed mistakenly added `ToList()` call.

Added an `UpdateOrInsertRange` method.

Added a `DeleteRange` method.

ModelManager -

Added contructor that allows IContext to be added curing construction.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft