Implementing UnitOfWork Pattern In Linq To SQL Application(weblogs.asp.net)
submitted by
iftekharahmedamit(530) 2 years, 11 months ago
Implementing UnitOfWork Pattern In Linq To SQL Application
In my previous post, I have shown how to create Linq to Sql Repository which will have the maximum code coverage, In this post, I will show a simple UnitOfWork class which will flash the changes back to your database. I will be again use my ongoing UnityCommonServiceLocatorMVC project. Lets assume that in your ASP.NET MVC application you have a method in your controller which will add a category and its associate product in the Northwind database.
|category: Architecture
|Views: 562
tags:
ASP.NET MVC IoC/DI DDD Unity another
Everyones tags:
Your Tags: