C# Class Simple.Migrator.MigratorOptions

Afficher le fichier Open project: juanplopes/simple Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public AddTypes ( IEnumerable types ) : MigratorOptions
types IEnumerable
Résultat MigratorOptions

FromAssembly() public méthode

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

MigratorOptions() public méthode

public MigratorOptions ( string provider, string connectionString ) : System
provider string
connectionString string
Résultat System

WithSchemaTable() public méthode

public WithSchemaTable ( string table ) : MigratorOptions
table string
Résultat MigratorOptions

WriteWith() public méthode

public WriteWith ( Action writer ) : MigratorOptions
writer Action
Résultat MigratorOptions