Skip to content

Commit

Permalink
Fix sample app database seed
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Beauchamp committed Dec 8, 2015
1 parent 5ba0642 commit 88d7e09
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ protected override void Seed(SwashbuckleODataContext context)
context.Customers.Add(customerOne);
context.Customers.Add(new Customer { Name = "CustomerTwo" });

context.Orders.Add(new Order { OrderName = "OrderOne", Customer = customerOne });
context.Orders.Add(new Order { OrderName = "OrderTwo", Customer = customerOne });
context.Orders.Add(new Order { OrderId = SequentialGuidGenerator.Generate(SequentialGuidType.SequentialAtEnd), OrderName = "OrderOne", Customer = customerOne });
context.Orders.Add(new Order { OrderId = SequentialGuidGenerator.Generate(SequentialGuidType.SequentialAtEnd), OrderName = "OrderTwo", Customer = customerOne });

base.Seed(context);
}
Expand Down

0 comments on commit 88d7e09

Please sign in to comment.