C# 클래스 SchemaZen.Library.Models.Column

파일 보기 프로젝트 열기: sethreno/schemazen 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ComputedDefinition string
Default Default
Identity Identity
IsNullable bool
IsRowGuidCol bool
Length int
Name string
Position int
Precision byte
Scale int
Type string

Private Properties

프로퍼티 타입 설명
ScriptBase string
SqlTypeToNativeType System.Type

공개 메소드들

메소드 설명
Column ( ) : System
Column ( string name, string type, bool nullable, Default defaultValue ) : System
Column ( string name, string type, byte precision, int scale, bool nullable, Default defaultValue ) : System
Column ( string name, string type, int length, bool nullable, Default defaultValue ) : System
Compare ( Column c ) : ColumnDiff
ScriptAlter ( ) : string
ScriptCreate ( ) : string
SqlTypeToNativeType ( ) : Type

비공개 메소드들

메소드 설명
ScriptBase ( bool includeDefaultConstraint ) : string
SqlTypeToNativeType ( string sqlType ) : Type

메소드 상세

Column() 공개 메소드

public Column ( ) : System
리턴 System

Column() 공개 메소드

public Column ( string name, string type, bool nullable, Default defaultValue ) : System
name string
type string
nullable bool
defaultValue Default
리턴 System

Column() 공개 메소드

public Column ( string name, string type, byte precision, int scale, bool nullable, Default defaultValue ) : System
name string
type string
precision byte
scale int
nullable bool
defaultValue Default
리턴 System

Column() 공개 메소드

public Column ( string name, string type, int length, bool nullable, Default defaultValue ) : System
name string
type string
length int
nullable bool
defaultValue Default
리턴 System

Compare() 공개 메소드

public Compare ( Column c ) : ColumnDiff
c Column
리턴 ColumnDiff

ScriptAlter() 공개 메소드

public ScriptAlter ( ) : string
리턴 string

ScriptCreate() 공개 메소드

public ScriptCreate ( ) : string
리턴 string

SqlTypeToNativeType() 공개 메소드

public SqlTypeToNativeType ( ) : Type
리턴 System.Type

프로퍼티 상세

ComputedDefinition 공개적으로 프로퍼티

public string ComputedDefinition
리턴 string

Default 공개적으로 프로퍼티

public Default,SchemaZen.Library.Models Default
리턴 Default

Identity 공개적으로 프로퍼티

public Identity,SchemaZen.Library.Models Identity
리턴 Identity

IsNullable 공개적으로 프로퍼티

public bool IsNullable
리턴 bool

IsRowGuidCol 공개적으로 프로퍼티

public bool IsRowGuidCol
리턴 bool

Length 공개적으로 프로퍼티

public int Length
리턴 int

Name 공개적으로 프로퍼티

public string Name
리턴 string

Position 공개적으로 프로퍼티

public int Position
리턴 int

Precision 공개적으로 프로퍼티

public byte Precision
리턴 byte

Scale 공개적으로 프로퍼티

public int Scale
리턴 int

Type 공개적으로 프로퍼티

public string Type
리턴 string