RelationManyToManyFrom, To Constructor |
Use for many to many relations
Namespace:
VelocityDb.TypeInfo
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public RelationManyToMany(
string fromFieldName,
string toFieldName,
SessionBase session,
BTreeSet<From> from = null,
BTreeSet<To> to = null
)
Public Sub New (
fromFieldName As String,
toFieldName As String,
session As SessionBase,
Optional from As BTreeSet(Of From) = Nothing,
Optional to As BTreeSet(Of To) = Nothing
)
public:
RelationManyToMany(
String^ fromFieldName,
String^ toFieldName,
SessionBase^ session,
BTreeSet<From>^ from = nullptr,
BTreeSet<To>^ to = nullptr
)
new :
fromFieldName : string *
toFieldName : string *
session : SessionBase *
?from : BTreeSet<'From> *
?to : BTreeSet<'To>
(* Defaults:
let _from = defaultArg from null
let _to = defaultArg to null
*)
-> RelationManyToMany
Parameters
- fromFieldName
- Type: SystemString
Field name in from object that references this relation - toFieldName
- Type: SystemString
Field name in to object that references this relation - session
- Type: VelocityDb.SessionSessionBase
The active session - from (Optional)
- Type: VelocityDb.Collection.BTreeBTreeSetFrom
Collection of From objects. If null, default BTreeSetKey is created. - to (Optional)
- Type: VelocityDb.Collection.BTreeBTreeSetTo
Collection of To objects. If null, default is created.
See Also