[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.QueryDesigner.Implementation.Data.SchemaModel.DataSchema.-ctor

DataSchema Constructor

DataSchema(IEnumerable<Table>, IEnumerable<ForeignKey>)

Initializes a new instance of the DataSchema class.

Declaration
public DataSchema(IEnumerable<Table> tables, IEnumerable<ForeignKey> foreighKeys)
Parameters
Type Name Description
IEnumerable<Table> tables

A collection of the Table representing the tables of the data schema.

IEnumerable<ForeignKey> foreighKeys

A collection of the ForeignKey representing the relationship between tables.

Exceptions
Type Condition
ArgumentNullException

Thrown if tables or foreighKeys is null.