Skip to content

DmTableAttribute ​

Namespace: MJCZone.DapperMatic.DataAnnotations

Assembly: MJCZone.DapperMatic

Summary ​

Attribute to define the table name and schema for a class.

Inheritance ​

Base Class: Attribute

sealed public

Contents ​

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

Constructors ​

DmTableAttribute ​

Initializes a new instance of the MJCZone.DapperMatic.DataAnnotations.DmTableAttribute class.

csharp
DmTableAttribute(string schemaName, string tableName)

Parameters ​

  • schemaName (string) - The name of the schema.
  • tableName (string) - The name of the table.

Methods ​

MethodSummary
Equals
GetHashCode
Match
IsDefaultAttribute
GetType
ToString

Equals ​

csharp
void Equals()

GetHashCode ​

csharp
void GetHashCode()

Match ​

csharp
void Match()

IsDefaultAttribute ​

csharp
void IsDefaultAttribute()

GetType ​

csharp
void GetType()

ToString ​

csharp
void ToString()

Properties ​

SchemaName ​

Gets the name of the schema.

Type: string?

TableName ​

Gets the name of the table.

Type: string?

TypeId ​

Type: object