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 MJCZone.DapperMatic.DataAnnotations.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 ​
Method | Summary |
---|---|
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 schema name.
Type: string?
ViewName ​
Gets the view name.
Type: string?
Definition ​
Gets the SQL definition for the view.
Type: string
TypeId ​
Type: object