HierarchyHelper LoadObjectFromXML Method Kentico 8.1 API Reference
Loads objects data including collection from a given XML representation (root of the xml has to be ClassTableName of given object).

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

operation
Type: CMS.DataEngine OperationTypeEnum
Operation type
obj
Type: CMS.DataEngine BaseInfo
Object to load
xml
Type: OnlineSystem String
XML data
disconnectObject (Optional)
Type: OnlineSystem Boolean
If true, object collections are disconnected (collections won't load data automatically from the DB, just from dataset)
updateMode (Optional)
Type: OnlineSystem Boolean
If true, only column contained in the XML are loaded (columns which are not contained are not set to null)
cultureName (Optional)
Type: OnlineSystem String
Name of the culture to use for parsing double and datetime values
excludedColumns (Optional)
Type: OnlineSystem.Collections.Generic List OnlineString 
Columns which will be ignored during the data load even if they are in the provided data

Return Value

Type: TranslationHelper
Translation helper
See Also