OrganizationServiceContextExtensions.ReAttach Method (OrganizationServiceContext, Entity)


Applies To: Dynamics CRM 2015

Resets the EntityState of an entity before attaching it to the context.

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


public static void ReAttach(
    this OrganizationServiceContext context,
    Entity entity
static void ReAttach(
    OrganizationServiceContext^ context,
    Entity^ entity
static member ReAttach : 
        context:OrganizationServiceContext *
        entity:Entity -> unit
Public Shared Sub ReAttach (
    context As OrganizationServiceContext,
    entity As Entity


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