mirror of https://github.com/abpframework/abp.git
4 changed files with 25 additions and 38 deletions
@ -0,0 +1,15 @@ |
|||||
|
using System.Data; |
||||
|
|
||||
|
namespace Volo.Abp.Uow |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// Global (default) unit of work options
|
||||
|
/// </summary>
|
||||
|
public class UnitOfWorkOptions |
||||
|
{ |
||||
|
//TODO: Implement default options!
|
||||
|
public UnitOfWorkTransactionBehavior TransactionBehavior { get; set; } |
||||
|
|
||||
|
public IsolationLevel? IsolationLevel { get; set; } |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,9 @@ |
|||||
|
namespace Volo.Abp.Uow |
||||
|
{ |
||||
|
public enum UnitOfWorkTransactionBehavior |
||||
|
{ |
||||
|
Auto, |
||||
|
Enabled, |
||||
|
Disabled |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue