Share via


CrmEntity.SetPrimaryIdAttributeValue<T> Method (String, String, Object)

 

Applies To: Dynamics CRM 2013

Modifies the value of a primary key attribute.

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

Syntax

protected virtual void SetPrimaryIdAttributeValue<T>(
    string propertyName,
    string attributeLogicalName,
    object value
)
protected:
generic<typename T>
virtual void SetPrimaryIdAttributeValue(
    String^ propertyName,
    String^ attributeLogicalName,
    Object^ value
)
abstract SetPrimaryIdAttributeValue<'T> : 
        propertyName:string *
        attributeLogicalName:string *
        value:Object -> unit
override SetPrimaryIdAttributeValue<'T> : 
        propertyName:string *
        attributeLogicalName:string *
        value:Object -> unit
Protected Overridable Sub SetPrimaryIdAttributeValue(Of T) (
    propertyName As String,
    attributeLogicalName As String,
    value As Object
)

Parameters

Type Parameters

See Also

CrmEntity Class
Microsoft.Xrm.Client Namespace
Developer extensions for Microsoft Dynamics CRM 2013

Return to top