Ejemplo n.º 1
0
 public static void UseTransaction(this SqlOptions options) => options.Filters.Add(new TransactionFilter());
Ejemplo n.º 2
0
 public static void UseTransactionScope(this SqlOptions options, TransactionScopeOption scopeOption) => options.Filters.Add(new TransactionScopeFilter(scopeOption));
Ejemplo n.º 3
0
 public static void UseTransactionScope(this SqlOptions options, Func <TransactionScope> scopeFactory) => options.Filters.Add(new TransactionScopeFilter(scopeFactory));
Ejemplo n.º 4
0
 public static void UseTransaction(this SqlOptions options, IsolationLevel isolationLevel) => options.Filters.Add(new TransactionFilter(isolationLevel));