Skip to content

DapperMaticSettings

Namespace: MJCZone.DapperMatic

Assembly: MJCZone.DapperMatic

Summary

Global settings for DapperMatic behavior across all database providers. These settings can be modified at application startup to customize default behavior.

static public

Contents

Methods (5) | Properties (4)

Methods

ResetToDefaults

Resets all settings to their default values.

csharp
void ResetToDefaults()

GetType

csharp
GetType()

ToString

csharp
ToString()

Equals

csharp
Equals()

GetHashCode

csharp
GetHashCode()

Properties

DefaultStringLength

Gets or sets the default length for string/varchar columns when no length is specified.

Type: int

DefaultBinaryLength

Gets or sets the default length for binary/varbinary columns when no length is specified.

Type: int

DefaultDecimalPrecision

Gets or sets the default precision for decimal/numeric columns when not specified.

Type: int

DefaultDecimalScale

Gets or sets the default scale for decimal/numeric columns when not specified.

Type: int