EntityFrameworkDataServiceProvider.AddReferenceToCollection Method

Adds the given value to the collection

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

public virtual void AddReferenceToCollection(
	Object targetResource,
	string propertyName,
	Object resourceToBeAdded
)

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
resourceToBeAdded
Type: System.Object
value of the property which needs to be added

Implements

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