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
)
Public Sub New (
from As From,
to As To,
fromFieldName As String,
toFieldName As String,
session As SessionBase
)
public:
RelationOneToOne(
From from,
To to,
String^ fromFieldName,
String^ toFieldName,
SessionBase^ session
)
new :
from : 'From *
to : 'To *
fromFieldName : string *
toFieldName : string *
session : SessionBase -> RelationOneToOne
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