Click or drag to resize

RelationOneToManyFrom, To Constructor

Creates the relations between From and To objects.

Namespace:  VelocityDb.TypeInfo
Assembly:  VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax
public RelationOneToMany(
	string fromFieldName,
	SessionBase session,
	From from,
	BTreeSet<To> to = null
)

Parameters

fromFieldName
Type: SystemString
Field name in from object that references this relation
session
Type: VelocityDb.SessionSessionBase
The active session
from
Type: From
From object
to (Optional)
Type: VelocityDb.Collection.BTreeBTreeSetTo
Collection of To objects. If null, default BTreeSetKey is created.
See Also