C# Class Shaolinq.TransactionScopeFactory

显示文件 Open project: tumtumtum/Shaolinq

Public Methods

Method Description
CreateReadCommitted ( TransactionScopeOption transactionScopeOption = TransactionScopeOption.Required, System.TimeSpan timeout = null ) : TransactionScope
CreateReadCommitted ( TransactionScopeOption transactionScopeOption, System.TimeSpan timeout, TransactionScopeAsyncFlowOption transactionScopeAsyncFlowOption ) : TransactionScope
CreateRepeatableRead ( TransactionScopeOption transactionScopeOption = TransactionScopeOption.Required, System.TimeSpan timeout = null ) : TransactionScope
CreateRepeatableRead ( TransactionScopeOption transactionScopeOption, System.TimeSpan timeout, TransactionScopeAsyncFlowOption transactionScopeAsyncFlowOption ) : TransactionScope
CreateSerializable ( TransactionScopeOption transactionScopeOption = TransactionScopeOption.Required, System.TimeSpan timeout = null ) : TransactionScope
CreateSerializable ( TransactionScopeOption transactionScopeOption, System.TimeSpan timeout, TransactionScopeAsyncFlowOption transactionScopeAsyncFlowOption ) : TransactionScope

Method Details

CreateReadCommitted() public static method

public static CreateReadCommitted ( TransactionScopeOption transactionScopeOption = TransactionScopeOption.Required, System.TimeSpan timeout = null ) : TransactionScope
transactionScopeOption TransactionScopeOption
timeout System.TimeSpan
return System.Transactions.TransactionScope

CreateReadCommitted() public static method

public static CreateReadCommitted ( TransactionScopeOption transactionScopeOption, System.TimeSpan timeout, TransactionScopeAsyncFlowOption transactionScopeAsyncFlowOption ) : TransactionScope
transactionScopeOption TransactionScopeOption
timeout System.TimeSpan
transactionScopeAsyncFlowOption TransactionScopeAsyncFlowOption
return System.Transactions.TransactionScope

CreateRepeatableRead() public static method

public static CreateRepeatableRead ( TransactionScopeOption transactionScopeOption = TransactionScopeOption.Required, System.TimeSpan timeout = null ) : TransactionScope
transactionScopeOption TransactionScopeOption
timeout System.TimeSpan
return System.Transactions.TransactionScope

CreateRepeatableRead() public static method

public static CreateRepeatableRead ( TransactionScopeOption transactionScopeOption, System.TimeSpan timeout, TransactionScopeAsyncFlowOption transactionScopeAsyncFlowOption ) : TransactionScope
transactionScopeOption TransactionScopeOption
timeout System.TimeSpan
transactionScopeAsyncFlowOption TransactionScopeAsyncFlowOption
return System.Transactions.TransactionScope

CreateSerializable() public static method

public static CreateSerializable ( TransactionScopeOption transactionScopeOption = TransactionScopeOption.Required, System.TimeSpan timeout = null ) : TransactionScope
transactionScopeOption TransactionScopeOption
timeout System.TimeSpan
return System.Transactions.TransactionScope

CreateSerializable() public static method

public static CreateSerializable ( TransactionScopeOption transactionScopeOption, System.TimeSpan timeout, TransactionScopeAsyncFlowOption transactionScopeAsyncFlowOption ) : TransactionScope
transactionScopeOption TransactionScopeOption
timeout System.TimeSpan
transactionScopeAsyncFlowOption TransactionScopeAsyncFlowOption
return System.Transactions.TransactionScope