Class AlternativeFormInfo
- Namespace
- CMS.FormEngine
- Assembly
- CMS.FormEngine.dll
AlternativeFormInfo data container class.
[InfoCache(InfoCacheBy.ID|InfoCacheBy.FullName, Priority = InfoCachePriority.NotRemovable)]
public class AlternativeFormInfo : AbstractInfo<AlternativeFormInfo>, IExtensible, IInfo, IAdvancedDataContainer, ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, IMacroObject
- Inheritance
-
objectAlternativeFormInfo
- Implements
- Inherited Members
- Extension Methods
Constructors
AlternativeFormInfo()
Constructor - Creates an empty AlternativeFormInfo object.
public AlternativeFormInfo()
AlternativeFormInfo(DataRow)
Constructor - Creates a new AlternativeFormInfo object from the given DataRow.
public AlternativeFormInfo(DataRow dr)
Parameters
dr
DataRow
Fields
OBJECT_TYPE
Object type
public const string OBJECT_TYPE = "cms.alternativeform"
Field Value
- string
TYPEINFO
Type information.
public static ObjectTypeInfo TYPEINFO
Field Value
Properties
FormClassID
Form class ID.
[DatabaseField]
public virtual int FormClassID { get; set; }
Property Value
- int
FormCoupledClassID
Form coupled class ID.
[DatabaseField]
public virtual int FormCoupledClassID { get; set; }
Property Value
- int
FormDefinition
Form definition.
[DatabaseField]
public virtual string FormDefinition { get; set; }
Property Value
- string
FormDisplayName
Form display name.
[DatabaseField]
public virtual string FormDisplayName { get; set; }
Property Value
- string
FormGUID
Form GUID.
[DatabaseField]
public virtual Guid FormGUID { get; set; }
Property Value
- Guid
FormID
ID of the form.
[DatabaseField]
public virtual int FormID { get; set; }
Property Value
- int
FormIsCustom
Form 'Is custom' flag.
[DatabaseField]
public virtual bool FormIsCustom { get; set; }
Property Value
- bool
FormLastModified
Form last modified DateTime.
[DatabaseField]
public virtual DateTime FormLastModified { get; set; }
Property Value
- DateTime
FormName
Form code name.
[DatabaseField]
public virtual string FormName { get; set; }
Property Value
- string
FullName
Alternative form full name ("classname"."formname").
public virtual string FullName { get; }
Property Value
- string
ObjectFullName
Object full name if defined
protected override string ObjectFullName { get; }
Property Value
- string
Methods
DeleteObject()
Deletes the object using appropriate provider.
protected override void DeleteObject()
GetAutomaticCodeName()
Gets the automatic code name for the object.
protected override string GetAutomaticCodeName()
Returns
- string
SetObject()
Updates the object using appropriate provider.
protected override void SetObject()
Validate()
Uses the AlternativeFormInfoProvider's validation method to validate this info object.
protected override InfoValidationResult Validate()