Click or drag to resize
DatabaseMappingAttribute Class
Specifies to which database column the property maps. For simple database mappings use DatabaseFieldAttribute instead.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    CMS.DataEngineDatabaseMappingAttribute

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax
C#
public sealed class DatabaseMappingAttribute : Attribute

The DatabaseMappingAttribute type exposes the following members.

Constructors
  NameDescription
Public methodDatabaseMappingAttribute(Boolean)
Constructor
Public methodDatabaseMappingAttribute(String)
Constructor
Top
Properties
  NameDescription
Public propertyExecuteInDB
If true, the member is executed on DB level, if false, then programmatically
Public propertyExpression
Database column name or expression returning boolean value for bool properties. E.g. "NodeID" for int property or "Enabled = 1" for bool property.
Top
See Also