EntityFrameworkDataServiceProvider.SetReference Method

Sets the value of the given reference property on the target object

Namespace:  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

public virtual void SetReference(
	Object targetResource,
	string propertyName,
	Object propertyValue
)

Parameters

targetResource
Type: System.Object
target object which defines the property
propertyName
Type: System.String
name of the property whose value needs to be updated
propertyValue
Type: System.Object
value of the property

Implements

IUpdatable.SetReference(Object, String, Object)
Show: