ObjectHelperGetObjectsData Method (OperationTypeEnum, GeneralizedInfo, QueryDataParameters, String, String, Boolean, Boolean, TranslationHelper, String, Int32) |
Gets the DataSet of the objects data and their child objects.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax 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.DataEngineOperationTypeEnum
Operation type - infoObj
- Type: CMS.DataEngineGeneralizedInfo
Main info object - parameters
- Type: CMS.DataEngineQueryDataParameters
Parameters for the selection - 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 - siteId (Optional)
- Type: SystemInt32
Site ID
Return Value
Type:
DataSetSee Also