Partager via


OrganizationServiceContextExtensions.Detach Method (OrganizationServiceContext, IEnumerable<Entity>)

 

Applies To: Dynamics CRM 2015

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

Syntax

public static bool Detach(
    this OrganizationServiceContext context,
    IEnumerable<Entity> entities
)
public:
[ExtensionAttribute]
static bool Detach(
    OrganizationServiceContext^ context,
    IEnumerable<Entity^>^ entities
)
static member Detach : 
        context:OrganizationServiceContext *
        entities:IEnumerable<Entity> -> bool
<ExtensionAttribute>
Public Shared Function Detach (
    context As OrganizationServiceContext,
    entities As IEnumerable(Of Entity)
) As Boolean

Parameters

Return Value

Type: System.Boolean

Type: Boolean
.

Remarks

This is an extension to the core Detach method.

See Also

OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client Namespace
Developer extensions for Microsoft Dynamics CRM 2015
Attach entities to the context (Dynamics CRM 2015)

Return to top

© 2017 Microsoft. All rights reserved. Copyright