13 public static class CslaDataConfigurationExtension
18 public static CslaDataConfiguration Data(
this ICslaConfiguration config)
20 return new CslaDataConfiguration();
36 ConfigurationManager.AppSettings[
"CslaDefaultTransactionIsolationLevel"] = level.ToString();
46 ConfigurationManager.AppSettings[
"CslaDefaultTransactionTimeoutInSeconds"] = seconds.ToString();
57 ConfigurationManager.AppSettings[
"CslaDefaultTransactionAsyncFlowOption"] = asyncFlowOption.ToString();
Use this type to configure the settings for the CSLA .NET data portal.
CslaDataConfiguration DefaultTransactionIsolationLevel(TransactionIsolationLevel level)
Sets the default transaction isolation level.
CslaDataConfiguration DefaultTransactionAsyncFlowOption(System.Transactions.TransactionScopeAsyncFlowOption asyncFlowOption)
Sets the default transaction async flow option used to create new TransactionScope objects.
CslaDataConfiguration DefaultTransactionTimeoutInSeconds(int seconds)
Sets the default transaction timeout in seconds.
TransactionIsolationLevel
Specifies an isolation level for transactions controlled by TransactionalAttribute