C# 클래스 System.Data.Entity.Migrations.Sql.PostgreSqlMigrationSqlGenerator

상속: System.Data.Entity.Migrations.Sql.SqlServerMigrationSqlGenerator
파일 보기 프로젝트 열기: darionato/PostgreSqlMigrationSqlGenerator 1 사용 예제들

공개 메소드들

메소드 설명
PostgreSqlMigrationSqlGenerator ( ) : System.Collections.Generic

보호된 메소드들

메소드 설명
BuildColumnType ( System.Data.Entity.Migrations.Model.ColumnModel column ) : string
CreateConnection ( ) : DbConnection
Generate ( bool defaultValue ) : string
Generate ( byte defaultValue ) : string
Generate ( System.Data.Entity.Migrations.Model.AddColumnOperation addColumnOperation ) : void
Generate ( System.Data.Entity.Migrations.Model.AddForeignKeyOperation addForeignKeyOperation ) : void
Generate ( System.Data.Entity.Migrations.Model.AddPrimaryKeyOperation addPrimaryKeyOperation ) : void
Generate ( System.Data.Entity.Migrations.Model.AlterColumnOperation alterColumnOperation ) : void
Generate ( System.Data.Entity.Migrations.Model.CreateIndexOperation createIndexOperation ) : void
Generate ( System.Data.Entity.Migrations.Model.CreateTableOperation createTableOperation ) : void
Generate ( System.Data.Entity.Migrations.Model.DeleteHistoryOperation deleteHistoryOperation ) : void
Generate ( System.Data.Entity.Migrations.Model.DropColumnOperation dropColumnOperation ) : void
Generate ( System.Data.Entity.Migrations.Model.DropForeignKeyOperation dropForeignKeyOperation ) : void
Generate ( System.Data.Entity.Migrations.Model.DropIndexOperation dropIndexOperation ) : void
Generate ( System.Data.Entity.Migrations.Model.DropPrimaryKeyOperation dropPrimaryKeyOperation ) : void
Generate ( System.Data.Entity.Migrations.Model.DropTableOperation dropTableOperation ) : void
Generate ( System.Data.Entity.Migrations.Model.InsertHistoryOperation insertHistoryOperation ) : void

Must implement this method

GenerateCreateSchema ( string schema ) : void
IndexName ( IndexOperation index, bool withSchema ) : string
Quote ( string identifier ) : string

비공개 메소드들

메소드 설명
Generate ( System.Data.Entity.Migrations.Model.ColumnModel column, System.Data.Entity.Migrations.Utilities.IndentedTextWriter writer, bool isAlter = false ) : void
WriteCreateTable ( CreateTableOperation createTableOperation, IndentedTextWriter writer ) : void

메소드 상세

BuildColumnType() 보호된 메소드

protected BuildColumnType ( System.Data.Entity.Migrations.Model.ColumnModel column ) : string
column System.Data.Entity.Migrations.Model.ColumnModel
리턴 string

CreateConnection() 보호된 메소드

protected CreateConnection ( ) : DbConnection
리턴 System.Data.Common.DbConnection

Generate() 보호된 메소드

protected Generate ( bool defaultValue ) : string
defaultValue bool
리턴 string

Generate() 보호된 메소드

protected Generate ( byte defaultValue ) : string
defaultValue byte
리턴 string

Generate() 보호된 메소드

protected Generate ( System.Data.Entity.Migrations.Model.AddColumnOperation addColumnOperation ) : void
addColumnOperation System.Data.Entity.Migrations.Model.AddColumnOperation
리턴 void

Generate() 보호된 메소드

protected Generate ( System.Data.Entity.Migrations.Model.AddForeignKeyOperation addForeignKeyOperation ) : void
addForeignKeyOperation System.Data.Entity.Migrations.Model.AddForeignKeyOperation
리턴 void

Generate() 보호된 메소드

protected Generate ( System.Data.Entity.Migrations.Model.AddPrimaryKeyOperation addPrimaryKeyOperation ) : void
addPrimaryKeyOperation System.Data.Entity.Migrations.Model.AddPrimaryKeyOperation
리턴 void

Generate() 보호된 메소드

protected Generate ( System.Data.Entity.Migrations.Model.AlterColumnOperation alterColumnOperation ) : void
alterColumnOperation System.Data.Entity.Migrations.Model.AlterColumnOperation
리턴 void

Generate() 보호된 메소드

protected Generate ( System.Data.Entity.Migrations.Model.CreateIndexOperation createIndexOperation ) : void
createIndexOperation System.Data.Entity.Migrations.Model.CreateIndexOperation
리턴 void

Generate() 보호된 메소드

protected Generate ( System.Data.Entity.Migrations.Model.CreateTableOperation createTableOperation ) : void
createTableOperation System.Data.Entity.Migrations.Model.CreateTableOperation
리턴 void

Generate() 보호된 메소드

protected Generate ( System.Data.Entity.Migrations.Model.DeleteHistoryOperation deleteHistoryOperation ) : void
deleteHistoryOperation System.Data.Entity.Migrations.Model.DeleteHistoryOperation
리턴 void

Generate() 보호된 메소드

protected Generate ( System.Data.Entity.Migrations.Model.DropColumnOperation dropColumnOperation ) : void
dropColumnOperation System.Data.Entity.Migrations.Model.DropColumnOperation
리턴 void

Generate() 보호된 메소드

protected Generate ( System.Data.Entity.Migrations.Model.DropForeignKeyOperation dropForeignKeyOperation ) : void
dropForeignKeyOperation System.Data.Entity.Migrations.Model.DropForeignKeyOperation
리턴 void

Generate() 보호된 메소드

protected Generate ( System.Data.Entity.Migrations.Model.DropIndexOperation dropIndexOperation ) : void
dropIndexOperation System.Data.Entity.Migrations.Model.DropIndexOperation
리턴 void

Generate() 보호된 메소드

protected Generate ( System.Data.Entity.Migrations.Model.DropPrimaryKeyOperation dropPrimaryKeyOperation ) : void
dropPrimaryKeyOperation System.Data.Entity.Migrations.Model.DropPrimaryKeyOperation
리턴 void

Generate() 보호된 메소드

protected Generate ( System.Data.Entity.Migrations.Model.DropTableOperation dropTableOperation ) : void
dropTableOperation System.Data.Entity.Migrations.Model.DropTableOperation
리턴 void

Generate() 보호된 메소드

Must implement this method
protected Generate ( System.Data.Entity.Migrations.Model.InsertHistoryOperation insertHistoryOperation ) : void
insertHistoryOperation System.Data.Entity.Migrations.Model.InsertHistoryOperation
리턴 void

GenerateCreateSchema() 보호된 메소드

protected GenerateCreateSchema ( string schema ) : void
schema string
리턴 void

IndexName() 보호된 메소드

protected IndexName ( IndexOperation index, bool withSchema ) : string
index IndexOperation
withSchema bool
리턴 string

PostgreSqlMigrationSqlGenerator() 공개 메소드

public PostgreSqlMigrationSqlGenerator ( ) : System.Collections.Generic
리턴 System.Collections.Generic

Quote() 보호된 메소드

protected Quote ( string identifier ) : string
identifier string
리턴 string