Click or drag to resize
HierarchyHelperLoadObjectFromDataSet Method (GeneralizedInfo, DataSet, Boolean, Int32, ListString, ListString)
Loads object data including collection from a given data set.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
protected static void LoadObjectFromDataSet(
	GeneralizedInfo obj,
	DataSet ds,
	bool disconnectObject,
	int id,
	List<string> columnsToUpdate,
	List<string> excludedColumns
)

Parameters

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