C# 클래스 MigSharp.AlteredColumnExtensions

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

공개 메소드들

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