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

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
public static void LoadObjectFromDataSet(
	GeneralizedInfo obj,
	DataSet ds,
	bool disconnectObject,
	List<string> columnsToUpdate = null,
	List<string> excludedColumns = null
)

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)
columnsToUpdate (Optional)
Type: System.Collections.GenericListString
List of columns which will be updated
excludedColumns (Optional)
Type: System.Collections.GenericListString
Columns which will be ignored during the data load even if they are in the provided data
See Also