HierarchyHelper LoadObjectFromDataSet Method (GeneralizedInfo, DataSet, Boolean, Int32, List String , List String )Kentico 8.0 API Reference
Loads object data including collection from a given data set.

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

Parameters

obj
Type: CMS.DataEngine GeneralizedInfo
Object to load
ds
Type: OnlineSystem.Data DataSet
Dataset with data
disconnectObject
Type: OnlineSystem Boolean
If true, object collections are disconnected (collections won't load data automatically from the DB, just from dataset)
id
Type: OnlineSystem Int32
ID of the object to identify it within the DataSet
columnsToUpdate
Type: OnlineSystem.Collections.Generic List OnlineString 
List of columns which will be updated
excludedColumns
Type: OnlineSystem.Collections.Generic List OnlineString 
Columns which will be ignored during the data load even if they are in the provided data
See Also