Skip to content

DmSchemaRename ​

Namespace: MJCZone.DapperMatic.Models

Assembly: MJCZone.DapperMatic

Summary ​

An element that exists in the database under an earlier name, and is renamed rather than created again.

sealed public

Contents ​

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

Constructors ​

DmSchemaRename ​

Initializes a new instance of the DmSchemaRename class.

csharp
DmSchemaRename(DmSchemaElementType elementType, string oldName, string newName)

Parameters ​

  • elementType (DmSchemaElementType) - The kind of element.
  • oldName (string) - The name it has in the database.
  • newName (string) - The name the model gives it.

Methods ​

ToString ​

Returns a description of the rename.

csharp
string ToString()

Returns ​

Type: string

A description of the rename.

GetType ​

csharp
GetType()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Properties ​

ElementType ​

Gets the kind of element.

Type: DmSchemaElementType

OldName ​

Gets the name the element has in the database.

Type: string

NewName ​

Gets the name the model gives the element.

Type: string