Click or drag to resize

RelationOneToOneFrom, 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 RelationOneToOne(
	From from,
	To to,
	string fromFieldName,
	string toFieldName,
	SessionBase session
)

Parameters

from
Type: From
From object
to
Type: To
to object
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
See Also