Nucleo.NET ORM Tools
These components provide an implementation to wrap the DataContext, ObjectContext, and DbContext with a generic IUnitOfWork implementation, that can fit easily within any framework. It also provides a container for querying. Why use a unit of work wrapper around
entity framework or LINQ to SQL? There are many benefits to doing so:
- Easily replace the architecture later - since you are dealing with an IUnitOfWork, it becomes easier to replace pieces or whole components of the framework later.
- Provide extensions for logging, etc. - Since the point at which queuing object changes, committing changes, and querying is funneled through the unit of work, you can easily add features like logging, error handling, etc.