Class ReadOnlySqlDatabaseHandler
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Data.Providers
Assembly: EPiServer.Data.dll
Version: 9.12.2Syntax
public class ReadOnlySqlDatabaseHandler : SqlDatabaseHandler, IAsyncDatabaseHandler, IDatabaseHandler
Constructors
ReadOnlySqlDatabaseHandler(ConnectionStringSettings, Int32, TimeSpan, TimeSpan)
Declaration
public ReadOnlySqlDatabaseHandler(ConnectionStringSettings connectionStringSettings, int retries, TimeSpan retryDelay, TimeSpan databaseQueryTimeout)
Parameters
Type | Name | Description |
---|---|---|
System.Configuration.ConnectionStringSettings | connectionStringSettings | |
System.Int32 | retries | |
System.TimeSpan | retryDelay | |
System.TimeSpan | databaseQueryTimeout |
Methods
ExecuteTransaction(Action)
Declaration
public override void ExecuteTransaction(Action action)
Parameters
Type | Name | Description |
---|---|---|
System.Action | action |
Overrides
ExecuteTransaction<TResult>(Func<TResult>)
Declaration
public override TResult ExecuteTransaction<TResult>(Func<TResult> action)
Parameters
Type | Name | Description |
---|---|---|
System.Func<TResult> | action |
Returns
Type | Description |
---|---|
TResult |
Type Parameters
Name | Description |
---|---|
TResult |
Overrides
EPiServer.Data.Providers.SqlDatabaseHandler.ExecuteTransaction<TResult>(System.Func<TResult>)
ExecuteTransactionAsync(Func<Task>)
Declaration
public override Task ExecuteTransactionAsync(Func<Task> action)
Parameters
Type | Name | Description |
---|---|---|
System.Func<System.Threading.Tasks.Task> | action |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Overrides
ExecuteTransactionAsync<TResult>(Func<Task<TResult>>)
Declaration
public override Task<TResult> ExecuteTransactionAsync<TResult>(Func<Task<TResult>> action)
Parameters
Type | Name | Description |
---|---|---|
System.Func<System.Threading.Tasks.Task<TResult>> | action |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult> |
Type Parameters
Name | Description |
---|---|
TResult |
Overrides
EPiServer.Data.Providers.SqlDatabaseHandler.ExecuteTransactionAsync<TResult>(System.Func<System.Threading.Tasks.Task<TResult>>)