Completata dismissione LuxController!!!
This commit is contained in:
@@ -33,7 +33,7 @@ namespace EgwCoreLib.Lux.Data.Repository.Sales
|
||||
await using var dbCtx = await CreateContextAsync();
|
||||
|
||||
// Wrap in transaction for atomicity (multi-row update + delete)
|
||||
await using var tx = dbCtx.Database.BeginTransaction();
|
||||
await using var tx = await dbCtx.Database.BeginTransactionAsync();
|
||||
try
|
||||
{
|
||||
// 1. Recupero il record da eliminare
|
||||
@@ -137,7 +137,7 @@ namespace EgwCoreLib.Lux.Data.Repository.Sales
|
||||
await using var dbCtx = await CreateContextAsync();
|
||||
|
||||
// Wrap in transaction for atomicity (batch update multiple rows)
|
||||
await using var tx = dbCtx.Database.BeginTransaction();
|
||||
await using var tx = await dbCtx.Database.BeginTransactionAsync();
|
||||
try
|
||||
{
|
||||
foreach (var row in rows)
|
||||
@@ -183,7 +183,7 @@ namespace EgwCoreLib.Lux.Data.Repository.Sales
|
||||
await using var dbCtx = await CreateContextAsync();
|
||||
|
||||
// Wrap in transaction for atomicity (batch update multiple rows)
|
||||
await using var tx = dbCtx.Database.BeginTransaction();
|
||||
await using var tx = await dbCtx.Database.BeginTransactionAsync();
|
||||
try
|
||||
{
|
||||
// recupero offerta...
|
||||
@@ -357,7 +357,7 @@ namespace EgwCoreLib.Lux.Data.Repository.Sales
|
||||
// context
|
||||
await using var dbCtx = await CreateContextAsync();
|
||||
// Wrap in transaction for atomicity (batch update multiple rows)
|
||||
await using var tx = dbCtx.Database.BeginTransaction();
|
||||
await using var tx = await dbCtx.Database.BeginTransactionAsync();
|
||||
try
|
||||
{
|
||||
// verifica preliminare: serve SSE stato e estimate non corrispondono...
|
||||
|
||||
Reference in New Issue
Block a user