Class ColumnMappingAttribute
Marks a property on a table row as a special field for the database's use.
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = false)]
public class ColumnMappingAttribute : Attribute, _Attribute
- Inheritance
-
ColumnMappingAttribute
- Implements
- Inherited Members
Constructors
ColumnMappingAttribute(ColumnMappingField)
Initializes a new instance of the ColumnMappingAttribute class.
public ColumnMappingAttribute(ColumnMappingField field)
Parameters
fieldColumnMappingFieldThe type of special field this property is mapped to
Properties
Field
The type of special field this property is mapped to
public ColumnMappingField Field { get; }