C# 클래스 MigSharp.ExistingTableWithAddedColumnExtensions

Contains the extensions methods for the IExistingTableWithAddedColumn interface.
파일 보기 프로젝트 열기: dradovic/MigSharp

공개 메소드들

메소드 설명
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