[]
        
(Showing Draft Content)

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

Column Constructor

Column(string, Type, bool)

Initializes a new instance of the Column class with the specified name, data type and schema.

Declaration
public Column(string name, Type dataType, bool isPrimaryKey)
Parameters
Type Name Description
string name

A string value indicating the name of the column.

Type dataType

A Type object representing the data type of the column.

bool isPrimaryKey

A bool value indicating whether the column is included in the primary key.

Exceptions
Type Condition
ArgumentNullException

Thrown if name or dataType is null.