202301091156360_updateStandardCatelog.cs 569 B

1234567891011121314151617181920
  1. namespace ShwasherSys.Migrations
  2. {
  3. using System;
  4. using System.Data.Entity.Migrations;
  5. public partial class updateStandardCatelog : DbMigration
  6. {
  7. public override void Up()
  8. {
  9. AddColumn("dbo.StandardCatalog", "Drawing", c => c.String());
  10. AddColumn("dbo.StandardCatalog", "Remark", c => c.String(maxLength: 250));
  11. }
  12. public override void Down()
  13. {
  14. DropColumn("dbo.StandardCatalog", "Remark");
  15. DropColumn("dbo.StandardCatalog", "Drawing");
  16. }
  17. }
  18. }