Click or drag to resize
DataClassFactory Class
DataClass factory.
Inheritance Hierarchy
SystemObject
  CMS.DataEngineDataClassFactory

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public static class DataClassFactory

The DataClassFactory type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCopyClassData
Copies the data of the DataClass object to another.
Public methodStatic memberCopyOriginalData
Copies the original data of the DataClass object to another.
Public methodStatic memberChangeDefaultDataClassTypeToClassType
Changes the default data class type to specific class
Public methodStatic memberLoadClassData(DataRow, IDataClass)
Loads the data of the DataRow object to the class.
Public methodStatic memberLoadClassData(IDataContainer, IDataClass)
Loads the data of the IDataContainer object to the class.
Public methodStatic memberNewDataClass(String)
Creates new DataClass of the given type
Public methodStatic memberNewDataClass(ClassStructureInfo)
Creates new DataClass of the given type
Public methodStatic memberNewDataClass(String, IDataContainer)
Constructor. Gets a class name and data row. Use it to load an existing item.
Public methodStatic memberNewDataClass(String, DataRow)
Constructor. Gets a class name and data row. Use it to load an existing item.
Public methodStatic memberNewDataClass(String, Int32)
Constructor. Gets a class name and parameters for selecting the item. Use it to load an existing item.
Public methodStatic memberResetDataClassType
Resets the default data class type to specific class
Top
See Also