Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​ComponentModel.​DataAnnotations.​Schema.​ColumnAttribute
Assembly: System.ComponentModel.Annotations
Inheritance: object → Attribute → ColumnAttribute
Represents the database column that a property is mapped to.
Properties
public
string
Name
Gets the name of the column the property is mapped to.
public
int
Order
Gets or sets the zero-based order of the column the property is mapped to.
public
string
TypeName
Gets or sets the database provider specific data type of the column the property is mapped to.
public
object
TypeId
Methods
protected
void
Finalize​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object