Exemple #1
0
 /// <summary>
 /// Sets the default of the column to be the current system time including the timezone offset of the database server.
 /// </summary>
 public static IAlteredColumn HavingCurrentDateTimeOffsetAsDefault(this IAlteredColumn column)
 {
     return(column.HavingDefault(SpecialDefaultValue.CurrentDateTimeOffset));
 }
Exemple #2
0
 /// <summary>
 /// Specifies the size of the new data type of the column.
 /// </summary>
 /// <param name="column"></param>
 /// <param name="size">The length for character data types or the maximum total number of decimal digits for numeric data types.</param>
 public static IAlteredColumn OfSize(this IAlteredColumn column, int size)
 {
     return(column.OfSize(size, null));
 }