Example #1
0
        private void AddColumn(ColumnDTO column)
        {
            if (column == null)
            {
                throw new ArgumentNullException(nameof(column));
            }

            _columns.Add(column);
        }
Example #2
0
 public bool IsDifferentFrom(ColumnDTO column)
 {
     return(DefaultValue != column.DefaultValue || IsNullable != column.IsNullable || DataType != column.DataType || MaxLength != column.MaxLength ||
            NumericPrecision != column.NumericPrecision || NumericRadix != column.NumericRadix || NumericScale != column.NumericScale || DateTimePrecision != column.DateTimePrecision ||
            Collation != column.Collation);
 }