C# 클래스 DotNetMigrations.Core.Data.DatabaseInitializer

Initializes the database schema with objects required by DNM.
파일 보기 프로젝트 열기: jpoehls/dotnetmigrations 1 사용 예제들

공개 메소드들

메소드 설명
DatabaseInitializer ( DataAccess dataAccess ) : System
Initialize ( ) : void

Initializes the database schema by creating objects required by DNM.

비공개 메소드들

메소드 설명
CreateMigrationTable ( ) : void

Creates the migration table into the database.

MigrationTableExists ( ) : bool

Checks to see if the migration table currently exists or not.

TableExists ( string tableName ) : bool

Returns true/false whether a table with the given name exists in the database. Throws a SchemaException if more than one table is found with the given name.

메소드 상세

DatabaseInitializer() 공개 메소드

public DatabaseInitializer ( DataAccess dataAccess ) : System
dataAccess DataAccess
리턴 System

Initialize() 공개 메소드

Initializes the database schema by creating objects required by DNM.
public Initialize ( ) : void
리턴 void