Habanero.DB.DBMigrator.GetMigrationSql C# (CSharp) Method

GetMigrationSql() public method

Returns a set of sql statements between two specified version numbers, excluding the start version and including the end version.
public GetMigrationSql ( int startAfterVersion, int endVersion ) : IEnumerable
startAfterVersion int The start version number (exclusive)
endVersion int The end version number (inclusive)
return IEnumerable
        public IEnumerable<ISqlStatement> GetMigrationSql(int startAfterVersion, int endVersion) {
            return from migration in _migrations
                    where migration.Key > startAfterVersion && migration.Key <= endVersion
                    select migration.Value;
        }