You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicvirtualSystem.Collections.Generic.ICollection<OrderDetail>OrderDetails{get;set;}// Many to many mapping
586
+
587
+
/// <summary>
588
+
/// Child OrderDetails where [Order Details].[Order ID] point to this entity (Order Details_FK01)
589
+
/// </summary>
590
+
publicvirtualSystem.Collections.Generic.ICollection<OrderDetail>OrderDetails{get;set;}=newSystem.Collections.Generic.List<OrderDetail>();// Order Details.Order Details_FK01
575
591
576
592
// Foreign keys
593
+
594
+
/// <summary>
595
+
/// Parent Customer pointed by [Orders].([CustomerId]) (Orders_FK00)
/// Parent Order pointed by [Order Details].([OrderId]) (Order Details_FK01)
627
+
/// </summary>
598
628
publicvirtualOrderOrder{get;set;}// Order Details_FK01
629
+
/// <summary>
630
+
/// Parent Product pointed by [Order Details].([ProductId]) (Order Details_FK00)
631
+
/// </summary>
599
632
publicvirtualProductProduct{get;set;}// Order Details_FK00
600
633
}
601
634
@@ -616,10 +649,21 @@ public class Product
616
649
publicboolDiscontinued{get;set;}// Discontinued
617
650
618
651
// Reverse navigation
619
-
publicvirtualSystem.Collections.Generic.ICollection<OrderDetail>OrderDetails{get;set;}// Many to many mapping
652
+
653
+
/// <summary>
654
+
/// Child OrderDetails where [Order Details].[Product ID] point to this entity (Order Details_FK00)
655
+
/// </summary>
656
+
publicvirtualSystem.Collections.Generic.ICollection<OrderDetail>OrderDetails{get;set;}=newSystem.Collections.Generic.List<OrderDetail>();// Order Details.Order Details_FK00
620
657
621
658
// Foreign keys
659
+
660
+
/// <summary>
661
+
/// Parent Category pointed by [Products].([CategoryId]) (Products_FK01)
/// Child CustomerDemographics (Many-to-Many) mapped by table [CustomerCustomerDemo]
1069
+
/// </summary>
1070
+
publicvirtualSystem.Collections.Generic.ICollection<CustomerDemographic>CustomerDemographics{get;set;}=newSystem.Collections.Generic.List<CustomerDemographic>();// Many to many mapping
1071
+
/// <summary>
1072
+
/// Child Orders where [Orders].[CustomerID] point to this entity (FK_Orders_Customers)
publicvirtualSystem.Collections.Generic.ICollection<Customer>Customers{get;set;}// Many to many mapping
1101
+
1102
+
/// <summary>
1103
+
/// Child Customers (Many-to-Many) mapped by table [CustomerCustomerDemo]
1104
+
/// </summary>
1105
+
publicvirtualSystem.Collections.Generic.ICollection<Customer>Customers{get;set;}=newSystem.Collections.Generic.List<Customer>();// Many to many mapping
/// Child Territories (Many-to-Many) mapped by table [EmployeeTerritories]
1148
+
/// </summary>
1149
+
publicvirtualSystem.Collections.Generic.ICollection<Territory>Territories{get;set;}=newSystem.Collections.Generic.List<Territory>();// Many to many mapping
1125
1150
1126
1151
// Foreign keys
1152
+
1153
+
/// <summary>
1154
+
/// Parent Employee pointed by [Employees].([ReportsTo]) (FK_Employees_Employees)
publicvirtualSystem.Collections.Generic.ICollection<OrderDetail>OrderDetails{get;set;}// Many to many mapping
1218
+
1219
+
/// <summary>
1220
+
/// Child OrderDetails where [Order Details].[OrderID] point to this entity (FK_Order_Details_Orders)
1221
+
/// </summary>
1222
+
publicvirtualSystem.Collections.Generic.ICollection<OrderDetail>Orders{get;set;}=newSystem.Collections.Generic.List<OrderDetail>();// Order Details.FK_Order_Details_Orders
1190
1223
1191
1224
// Foreign keys
1225
+
1226
+
/// <summary>
1227
+
/// Parent Customer pointed by [Orders].([CustomerId]) (FK_Orders_Customers)
publicvirtualSystem.Collections.Generic.ICollection<OrderDetail>OrderDetails{get;set;}// Many to many mapping
1338
+
1339
+
/// <summary>
1340
+
/// Child OrderDetails where [Order Details].[ProductID] point to this entity (FK_Order_Details_Products)
1341
+
/// </summary>
1342
+
publicvirtualSystem.Collections.Generic.ICollection<OrderDetail>Products{get;set;}=newSystem.Collections.Generic.List<OrderDetail>();// Order Details.FK_Order_Details_Products
1289
1343
1290
1344
// Foreign keys
1345
+
1346
+
/// <summary>
1347
+
/// Parent Category pointed by [Products].([CategoryId]) (FK_Products_Categories)
publicvirtualSystem.Collections.Generic.ICollection<Employee>Employees{get;set;}// Many to many mapping
1524
+
1525
+
/// <summary>
1526
+
/// Child Employees (Many-to-Many) mapped by table [EmployeeTerritories]
1527
+
/// </summary>
1528
+
publicvirtualSystem.Collections.Generic.ICollection<Employee>Employees{get;set;}=newSystem.Collections.Generic.List<Employee>();// Many to many mapping
1452
1529
1453
1530
// Foreign keys
1531
+
1532
+
/// <summary>
1533
+
/// Parent Region pointed by [Territories].([RegionId]) (FK_Territories_Region)
0 commit comments