Class PromotionInfo
Data container class for PromotionInfo.
[InfoCache(InfoCacheBy.ID|InfoCacheBy.Name|InfoCacheBy.Guid)]
public class PromotionInfo : AbstractInfo<PromotionInfo, IInfoProvider<PromotionInfo>>, IExtensible, IInfo, IAdvancedDataContainer, ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, IMacroObject, IInfoWithId, IInfoWithName, IInfoWithGuid
- Inheritance
-
objectPromotionInfo
- Implements
- Inherited Members
- Extension Methods
Constructors
PromotionInfo()
Creates an empty instance of the PromotionInfo class.
public PromotionInfo()
PromotionInfo(DataRow)
Creates a new instance of the PromotionInfo class from the given System.Data.DataRow.
public PromotionInfo(DataRow dr)
Parameters
drDataRowDataRow with the object data.
Fields
OBJECT_TYPE
Object type.
public const string OBJECT_TYPE = "commerce.promotion"
Field Value
- string
TYPEINFO
Type information.
public static readonly ObjectTypeInfo TYPEINFO
Field Value
Properties
PromotionActiveFromWhen
Promotion active from when.
[DatabaseField]
public virtual DateTime? PromotionActiveFromWhen { get; set; }
Property Value
- DateTime?
PromotionActiveToWhen
Promotion active to when.
[DatabaseField]
public virtual DateTime? PromotionActiveToWhen { get; set; }
Property Value
- DateTime?
PromotionCreatedByUserID
Promotion created by user ID.
[DatabaseField]
public virtual int PromotionCreatedByUserID { get; set; }
Property Value
- int
PromotionCreatedWhen
Promotion created when.
[DatabaseField]
public virtual DateTime PromotionCreatedWhen { get; set; }
Property Value
- DateTime
PromotionDescription
Promotion description.
[DatabaseField]
public virtual string PromotionDescription { get; set; }
Property Value
- string
PromotionDisplayName
Promotion display name.
[DatabaseField]
public virtual string PromotionDisplayName { get; set; }
Property Value
- string
PromotionGUID
Promotion GUID.
[DatabaseField]
public virtual Guid PromotionGUID { get; set; }
Property Value
- Guid
PromotionID
Promotion ID.
[DatabaseField]
public virtual int PromotionID { get; set; }
Property Value
- int
PromotionModifiedByUserID
Promotion modified by user ID.
[DatabaseField]
public virtual int PromotionModifiedByUserID { get; set; }
Property Value
- int
PromotionModifiedWhen
Promotion modified when.
[DatabaseField]
public virtual DateTime PromotionModifiedWhen { get; set; }
Property Value
- DateTime
PromotionName
Promotion name.
[DatabaseField]
public virtual string PromotionName { get; set; }
Property Value
- string
PromotionRuleIdentifier
Promotion rule identifier.
[DatabaseField]
public virtual string PromotionRuleIdentifier { get; set; }
Property Value
- string
PromotionType
Promotion type.
[DatabaseField(ValueType = typeof(string))]
public virtual PromotionType PromotionType { get; set; }
Property Value
Methods
DeleteObject()
Deletes the object using appropriate provider.
protected override void DeleteObject()
SetObject()
Updates the object using appropriate provider.
protected override void SetObject()