OrganizationServiceContextExtensions.CompoundCreate Method (OrganizationServiceContext, Entity, EntityCollection)

 

Applies To: Dynamics CRM 2015

Deprecated. Creates a compound entity (salesorder, invoice, quote, or duplicaterule) and its related entity (salesorderdetail, invoicedetail, quotedetail, or duplicaterulecondition). Use Create. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client.Messages
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public static Guid CompoundCreate(
    this OrganizationServiceContext context,
    Entity entity,
    EntityCollection childEntities
)
public:
[ExtensionAttribute]
static Guid CompoundCreate(
    OrganizationServiceContext^ context,
    Entity^ entity,
    EntityCollection^ childEntities
)
static member CompoundCreate : 
        context:OrganizationServiceContext *
        entity:Entity *
        childEntities:EntityCollection -> Guid
<ExtensionAttribute>
Public Shared Function CompoundCreate (
    context As OrganizationServiceContext,
    entity As Entity,
    childEntities As EntityCollection
) As Guid

Parameters

Return Value

Type: System.Guid

Returns Guid.

Remarks

This is a method wrapper for the CompoundCreateRequest and CompoundCreateResponse 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