1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
| namespace sbcLabSystem.Data.Migrations
| {
| using System;
| using System.Data.Entity.Migrations;
|
| public partial class addQCDistributionTable : DbMigration
| {
| public override void Up()
| {
| CreateTable(
| "dbo.QCDistributions",
| c => new
| {
| Id = c.Int(nullable: false, identity: true),
| DistNo = c.String(),
| IssuedDate = c.DateTime(nullable: false),
| CloseDate = c.DateTime(nullable: false),
| Remarks = c.String(),
| })
| .PrimaryKey(t => t.Id);
|
| }
|
| public override void Down()
| {
| DropTable("dbo.QCDistributions");
| }
| }
| }
|
|