示例#1
0
 public override void Apply()
 {
     Database.ChangeColumn("Providers", "ContactPhone", DbType.String.WithSize(50), false);
     Database.ChangeColumn("Clients", "ContactPhone", DbType.String.WithSize(50), false);
     Database.ChangeColumn("TransportCompanies", "ContactPhone", DbType.String.WithSize(50), false);
 }
 public override void Apply()
 {
     Database.ChangeColumn("Orders", "BoxesCount", DbType.Decimal.WithSize(19, 5), false);
     Database.ChangeColumn("Orders", "ConfirmedBoxesCount", DbType.Decimal.WithSize(19, 5), false);
 }
 public override void Apply()
 {
     Database.ChangeColumn("Orders", "UnloadingArrivalTime", DbType.DateTime, false);
     Database.ChangeColumn("Orders", "UnloadingDepartureTime", DbType.DateTime, false);
 }
 public override void Apply()
 {
     Database.ChangeColumn("Orders", "Source", new ColumnType(DbType.String, int.MaxValue), false);
 }