I tried to find tutorials/articles on using UnitOfWorkApplication in ASP.NET (not MVC). But all information I can find is about how to use it in ASP.NET MVC.
Does it mean that it is not possible to use Rhino.Commons.HttpModules.UnitOfWorkApplication in our old webform applications?
I run into the problem that I am using repository inh...
I'm building ASP.Net MVC aplication based on UnitOfWorkApplication and I'd like to use Castle ATM facility. At the moment I've problem with flushing the session on request end. My service class (which is called in my controller action method) looks like this:
[Transactional]
public class UserAdminService : IUserAdminService
{
[Transac...
Hi,
I'm following this article Using Repository and Unit of Work patterns with Entity Framework 4.0.
I'm tying to implement the Repository and Unit of work pattern, using Asp.Net MVC 2 and Entity Framework 4.
Please let me know if I'm doing it right...
In the Models folder:
Northwind.edmx
Products.cs (POCO class)
ProductRepository....
Hello,
I have been reading about Unit of Work pattern but I am confused about how the UoW actually persists data.
When we commit the changes, UoW should iterate through the list of Added, Updated and Deleted objects and somehow find a class responsible to Add, Update, Delete objects of a certain type.
I couldn't find an example sho...
Hi,
I'm trying to update the data in the parent table that is referenced in the child table from the child's view in Asp.net.
I mapped the tables using Fluent Nhibernate.
In the child table, the mapping looks like this:
public class ChildMap: ClassMap<Child>
{
public ChildMap()
{
Id(i => i.childID).Not.Nullable();
...
Considering this class
public class XQueries
{
public IQueryable Query1()
{
using (XEntities context = new XEntities())
{
return something;
}
}
public IQueryable Query2()
{
using (XEntities context = new XEntities())
{
return somethingElse;
}
...
Hi All,
In this page:
http://docs.jboss.org/hibernate/core/3.3/reference/en/html/transactions.html
I have read that: "A unit of work is a design pattern described by Martin Fowler"
Did Martin Fowler discovered this pattern before hibernate boys and is Martin the only source of describing this pattern?
Regards
...