/// <param name="dataType" /> /// <param name="notNull" /> /// <param name="defaultVal">might be null</param> /// <param name="autoIncrement" /> /// <param name="specialIndex">might be null</param> /// <param name="comment">might be null</param> /// <param name="columnFormat">might be null</param> public ColumnDefinition(DataType dataType, bool notNull, IExpression defaultVal, bool autoIncrement, SpecialIndex specialIndex, LiteralString comment, ColumnFormat columnFormat) { if (dataType == null) { throw new ArgumentException("data type is null"); } DataType = dataType; IsNotNull = notNull; DefaultVal = defaultVal; IsAutoIncrement = autoIncrement; SpecialIndex = specialIndex; Comment = comment; ColumnFormat = columnFormat; }