예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Column" /> class.
 /// </summary>
 /// <param name="name">The name.</param>
 /// <param name="type">The type.</param>
 /// <param name="precision">The precision.</param>
 /// <param name="scale">The scale.</param>
 /// <param name="null">if set to <c>true</c> [null].</param>
 /// <param name="default">The default.</param>
 public Column(string name, ColumnTypes type, byte precision, int scale, bool @null, Default @default)
     : this(name, type, @null, @default)
 {
     Precision = precision;
     Scale     = scale;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Column" /> class.
 /// </summary>
 /// <param name="name">The name.</param>
 /// <param name="type">The type.</param>
 /// <param name="length">The length.</param>
 /// <param name="null">if set to <c>true</c> [null].</param>
 /// <param name="default">The default.</param>
 public Column(string name, ColumnTypes type, int length, bool @null, Default @default)
     : this(name, type, @null, @default)
 {
     Length = length;
 }