Skip to content

DmViewAttribute

Namespace: MJCZone.DapperMatic.DataAnnotations

Assembly: MJCZone.DapperMatic

Summary

Attribute to define a database view.

Inheritance

Base Class: Attribute

sealed public

Contents

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

Constructors

DmViewAttribute

Initializes a new instance of the DmViewAttribute class.

csharp
DmViewAttribute(string definition, string schemaName, string viewName)

Parameters

  • definition (string) - The SQL definition for the view. Use '{0}' to represent the schema name.
  • schemaName (string) - The schema name.
  • viewName (string) - The view name.

Methods

MethodSummary
Equals
GetHashCode
Match
IsDefaultAttribute
GetType
ToString

Equals

csharp
Equals()

GetHashCode

csharp
GetHashCode()

Match

csharp
Match()

IsDefaultAttribute

csharp
IsDefaultAttribute()

GetType

csharp
GetType()

ToString

csharp
ToString()

Properties

SchemaName

Gets the schema name.

Type: string?

ViewName

Gets the view name.

Type: string?

Definition

Gets the SQL definition for the view.

Type: string

TypeId

Type: object