Invoked by the generated class to change the value of a property whose type is another entity

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

Syntax

C#
void SetRelatedObject<T>(
	string propertyName,
	T value
)
where T : class
Visual Basic
Sub SetRelatedObject(Of T As Class) ( 
	propertyName As String,
	value As T
)
Visual C++
generic<typename T>
where T : ref class
void SetRelatedObject(
	String^ propertyName, 
	T value
)
F#
abstract SetRelatedObject : 
        propertyName : string * 
        value : 'T -> unit  when 'T : not struct

Parameters

propertyName
Type: System..::..String
The name of the property that represents the relationship
value
Type: T
The new related entity

Type Parameters

T
The type of the related entity

See Also