Guest User

Untitled

a guest
Jun 18th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. Shop shop = new Shop();
  2. db.Shops.Add(shop);
  3.  
  4. Product product = new Product();
  5. db.Products.Add(product);
  6.  
  7. Order order = new Order();
  8. db.Orders.Add(order);
  9.  
  10. for (int i = 0; i < 3; i++) {
  11. T temp = new T();
  12. db.T.Add(temp);
  13. }
  14.  
  15. db.Shops
  16.  
  17. db.Set<Shop>()
Add Comment
Please, Sign In to add comment