AbstractInfoProviderTInfo, TProvider, TQueryGetSiteWhereCondition Method |
Gets the where condition to limit the objects to specific site.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax public virtual WhereCondition GetSiteWhereCondition(
int siteId,
bool combine = false
)
Parameters
- siteId
- Type: SystemInt32
Site ID to filter by - combine (Optional)
- Type: SystemBoolean
True - both site and global objects are included. False - only site objects are included
Return Value
Type:
WhereConditionSee Also