CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.Configuration.DataOptions Class Reference

Use this type to configure the settings for the CSLA .NET data subsystem. More...

Public Member Functions

DataOptions DefaultTransactionIsolationLevel (TransactionIsolationLevel level)
 Sets the default transaction isolation level. More...
 
DataOptions DefaultTransactionTimeoutInSeconds (int seconds)
 Sets the default transaction timeout in seconds. More...
 
DataOptions DefaultTransactionAsyncFlowOption (TransactionScopeAsyncFlowOption asyncFlowOption)
 Sets the default transaction async flow option used to create new TransactionScope objects. More...
 
DataOptions DbProvider (string dbProvider)
 Sets the invariant name of a provider for use by DbProviderFactories.GetFactory(). More...
 

Detailed Description

Use this type to configure the settings for the CSLA .NET data subsystem.

Definition at line 17 of file DataOptions.cs.

Member Function Documentation

◆ DbProvider()

DataOptions Csla.Configuration.DataOptions.DbProvider ( string  dbProvider)

Sets the invariant name of a provider for use by DbProviderFactories.GetFactory().

Parameters
dbProvider
Returns

Definition at line 58 of file DataOptions.cs.

◆ DefaultTransactionAsyncFlowOption()

DataOptions Csla.Configuration.DataOptions.DefaultTransactionAsyncFlowOption ( TransactionScopeAsyncFlowOption  asyncFlowOption)

Sets the default transaction async flow option used to create new TransactionScope objects.

Parameters
asyncFlowOptionAsync flow option

Definition at line 44 of file DataOptions.cs.

◆ DefaultTransactionIsolationLevel()

DataOptions Csla.Configuration.DataOptions.DefaultTransactionIsolationLevel ( TransactionIsolationLevel  level)

Sets the default transaction isolation level.

Parameters
levelThe default transaction isolation level

Definition at line 23 of file DataOptions.cs.

◆ DefaultTransactionTimeoutInSeconds()

DataOptions Csla.Configuration.DataOptions.DefaultTransactionTimeoutInSeconds ( int  seconds)

Sets the default transaction timeout in seconds.

Parameters
secondsThe default transaction timeout in seconds

Definition at line 33 of file DataOptions.cs.