다음을 통해 공유


OrganizationServiceContextExtensions.InitializeFrom Method (OrganizationServiceContext, EntityReference, String, Object)

 

Applies To: Dynamics CRM 2013

Initializes a new record from an existing record. (Developer Extensions)

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

Syntax

public static Entity InitializeFrom(
    this OrganizationServiceContext context,
    EntityReference entityMoniker,
    string targetEntityName,
    object targetFieldType
)
public:
[ExtensionAttribute]
static Entity^ InitializeFrom(
    OrganizationServiceContext^ context,
    EntityReference^ entityMoniker,
    String^ targetEntityName,
    Object^ targetFieldType
)
static member InitializeFrom : 
        context:OrganizationServiceContext *
        entityMoniker:EntityReference *
        targetEntityName:string *
        targetFieldType:Object -> Entity
<ExtensionAttribute>
Public Shared Function InitializeFrom (
    context As OrganizationServiceContext,
    entityMoniker As EntityReference,
    targetEntityName As String,
    targetFieldType As Object
) As Entity

Parameters

Return Value

Type: Microsoft.Xrm.Sdk.Entity

Returns Entity.

Remarks

This is a method wrapper for the InitializeFromRequest and InitializeFromResponse 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 2013

Return to top