C# Класс MigSharp.ExistingTableWithAddedColumnExtensions

Contains the extensions methods for the IExistingTableWithAddedColumn interface.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

HavingCurrentDateTimeAsDefault() публичный статический Метод

Sets the default of the column to be the current system time of the database server.
public static HavingCurrentDateTimeAsDefault ( this column ) : IExistingTableBase
column this
Результат IExistingTableBase

HavingCurrentDateTimeOffsetAsDefault() публичный статический Метод

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
Результат IExistingTableBase

HavingCurrentUtcDateTimeAsDefault() публичный статический Метод

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
Результат IExistingTableBase

HavingNewGuidAsDefault() публичный статический Метод

Sets the default of the column to be a new GUID.
public static HavingNewGuidAsDefault ( this column ) : IExistingTableBase
column this
Результат IExistingTableBase

HavingNewSequentialGuidAsDefault() публичный статический Метод

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
Результат IExistingTableBase

OfSize() публичный статический Метод

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.
Результат IExistingTableWithAddedColumn