Sets a collection of literals as a property value on this entity.

Namespace: BrightstarDB.EntityFramework
Assembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)

Syntax

C#
public void SetRelatedLiteralPropertiesCollection<T>(
	string propertyName,
	ICollection<T> value
)
Visual Basic
Public Sub SetRelatedLiteralPropertiesCollection(Of T) ( 
	propertyName As String,
	value As ICollection(Of T)
)
Visual C++
public:
generic<typename T>
void SetRelatedLiteralPropertiesCollection(
	String^ propertyName, 
	ICollection<T>^ value
)
F#
member SetRelatedLiteralPropertiesCollection : 
        propertyName : string * 
        value : ICollection<'T> -> unit 

Parameters

propertyName
Type: System..::..String
Property Name
value
Type: System.Collections.Generic..::..ICollection<(Of <(<'T>)>)>
A collection of literals that are the property value.

Type Parameters

T
The type of the literal

Exceptions

ExceptionCondition
BrightstarDB.EntityFramework..::..EntityFrameworkExceptionThrown if the named property is not mapped.

See Also