C# Class MigSharp.Core.Entities.Database

Inheritance: IDatabase
显示文件 Open project: dradovic/MigSharp Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
CreateSchema ( string schemaName ) : void
CreateTable ( string tableName, string primaryKeyConstraintName ) : ICreatedTable
Database ( IMigrationContext context ) : System
Execute ( Action action ) : void
Execute ( string query ) : void

Method Details

CreateSchema() public method

public CreateSchema ( string schemaName ) : void
schemaName string
return void

CreateTable() public method

public CreateTable ( string tableName, string primaryKeyConstraintName ) : ICreatedTable
tableName string
primaryKeyConstraintName string
return ICreatedTable

Database() public method

public Database ( IMigrationContext context ) : System
context IMigrationContext
return System

Execute() public method

public Execute ( Action action ) : void
action Action
return void

Execute() public method

public Execute ( string query ) : void
query string
return void