Skip to content

DataTypeInfo

Namespace: MJCZone.DapperMatic.Models

Assembly: MJCZone.DapperMatic

Summary

Internal representation of a database data type with full metadata.

public

Contents

Constructors (1) | Methods (4) | Properties (19)

Constructors

DataTypeInfo

csharp
DataTypeInfo()

Methods

GetType

csharp
GetType()

ToString

csharp
ToString()

Equals

csharp
Equals()

GetHashCode

csharp
GetHashCode()

Properties

DataType

Gets or sets the data type name (e.g., "VARCHAR", "INTEGER", "DECIMAL").

Type: string

Aliases

Gets or sets any aliases for this data type.

Type: List<string>

Category

Gets or sets the data type category.

Type: DataTypeCategory

IsCommon

Gets or sets a value indicating whether this is a commonly used data type.

Type: bool

IsCustom

Gets or sets a value indicating whether this is a custom/user-defined type.

Type: bool

SupportsLength

Gets or sets a value indicating whether this data type supports length specification.

Type: bool

MinLength

Gets or sets the minimum length for this data type (if supported).

Type: int?

MaxLength

Gets or sets the maximum length for this data type (if supported).

Type: int?

DefaultLength

Gets or sets the default length for this data type (if supported).

Type: int?

SupportsPrecision

Gets or sets a value indicating whether this data type supports precision specification.

Type: bool

MinPrecision

Gets or sets the minimum precision for this data type (if supported).

Type: int?

MaxPrecision

Gets or sets the maximum precision for this data type (if supported).

Type: int?

DefaultPrecision

Gets or sets the default precision for this data type (if supported).

Type: int?

SupportsScale

Gets or sets a value indicating whether this data type supports scale specification.

Type: bool

MinScale

Gets or sets the minimum scale for this data type (if supported).

Type: int?

MaxScale

Gets or sets the maximum scale for this data type (if supported).

Type: int?

DefaultScale

Gets or sets the default scale for this data type (if supported).

Type: int?

Description

Gets or sets an optional description or documentation for the data type.

Type: string?

Examples

Gets or sets example values or use cases for this data type.

Type: List<string>?