C# Class MigSharp.Core.CommandsToSqlTranslator

Visits all commands executed against a IDatabase and translates them into SQL using a specific IProvider.
Mostra file Open project: dradovic/MigSharp Class Usage Examples

Public Methods

Method Description
CommandsToSqlTranslator ( IProvider provider ) : System.Collections.Generic
TranslateToSql ( Database database, IMigrationContext context ) : IEnumerable

Translates the recorded commands on the database to SQL commands.

Method Details

CommandsToSqlTranslator() public method

public CommandsToSqlTranslator ( IProvider provider ) : System.Collections.Generic
provider IProvider
return System.Collections.Generic

TranslateToSql() public method

Translates the recorded commands on the database to SQL commands.
public TranslateToSql ( Database database, IMigrationContext context ) : IEnumerable
database MigSharp.Core.Entities.Database
context IMigrationContext
return IEnumerable