Поделиться через


Entity Constructor (String, KeyAttributeCollection)

 

Applies To: Dynamics CRM 2015

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,
    KeyAttributeCollection keyAttributes
)
public:
Entity(
    String^ entityName,
    KeyAttributeCollection^ keyAttributes
)
new : 
        entityName:string *
        keyAttributes:KeyAttributeCollection -> Entity
Public Sub New (
    entityName As String,
    keyAttributes As KeyAttributeCollection
)

Parameters

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

© 2016 Microsoft. All rights reserved. Copyright