Class DatabaseConfiguration
Provides agnostic database configuration for the shared data library.
Inheritance
System.Object
DatabaseConfiguration
Implements
Namespace: Paradigm.ORM.Data.Database
Assembly: Paradigm.ORM.Data.dll
Syntax
public class DatabaseConfiguration : object, IDatabaseConfiguration
Constructors
| Improve this Doc View SourceDatabaseConfiguration(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 SourceMaxCommandLength
Gets the maximum size of the command.
Declaration
public int MaxCommandLength { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The maximum size of the command. |
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. |
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. |