Class ColumnAttribute
Indicates that the property maps to a database column.
Inheritance
System.Object
ColumnAttribute
Namespace: Paradigm.ORM.Data.Attributes
Assembly: Paradigm.ORM.Data.dll
Syntax
public class ColumnAttribute : Attribute
Constructors
| Improve this Doc View SourceColumnAttribute()
Initializes a new instance of the ColumnAttribute class.
Declaration
public ColumnAttribute()
ColumnAttribute(String, String)
Initializes a new instance of the ColumnAttribute class.
Declaration
public ColumnAttribute(string name, string type)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the column. |
System.String | type | The type of the column. |
Properties
| Improve this Doc View SourceName
Gets or sets the name of the column.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
Gets or sets the type of the column.
Declaration
public string Type { get; set; }
Property Value
Type | Description |
---|---|
System.String |