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
)
Public Sub New (
fromFieldName As String,
session As SessionBase,
from As From,
Optional to As BTreeSet(Of To) = Nothing
)
public:
RelationOneToMany(
String^ fromFieldName,
SessionBase^ session,
From from,
BTreeSet<To>^ to = nullptr
)
new :
fromFieldName : string *
session : SessionBase *
from : 'From *
?to : BTreeSet<'To>
(* Defaults:
let _to = defaultArg to null
*)
-> RelationOneToMany
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