コード例 #1
0
 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);
 }
コード例 #2
0
 private void UpdateVersionInfoWithAppliedMigration(long version)
 {
     var dataExpression = new InsertDataExpression();
     dataExpression.Rows.Add(CreateVersionInfoInsertionData(version));
     dataExpression.TableName = _versionTableMetaData.TableName;
     dataExpression.ExecuteWith(_migrationProcessor);
 }
コード例 #3
0
 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 );
 }