C# Класс MigSharp.AlteredColumnExtensions

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

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

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

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

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

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

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 ) : IAlteredColumn
column this
Результат IAlteredColumn

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

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

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

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