public void UpdateVersionInfo(long version, string description) { var dataExpression = new InsertDataExpression(); dataExpression.Rows.Add(CreateVersionInfoInsertionData(version, description)); dataExpression.TableName = VersionTableMetaData.TableName; dataExpression.SchemaName = VersionTableMetaData.SchemaName; dataExpression.ExecuteWith(Processor); }
private void UpdateVersionInfoWithAppliedMigration(long version) { var dataExpression = new InsertDataExpression(); dataExpression.Rows.Add(CreateVersionInfoInsertionData(version)); dataExpression.TableName = _versionTableMetaData.TableName; dataExpression.ExecuteWith(_migrationProcessor); }
public void UpdateVersionInfo(long version, Type type, TimeSpan elapsedTime) { var dataExpression = new InsertDataExpression(); dataExpression.Rows.Add( CreateVersionInfoInsertionData( version, type, elapsedTime ) ); dataExpression.TableName = VersionTableMetaData.TableName; dataExpression.SchemaName = VersionTableMetaData.SchemaName; dataExpression.ExecuteWith( Processor ); }