Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Initializes a new instance of the Entity class.
This 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 Entity(
    string entityName,
    Guid id
)
Public Sub New (
    entityName As String,
    id As Guid
)
Parameters
- entityName 
 Type: System.String- Specifies the entity name. 
- id 
 Type: System.Guid- Specifies the ID of the record. 
Remarks
This was introduced with Microsoft Dynamics CRM Online 2015 Update 1 and cannot be used with earlier versions.
See Also
Entity Overload
Entity Class
Microsoft.Xrm.Sdk Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright