| LLBLGenProODataServiceUpdateProviderAddReferenceToCollection Method  | 
 
            Adds the specified value to the collection.
            
 
    Namespace: 
   SD.LLBLGen.Pro.ODataSupportClasses
    Assembly:
   SD.LLBLGen.Pro.ODataSupportClasses (in SD.LLBLGen.Pro.ODataSupportClasses.dll) Version: 5.1.0.0 (5.1.0)
Syntaxpublic void AddReferenceToCollection(
	Object targetResource,
	string propertyName,
	Object resourceToBeAdded
)
Public Sub AddReferenceToCollection ( 
	targetResource As Object,
	propertyName As String,
	resourceToBeAdded As Object
)
Parameters
- targetResource
 - Type: SystemObject
Target object that defines the property. - propertyName
 - Type: SystemString
The name of the collection property to which the resource should be added.. - resourceToBeAdded
 - Type: SystemObject
The opaque object representing the resource to be added. 
Implements
IUpdatableAddReferenceToCollection(Object, String, Object)
See Also