Click or drag to resize
ObjectHelper.GetObjectsData Method (OperationTypeEnum, GeneralizedInfo, QueryDataParameters, String, String, Boolean, Boolean, TranslationHelper,String[], Int32)
Gets the DataSet of the objects data and their child objects.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax
C#
public static DataSet GetObjectsData(
	OperationTypeEnum operation,
	GeneralizedInfo infoObj,
	QueryDataParameters parameters,
	string where,
	string orderBy,
	bool childData,
	bool binaryData,
	TranslationHelper th,
	string[] excludedNames = null,
	int siteId = 0
)

Parameters

operation
Type: CMS.DataEngine.OperationTypeEnum
Operation type
infoObj
Type: CMS.DataEngine.GeneralizedInfo
Main info object
parameters
Type: CMS.DataEngine.QueryDataParameters
Parameters for the selection
where
Type: System.String
Where condition
orderBy
Type: System.String
Order by columns for the main objects
childData
Type: System.Boolean
If true, child objects data are included
binaryData
Type: System.Boolean
If true, binary data are included
th
Type: CMS.DataEngine.TranslationHelper
Translation table to initialize with data bindings
excludedNames (Optional)
Type:System.String[]
Objects with codename or display name starting with these names will be filtered out
siteId (Optional)
Type: System.Int32
Site ID

Return Value

Type: DataSet
See Also