Fixed transaction exception bug
transactinos that were explicitly closed, were throwing an exception, because it would be closing transaction twice
This commit is contained in:
parent
57b456b1e1
commit
db5e820841
@ -70,6 +70,8 @@ namespace RMDataManagerLibrary.DataAcccess
|
|||||||
|
|
||||||
sql.SaveDataInTransaction("dbo.spSaleDetailInsert", item);
|
sql.SaveDataInTransaction("dbo.spSaleDetailInsert", item);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sql.CommitTransaction();
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user