Sets the collection of related entities for a specific property
Namespace: BrightstarDB.EntityFrameworkAssembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)
Syntax
C# |
---|
void SetRelatedObjects<T>(
string propertyName,
ICollection<T> relatedObjects
)
where T : class
|
Visual Basic |
---|
Sub SetRelatedObjects(Of T As Class) (
propertyName As String,
relatedObjects As ICollection(Of T)
) |
Visual C++ |
---|
generic<typename T>
where T : ref class
void SetRelatedObjects(
String^ propertyName,
ICollection<T>^ relatedObjects
) |
F# |
---|
abstract SetRelatedObjects :
propertyName : string *
relatedObjects : ICollection<'T> -> unit when 'T : not struct
|
Parameters
- propertyName
- Type: System..::..String
The name of the property to be updated
- relatedObjects
- Type: System.Collections.Generic..::..ICollection<(Of <(<'T>)>)>
The new collection of related entities
Type Parameters
- T
- The related entity type
See Also