ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.QueryDesigner Assembly / GrapeCity.ActiveReports.QueryDesigner.Implementation.Data.SchemaModel Namespace / ForeignKey Class / ForeignKey Constructor
The source Table.
The destination Table.
The collection of the Column that defines a source table.
The collection of the Column that defines a destination table.

In This Topic
    ForeignKey Constructor
    In This Topic
    Initializes a new instance of the ForeignKey class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal source As Table, _
       ByVal destination As Table, _
       ByVal sourceColumns As IEnumerable(Of Column), _
       ByVal destinationColumns As IEnumerable(Of Column) _
    )

    Parameters

    source
    The source Table.
    destination
    The destination Table.
    sourceColumns
    The collection of the Column that defines a source table.
    destinationColumns
    The collection of the Column that defines a destination table.
    Exceptions
    ExceptionDescription
    Thrown if one of the arguments source, destination, sourceColumns, destinationColumns is null.
    See Also