Skip to content

DefaultConstraintDto

Namespace: MJCZone.DapperMatic.AspNetCore.Models.Dtos

Assembly: MJCZone.DapperMatic.AspNetCore

Summary

Data transfer object representing a default constraint.

public

Contents

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

Constructors

DefaultConstraintDto

csharp
DefaultConstraintDto()

Methods

GetType

csharp
GetType()

ToString

csharp
ToString()

Equals

csharp
Equals()

GetHashCode

csharp
GetHashCode()

Properties

ConstraintName

Gets or sets the constraint name. If not provided, a default name will be generated.

Type: string?

ColumnName

Gets or sets the column name to apply the default constraint to.

Type: string?

DefaultExpression

Gets or sets the default value expression.

Type: string?