Show / Hide Table of Contents

Class DatabaseConfiguration

Provides agnostic database configuration for the shared data library.

Inheritance
System.Object
DatabaseConfiguration
Implements
IDatabaseConfiguration
Namespace: Paradigm.ORM.Data.Database
Assembly: Paradigm.ORM.Data.dll
Syntax
public class DatabaseConfiguration : object, IDatabaseConfiguration

Constructors

| Improve this Doc View Source

DatabaseConfiguration(Int32, Int32, Int32)

Declaration
public DatabaseConfiguration(int maxCommandsPerBatch, int maxParametersPerCommand, int maxCommandSize)
Parameters
Type Name Description
System.Int32 maxCommandsPerBatch
System.Int32 maxParametersPerCommand
System.Int32 maxCommandSize

Properties

| Improve this Doc View Source

MaxCommandLength

Gets the maximum size of the command.

Declaration
public int MaxCommandLength { get; }
Property Value
Type Description
System.Int32

The maximum size of the command.

| Improve this Doc View Source

MaxCommandsPerBatch

Gets the maximum number of commands per batch that the database supports.

Declaration
public int MaxCommandsPerBatch { get; }
Property Value
Type Description
System.Int32

The commands per batch.

| Improve this Doc View Source

MaxParametersPerCommand

Gets the maximum number of parameters per command that the database supports.

Declaration
public int MaxParametersPerCommand { get; }
Property Value
Type Description
System.Int32

The parameters per command.

Implements

IDatabaseConfiguration

Extension Methods

ObjectExtensions.ThrowIfFails<TException>(Object, Action, String)
ObjectExtensions.ThrowIfFails<TException, TResult>(Object, Func<TResult>, String)
ObjectExtensions.ThrowIfFailsAsync<TException>(Object, Func<Task>, String)
ObjectExtensions.ThrowIfFailsAsync<TException, TResult>(Object, Func<Task<TResult>>, String)

See Also

IDatabaseConfiguration
  • Improve this Doc
  • View Source
Powered by MiracleDevs ©2017. Code licensed under the MIT License.
Documentation generated by DocFX.