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

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
public static void LoadObjectFromDataSet(
	TreeNode node,
	DataSet ds,
	bool disconnectObject = true,
	List<string> columnsToUpdate = null,
	List<string> excludedColumns = null
)

Parameters

node
Type: CMS.DocumentEngineTreeNode
TreeNode to load
ds
Type: System.DataDataSet
Dataset with data
disconnectObject (Optional)
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 to update
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