OrganizationServiceContextExtensions.Rollup Method (OrganizationServiceContext, EntityReference, QueryBase, Object)
Applies To: Dynamics CRM 2013
Retrieves all the records related to the specified record (account or contact). This applies to all activity entities, annotation (note), contract, incident (case), invoice, opportunity, quote and sales order (order) entities. (Developer Extensions)
Namespace: Microsoft.Xrm.Client.Messages
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static EntityCollection Rollup(
this OrganizationServiceContext context,
EntityReference target,
QueryBase query,
object rollupType
)
public:
[ExtensionAttribute]
static EntityCollection^ Rollup(
OrganizationServiceContext^ context,
EntityReference^ target,
QueryBase^ query,
Object^ rollupType
)
static member Rollup :
context:OrganizationServiceContext *
target:EntityReference *
query:QueryBase *
rollupType:Object -> EntityCollection
<ExtensionAttribute>
Public Shared Function Rollup (
context As OrganizationServiceContext,
target As EntityReference,
query As QueryBase,
rollupType As Object
) As EntityCollection
Parameters
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
- target
Type: Microsoft.Xrm.Sdk.EntityReference
- query
Type: Microsoft.Xrm.Sdk.Query.QueryBase
- rollupType
Type: System.Object
Return Value
Type: Microsoft.Xrm.Sdk.EntityCollection
Returns EntityCollection.
Remarks
This is a method wrapper for the RollupRequest and RollupResponse classes. See the documentation in the Request class for more information about this message.
See Also
OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2013
Return to top