C# Class MigSharp.AlteredColumnExtensions

Contains the extensions methods for the IAlteredColumn interface.
Afficher le fichier Open project: dradovic/MigSharp

Méthodes publiques

Méthode Description
HavingCurrentDateTimeAsDefault ( this column ) : IAlteredColumn

Sets the default of the column to be the current system time of the database server.

HavingCurrentDateTimeOffsetAsDefault ( this column ) : IAlteredColumn

Sets the default of the column to be the current system time including the timezone offset of the database server.

HavingCurrentUtcDateTimeAsDefault ( this column ) : IAlteredColumn

Sets the default of the column to be the current UTC system time of the database server.

OfSize ( this column, int size ) : IAlteredColumn

Specifies the size of the new data type of the column.

Method Details

HavingCurrentDateTimeAsDefault() public static méthode

Sets the default of the column to be the current system time of the database server.
public static HavingCurrentDateTimeAsDefault ( this column ) : IAlteredColumn
column this
Résultat IAlteredColumn

HavingCurrentDateTimeOffsetAsDefault() public static méthode

Sets the default of the column to be the current system time including the timezone offset of the database server.
public static HavingCurrentDateTimeOffsetAsDefault ( this column ) : IAlteredColumn
column this
Résultat IAlteredColumn

HavingCurrentUtcDateTimeAsDefault() public static méthode

Sets the default of the column to be the current UTC system time of the database server.
public static HavingCurrentUtcDateTimeAsDefault ( this column ) : IAlteredColumn
column this
Résultat IAlteredColumn

OfSize() public static méthode

Specifies the size of the new data type of the column.
public static OfSize ( this column, int size ) : IAlteredColumn
column this
size int The length for character data types or the maximum total number of decimal digits for numeric data types.
Résultat IAlteredColumn