Skip to content

TableDto ​

Namespace: MJCZone.DapperMatic.AspNetCore.Models.Dtos

Assembly: MJCZone.DapperMatic.AspNetCore

Summary ​

Data transfer object representing a database table optimized for API responses. Properties are nullable to support partial updates via PUT/PATCH operations.

public

Contents ​

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

Constructors ​

TableDto ​

csharp
TableDto()

Methods ​

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Properties ​

SchemaName ​

Gets or sets the schema name of the table.

Type: string?

TableName ​

Gets or sets the name of the table.

Type: string?

Columns ​

Gets or sets the columns of the table.

Type: List<ColumnDto>?

PrimaryKeyConstraint ​

Gets or sets the primary key constraint of the table.

Type: PrimaryKeyConstraintDto?

CheckConstraints ​

Gets or sets the check constraints of the table.

Type: List<CheckConstraintDto>?

DefaultConstraints ​

Gets or sets the default constraints of the table.

Type: List<DefaultConstraintDto>?

UniqueConstraints ​

Gets or sets the unique constraints of the table.

Type: List<UniqueConstraintDto>?

ForeignKeyConstraints ​

Gets or sets the foreign key constraints of the table.

Type: List<ForeignKeyConstraintDto>?

Indexes ​

Gets or sets the indexes of the table.

Type: List<IndexDto>?