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

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 10.0.0
Syntax
C#
protected static void LoadObjectFromDataSet(
	TreeNode node,
	DataSet ds,
	bool disconnectNode,
	int id,
	List<string> columnsToUpdate,
	List<string> excludedColumns
)

Parameters

node
Type: CMS.DocumentEngineTreeNode
TreeNode to load
ds
Type: System.DataDataSet
Dataset with data
disconnectNode
Type: SystemBoolean
If true, node 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