C# 클래스 MigSharp.CreatedTableWithAddedColumnExtensions

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

공개 메소드들

메소드 설명
HavingCurrentDateTimeAsDefault ( this column ) : ICreatedTableWithAddedColumn

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

HavingCurrentDateTimeOffsetAsDefault ( this column ) : ICreatedTableWithAddedColumn

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

HavingCurrentUtcDateTimeAsDefault ( this column ) : ICreatedTableWithAddedColumn

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

HavingNewGuidAsDefault ( this column ) : ICreatedTableWithAddedColumn

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

HavingNewSequentialGuidAsDefault ( this column ) : ICreatedTableWithAddedColumn

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

OfSize ( this column, int size ) : ICreatedTableWithAddedColumn

Specifies the size of the data type of the column.

Unique ( this column ) : ICreatedTableWithAddedColumn

Puts the column under an unique constraint with a default constraint name.

메소드 상세

HavingCurrentDateTimeAsDefault() 공개 정적인 메소드

Sets the default of the column to be the current system time of the database server.
public static HavingCurrentDateTimeAsDefault ( this column ) : ICreatedTableWithAddedColumn
column this
리턴 ICreatedTableWithAddedColumn

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 ) : ICreatedTableWithAddedColumn
column this
리턴 ICreatedTableWithAddedColumn

HavingCurrentUtcDateTimeAsDefault() 공개 정적인 메소드

Sets the default of the column to be the current UTC system time of the database server.
public static HavingCurrentUtcDateTimeAsDefault ( this column ) : ICreatedTableWithAddedColumn
column this
리턴 ICreatedTableWithAddedColumn

HavingNewGuidAsDefault() 공개 정적인 메소드

Sets the default of the column to be a new GUID.
public static HavingNewGuidAsDefault ( this column ) : ICreatedTableWithAddedColumn
column this
리턴 ICreatedTableWithAddedColumn

HavingNewSequentialGuidAsDefault() 공개 정적인 메소드

Sets the default of the column to be a new, tentatively sequential (SQL Server) or otherwise random GUID.
public static HavingNewSequentialGuidAsDefault ( this column ) : ICreatedTableWithAddedColumn
column this
리턴 ICreatedTableWithAddedColumn

OfSize() 공개 정적인 메소드

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

Unique() 공개 정적인 메소드

Puts the column under an unique constraint with a default constraint name.
public static Unique ( this column ) : ICreatedTableWithAddedColumn
column this
리턴 ICreatedTableWithAddedColumn