C# Class MigSharp.ExistingTableWithAddedColumnExtensions

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

Méthodes publiques

Méthode Description
HavingCurrentDateTimeAsDefault ( this column ) : IExistingTableBase

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

HavingCurrentDateTimeOffsetAsDefault ( this column ) : IExistingTableBase

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

HavingCurrentUtcDateTimeAsDefault ( this column ) : IExistingTableBase

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

HavingNewGuidAsDefault ( this column ) : IExistingTableBase

Sets the default of the column to be a new GUID.

HavingNewSequentialGuidAsDefault ( this column ) : IExistingTableBase

Sets the default of the column to be a new, tentatively sequential (SQL Server) or otherwise random GUID.

OfSize ( this column, int size ) : IExistingTableWithAddedColumn

Specifies the size of the 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 ) : IExistingTableBase
column this
Résultat IExistingTableBase

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 ) : IExistingTableBase
column this
Résultat IExistingTableBase

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 ) : IExistingTableBase
column this
Résultat IExistingTableBase

HavingNewGuidAsDefault() public static méthode

Sets the default of the column to be a new GUID.
public static HavingNewGuidAsDefault ( this column ) : IExistingTableBase
column this
Résultat IExistingTableBase

HavingNewSequentialGuidAsDefault() public static méthode

Sets the default of the column to be a new, tentatively sequential (SQL Server) or otherwise random GUID.
public static HavingNewSequentialGuidAsDefault ( this column ) : IExistingTableBase
column this
Résultat IExistingTableBase

OfSize() public static méthode

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