Click or drag to resize
ObjectHelperGetObjectsData Method (OperationTypeEnum, BaseInfo, String, String, Boolean, Boolean, TranslationHelper, String)
Gets the DataSet of the objects data and their child objects.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public static DataSet GetObjectsData(
	OperationTypeEnum operation,
	BaseInfo infoObj,
	string where,
	string orderBy,
	bool childData,
	bool binaryData,
	TranslationHelper th,
	string[] excludedNames = null
)

Parameters

operation
Type: CMS.DataEngineOperationTypeEnum
Operation type
infoObj
Type: CMS.DataEngineBaseInfo
Main info object
where
Type: SystemString
Where condition
orderBy
Type: SystemString
Order by columns for the main objects
childData
Type: SystemBoolean
If true, child objects data are included
binaryData
Type: SystemBoolean
If true, binary data are included
th
Type: CMS.DataEngineTranslationHelper
Translation table to initialize with data bindings
excludedNames (Optional)
Type: SystemString
Objects with codename or display name starting with these names will be filtered out

Return Value

Type: DataSet
See Also