EntityFrameworkDataServiceProvider.RemoveReferenceFromCollection Method
Removes the given value from the collection
Namespace: System.Data.Services.Providers
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Public Overridable Sub RemoveReferenceFromCollection ( _
targetResource As Object, _
propertyName As String, _
resourceToBeRemoved As Object _
)
'Usage
Dim instance As EntityFrameworkDataServiceProvider
Dim targetResource As Object
Dim propertyName As String
Dim resourceToBeRemoved As Object
instance.RemoveReferenceFromCollection(targetResource, _
propertyName, resourceToBeRemoved)
public virtual void RemoveReferenceFromCollection(
Object targetResource,
string propertyName,
Object resourceToBeRemoved
)
public:
virtual void RemoveReferenceFromCollection(
Object^ targetResource,
String^ propertyName,
Object^ resourceToBeRemoved
)
abstract RemoveReferenceFromCollection :
targetResource:Object *
propertyName:string *
resourceToBeRemoved:Object -> unit
override RemoveReferenceFromCollection :
targetResource:Object *
propertyName:string *
resourceToBeRemoved:Object -> unit
public function RemoveReferenceFromCollection(
targetResource : Object,
propertyName : String,
resourceToBeRemoved : Object
)
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
- resourceToBeRemoved
Type: System.Object
value of the property which needs to be removed
Implements
IUpdatable.RemoveReferenceFromCollection(Object, String, Object)