EntityReference Constructor

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Initializes a new instance of the EntityReference class.

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

Overload List

Name Description
System_CAPS_pubmethod EntityReference()

Initializes a new instance of the EntityReference class.

System_CAPS_pubmethod EntityReference(String)

Initializes a new instance of the EntityReference class.

System_CAPS_pubmethod EntityReference(String, Guid)

Initializes a new instance of the EntityReference class setting the logical name and entity ID.

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

System_CAPS_pubmethod EntityReference(String, KeyAttributeCollection)

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.

System_CAPS_pubmethod EntityReference(String, String, Object)

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.

See Also

EntityReference Class
Microsoft.Xrm.Sdk Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright