DocumentHierarchyHelperLoadObjectFromDataSet Method (TreeNode, DataSet, Boolean, Int32, ListString, ListString) |
Loads TreeNode data including collection from a given data set.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax 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