Class ClassCodeGenerationSettings
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Represents the code generation configuration for the data class.
public class ClassCodeGenerationSettings : IStructuredData
- Inheritance
-
objectClassCodeGenerationSettings
- Implements
- Extension Methods
Constructors
ClassCodeGenerationSettings()
Creates a settings object.
public ClassCodeGenerationSettings()
ClassCodeGenerationSettings(string)
Creates a settings object and initializes it using the given XML representation.
public ClassCodeGenerationSettings(string xml)
Parameters
xml
string
Properties
BinaryColumn
Gets or sets the name of the binary column.
public string BinaryColumn { get; set; }
Property Value
- string
CodeNameColumn
Gets or sets the name of the code name column.
public string CodeNameColumn { get; set; }
Property Value
- string
DisplayNameColumn
Gets or sets the name of the display name column.
public string DisplayNameColumn { get; set; }
Property Value
- string
GuidColumn
Gets or sets the name of the GUID column.
public string GuidColumn { get; set; }
Property Value
- string
LastModifiedColumn
Gets or sets the name of the "last modified" column.
public string LastModifiedColumn { get; set; }
Property Value
- string
NameSpace
Gets or sets the namespace of generated files.
public string NameSpace { get; set; }
Property Value
- string
ObjectType
Gets or sets the object type.
public string ObjectType { get; set; }
Property Value
- string
UseGuidHashtable
Gets or sets a value that indicates if the code should use the GUID hashtable.
public bool UseGuidHashtable { get; set; }
Property Value
- bool
UseIdHashtable
Gets or sets a value that indicates if the code should use the ID hashtable.
public bool UseIdHashtable { get; set; }
Property Value
- bool
UseNameHashtable
Gets or sets a value that indicates if the code should use the name hashtable.
public bool UseNameHashtable { get; set; }
Property Value
- bool
Methods
GetXmlElement(XmlDocument)
Gets the XML element for the data
public XmlElement GetXmlElement(XmlDocument doc)
Parameters
doc
XmlDocumentParent XML document
Returns
- XmlElement
LoadFromXmlElement(XmlElement)
Loads the data from the given XML element
public void LoadFromXmlElement(XmlElement element)
Parameters
element
XmlElementXML element
ToString()
Returns an XML representation of the settings as string.
public override string ToString()
Returns
- string