C# Class Simple.Migrator.MigratorOptions

ファイルを表示 Open project: juanplopes/simple Class Usage Examples

Public Methods

Method Description
AddTypes ( IEnumerable types ) : MigratorOptions
FromAssembly ( Assembly asm ) : MigratorOptions

Collect migrations in one Assembly.

MigratorOptions ( string provider, string connectionString ) : System
WithSchemaTable ( string table ) : MigratorOptions
WriteWith ( Action writer ) : MigratorOptions

Method Details

AddTypes() public method

public AddTypes ( IEnumerable types ) : MigratorOptions
types IEnumerable
return MigratorOptions

FromAssembly() public method

Collect migrations in one Assembly.
public FromAssembly ( Assembly asm ) : MigratorOptions
asm System.Reflection.Assembly The Assembly to browse.
return MigratorOptions

MigratorOptions() public method

public MigratorOptions ( string provider, string connectionString ) : System
provider string
connectionString string
return System

WithSchemaTable() public method

public WithSchemaTable ( string table ) : MigratorOptions
table string
return MigratorOptions

WriteWith() public method

public WriteWith ( Action writer ) : MigratorOptions
writer Action
return MigratorOptions