C# 클래스 Simple.Migrator.Providers.ColumnPropertiesMapper

This is basically a just a helper base class per-database implementors may want to override ColumnSql
파일 보기 프로젝트 열기: juanplopes/simple

보호된 프로퍼티들

프로퍼티 타입 설명
columnSql string
defaultVal object
dialect Dialect
indexed bool
name string
type string

공개 메소드들

메소드 설명
ColumnPropertiesMapper ( Dialect dialect, string type ) : System
MapColumnProperties ( Column column ) : void
PropertySelected ( ColumnProperty source, ColumnProperty comparison ) : bool

비공개 메소드들

메소드 설명
AddValueIfSelected ( Column column, ColumnProperty property, ICollection vals ) : void

메소드 상세

ColumnPropertiesMapper() 공개 메소드

public ColumnPropertiesMapper ( Dialect dialect, string type ) : System
dialect Dialect
type string
리턴 System

MapColumnProperties() 공개 메소드

public MapColumnProperties ( Column column ) : void
column Column
리턴 void

PropertySelected() 공개 정적인 메소드

public static PropertySelected ( ColumnProperty source, ColumnProperty comparison ) : bool
source ColumnProperty
comparison ColumnProperty
리턴 bool

프로퍼티 상세

columnSql 보호되어 있는 프로퍼티

the type of the column
protected string columnSql
리턴 string

defaultVal 보호되어 있는 프로퍼티

Sql if this column has a default value
protected object defaultVal
리턴 object

dialect 보호되어 있는 프로퍼티

protected Dialect,Simple.Migrator.Providers dialect
리턴 Dialect

indexed 보호되어 있는 프로퍼티

Sql if This column is Indexed
protected bool indexed
리턴 bool

name 보호되어 있는 프로퍼티

The name of the column
protected string name
리턴 string

type 보호되어 있는 프로퍼티

The SQL type
protected string type
리턴 string