EntityReference Constructor (String, KeyAttributeCollection)

 

Applies To: Dynamics CRM 2015

Initializes a new instance of the EntityReference class.

This constructor was introduced with Microsoft Dynamics CRM Online 2015 Update 1 and cannot be used with earlier versions.

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

Syntax

public EntityReference(
    string logicalName,
    KeyAttributeCollection keyAttributeCollection
)
public:
EntityReference(
    String^ logicalName,
    KeyAttributeCollection^ keyAttributeCollection
)
new : 
        logicalName:string *
        keyAttributeCollection:KeyAttributeCollection -> EntityReference
Public Sub New (
    logicalName As String,
    keyAttributeCollection As KeyAttributeCollection
)

Parameters

  • logicalName
    Type: System.String

    Specifies the entity logical name.

Remarks

This constructor was introduced with Microsoft Dynamics CRM Online 2015 Update 1 and cannot be used with earlier versions.

See Also

EntityReference Overload
EntityReference Class
Microsoft.Xrm.Sdk Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright