OrganizationServiceContextExtensions.CompoundUpdate Method (OrganizationServiceContext, Entity, EntityCollection)
Applies To: Dynamics CRM 2015
Deprecated. Updates a compound record (salesorder, invoice, quote or duplicaterule) and its related detail record (salesorderdetail, invoicedetail, quotedetail or duplicaterulecondition). Use Update. (Developer Extensions)
Namespace: Microsoft.Xrm.Client.Messages
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static void CompoundUpdate(
this OrganizationServiceContext context,
Entity entity,
EntityCollection childEntities
)
public:
[ExtensionAttribute]
static void CompoundUpdate(
OrganizationServiceContext^ context,
Entity^ entity,
EntityCollection^ childEntities
)
static member CompoundUpdate :
context:OrganizationServiceContext *
entity:Entity *
childEntities:EntityCollection -> unit
<ExtensionAttribute>
Public Shared Sub CompoundUpdate (
context As OrganizationServiceContext,
entity As Entity,
childEntities As EntityCollection
)
Parameters
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
- entity
Type: Microsoft.Xrm.Sdk.Entity
- childEntities
Type: Microsoft.Xrm.Sdk.EntityCollection
Remarks
This is a method wrapper for the CompoundUpdateRequest and CompoundUpdateResponse 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 2015
Return to top
© 2017 Microsoft. All rights reserved. Copyright