Class DatabaseFieldAttribute
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Specifies to which database column the property maps
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public class DatabaseFieldAttribute : Attribute
- Inheritance
-
objectAttributeDatabaseFieldAttribute
- Derived
- Extension Methods
Constructors
DatabaseFieldAttribute()
Constructor
public DatabaseFieldAttribute()
DatabaseFieldAttribute(string)
Constructor
public DatabaseFieldAttribute(string colName)
Parameters
colName
stringDatabase column name
Properties
ColumnName
Database column name
public string ColumnName { get; set; }
Property Value
- string
ValueType
Type representing the stored value
public Type ValueType { get; set; }
Property Value
- Type