DataClassFactory MembersKentico 8.1 API Reference
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 memberChangeDefaultDataClassTypeTo ClassType 
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
Back to Top
See Also