Partager via


CrmOrganizationServiceContext.Delete Method (String, Guid)

 

Applies To: Dynamics CRM 2015

Deletes a record. (Developer Extensions)

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

Syntax

public void Delete(
    string entityName,
    Guid id
)
public:
virtual void Delete(
    String^ entityName,
    Guid id
) sealed
abstract Delete : 
        entityName:string *
        id:Guid -> unit
override Delete : 
        entityName:string *
        id:Guid -> unit
Public Sub Delete (
    entityName As String,
    id As Guid
)

Parameters

  • entityName
    Type: System.String

    Type: String. The logical name of the entity specified in the entityId parameter.

Implements

IOrganizationService.Delete(String, Guid)

Remarks

Extends the core implementation of the IOrganizationService.Delete method.

See Also

CrmOrganizationServiceContext Class
Microsoft.Xrm.Client Namespace
Developer extensions for Microsoft Dynamics CRM 2015
Developer extensions context object model (Dynamics CRM 2015)

Return to top

© 2017 Microsoft. All rights reserved. Copyright