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
propertyName
Type: System.StringType: String. The name of the property to set.
attributeLogicalName
Type: System.StringType: String. The logical name of the attribute.
value
Type: System.ObjectType: Object. The value of the property.
Type Parameters
- T
Type: Entity. The entity.
See Also
CrmEntity Class
Microsoft.Xrm.Client Namespace
Developer extensions for Microsoft Dynamics CRM 2013
Return to top