Class ReadOnlySqlDatabaseExecutor
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.Internal
Assembly: EPiServer.Data.dll
Version: 11.20.7Syntax
public class ReadOnlySqlDatabaseExecutor : SqlDatabaseExecutor, IAsyncDatabaseExecutor, IDatabaseExecutor
Constructors
ReadOnlySqlDatabaseExecutor(ContextCache, ConnectionStringOptions, Int32, TimeSpan, TimeSpan)
Declaration
public ReadOnlySqlDatabaseExecutor(ContextCache contextCache, ConnectionStringOptions connectionStringOption, int retries, TimeSpan retryDelay, TimeSpan databaseQueryTimeout)
Parameters
Type | Name | Description |
---|---|---|
ContextCache | contextCache | |
ConnectionStringOptions | connectionStringOption | |
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.Internal.SqlDatabaseExecutor.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.Internal.SqlDatabaseExecutor.ExecuteTransactionAsync<TResult>(System.Func<System.Threading.Tasks.Task<TResult>>)