G
Guest
I have a problem using system.transactions ...it doesnt have a transaction
Class unitofwork....
public override void Commit()
{
using (TransactionScope scope = new TransactionScope())
{
Application.ConnectionManager.OpenConnection();
InsertNew();
updateDirty();
deleteRemoved();
//Application.ConnectionManager.CloseConnection();
scope.Complete();
}
Class unitofwork....
public override void Commit()
{
using (TransactionScope scope = new TransactionScope())
{
Application.ConnectionManager.OpenConnection();
InsertNew();
updateDirty();
deleteRemoved();
//Application.ConnectionManager.CloseConnection();
scope.Complete();
}