Skip to content

Commit

Permalink
update NETFRAMEWORK only baselines
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-Svensson committed Jun 9, 2024
1 parent dea5d54 commit 44709a1
Show file tree
Hide file tree
Showing 8 changed files with 203 additions and 85 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,9 @@ public string LoginID
/// <summary>
/// Gets or sets the associated <see cref="Employee"/> entity.
/// </summary>
[Association("Employee_Employee", "ManagerID", "EmployeeID", IsForeignKey=true)]
[EntityAssociation("Employee_Employee", new string[] {
"ManagerID"}, new string[] {
"EmployeeID"}, IsForeignKey=true)]
public Employee Manager
{
get
Expand Down Expand Up @@ -459,7 +461,9 @@ public string NationalIDNumber
/// <summary>
/// Gets the collection of associated <see cref="PurchaseOrder"/> entity instances.
/// </summary>
[Association("Employee_PurchaseOrder", "EmployeeID", "EmployeeID")]
[EntityAssociation("Employee_PurchaseOrder", new string[] {
"EmployeeID"}, new string[] {
"EmployeeID"})]
public EntityCollection<PurchaseOrder> PurchaseOrders
{
get
Expand All @@ -475,7 +479,9 @@ public EntityCollection<PurchaseOrder> PurchaseOrders
/// <summary>
/// Gets the collection of associated <see cref="Employee"/> entity instances.
/// </summary>
[Association("Employee_Employee", "EmployeeID", "ManagerID")]
[EntityAssociation("Employee_Employee", new string[] {
"EmployeeID"}, new string[] {
"ManagerID"})]
public EntityCollection<Employee> Reports
{
get
Expand Down Expand Up @@ -1164,7 +1170,9 @@ public Nullable<int> ProductSubcategoryID
/// <summary>
/// Gets the collection of associated <see cref="PurchaseOrderDetail"/> entity instances.
/// </summary>
[Association("Product_PurchaseOrderDetail", "ProductID", "ProductID")]
[EntityAssociation("Product_PurchaseOrderDetail", new string[] {
"ProductID"}, new string[] {
"ProductID"})]
public EntityCollection<PurchaseOrderDetail> PurchaseOrderDetails
{
get
Expand Down Expand Up @@ -1551,7 +1559,9 @@ public PurchaseOrder()
/// <summary>
/// Gets or sets the associated <see cref="Employee"/> entity.
/// </summary>
[Association("Employee_PurchaseOrder", "EmployeeID", "EmployeeID", IsForeignKey=true)]
[EntityAssociation("Employee_PurchaseOrder", new string[] {
"EmployeeID"}, new string[] {
"EmployeeID"}, IsForeignKey=true)]
public Employee Employee
{
get
Expand Down Expand Up @@ -1698,7 +1708,9 @@ public DateTime OrderDate
/// <summary>
/// Gets the collection of associated <see cref="PurchaseOrderDetail"/> entity instances.
/// </summary>
[Association("PurchaseOrder_PurchaseOrderDetail", "PurchaseOrderID", "PurchaseOrderID")]
[EntityAssociation("PurchaseOrder_PurchaseOrderDetail", new string[] {
"PurchaseOrderID"}, new string[] {
"PurchaseOrderID"})]
public EntityCollection<PurchaseOrderDetail> PurchaseOrderDetails
{
get
Expand Down Expand Up @@ -2155,7 +2167,9 @@ public short OrderQty
/// <summary>
/// Gets or sets the associated <see cref="Product"/> entity.
/// </summary>
[Association("Product_PurchaseOrderDetail", "ProductID", "ProductID", IsForeignKey=true)]
[EntityAssociation("Product_PurchaseOrderDetail", new string[] {
"ProductID"}, new string[] {
"ProductID"}, IsForeignKey=true)]
public Product Product
{
get
Expand Down Expand Up @@ -2224,7 +2238,9 @@ public int ProductID
/// <summary>
/// Gets or sets the associated <see cref="PurchaseOrder"/> entity.
/// </summary>
[Association("PurchaseOrder_PurchaseOrderDetail", "PurchaseOrderID", "PurchaseOrderID", IsForeignKey=true)]
[EntityAssociation("PurchaseOrder_PurchaseOrderDetail", new string[] {
"PurchaseOrderID"}, new string[] {
"PurchaseOrderID"}, IsForeignKey=true)]
public PurchaseOrder PurchaseOrder
{
get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ Namespace DataTests.AdventureWorks.LTS
''' <summary>
''' Gets or sets the associated <see cref="Employee"/> entity.
''' </summary>
<Association("Employee_Employee", "ManagerID", "EmployeeID", IsForeignKey:=true)> _
<EntityAssociation("Employee_Employee", New String() {"ManagerID"}, New String() {"EmployeeID"}, IsForeignKey:=true)> _
Public Property Manager() As Employee
Get
If (Me._manager Is Nothing) Then
Expand Down Expand Up @@ -450,7 +450,7 @@ Namespace DataTests.AdventureWorks.LTS
''' <summary>
''' Gets the collection of associated <see cref="PurchaseOrder"/> entity instances.
''' </summary>
<Association("Employee_PurchaseOrder", "EmployeeID", "EmployeeID")> _
<EntityAssociation("Employee_PurchaseOrder", New String() {"EmployeeID"}, New String() {"EmployeeID"})> _
Public ReadOnly Property PurchaseOrders() As EntityCollection(Of PurchaseOrder)
Get
If (Me._purchaseOrders Is Nothing) Then
Expand All @@ -463,7 +463,7 @@ Namespace DataTests.AdventureWorks.LTS
''' <summary>
''' Gets the collection of associated <see cref="Employee"/> entity instances.
''' </summary>
<Association("Employee_Employee", "EmployeeID", "ManagerID")> _
<EntityAssociation("Employee_Employee", New String() {"EmployeeID"}, New String() {"ManagerID"})> _
Public ReadOnly Property Reports() As EntityCollection(Of Employee)
Get
If (Me._reports Is Nothing) Then
Expand Down Expand Up @@ -1124,7 +1124,7 @@ Namespace DataTests.AdventureWorks.LTS
''' <summary>
''' Gets the collection of associated <see cref="PurchaseOrderDetail"/> entity instances.
''' </summary>
<Association("Product_PurchaseOrderDetail", "ProductID", "ProductID")> _
<EntityAssociation("Product_PurchaseOrderDetail", New String() {"ProductID"}, New String() {"ProductID"})> _
Public ReadOnly Property PurchaseOrderDetails() As EntityCollection(Of PurchaseOrderDetail)
Get
If (Me._purchaseOrderDetails Is Nothing) Then
Expand Down Expand Up @@ -1495,7 +1495,7 @@ Namespace DataTests.AdventureWorks.LTS
''' <summary>
''' Gets or sets the associated <see cref="Employee"/> entity.
''' </summary>
<Association("Employee_PurchaseOrder", "EmployeeID", "EmployeeID", IsForeignKey:=true)> _
<EntityAssociation("Employee_PurchaseOrder", New String() {"EmployeeID"}, New String() {"EmployeeID"}, IsForeignKey:=true)> _
Public Property Employee() As Employee
Get
If (Me._employee Is Nothing) Then
Expand Down Expand Up @@ -1620,7 +1620,7 @@ Namespace DataTests.AdventureWorks.LTS
''' <summary>
''' Gets the collection of associated <see cref="PurchaseOrderDetail"/> entity instances.
''' </summary>
<Association("PurchaseOrder_PurchaseOrderDetail", "PurchaseOrderID", "PurchaseOrderID")> _
<EntityAssociation("PurchaseOrder_PurchaseOrderDetail", New String() {"PurchaseOrderID"}, New String() {"PurchaseOrderID"})> _
Public ReadOnly Property PurchaseOrderDetails() As EntityCollection(Of PurchaseOrderDetail)
Get
If (Me._purchaseOrderDetails Is Nothing) Then
Expand Down Expand Up @@ -2052,7 +2052,7 @@ Namespace DataTests.AdventureWorks.LTS
''' <summary>
''' Gets or sets the associated <see cref="Product"/> entity.
''' </summary>
<Association("Product_PurchaseOrderDetail", "ProductID", "ProductID", IsForeignKey:=true)> _
<EntityAssociation("Product_PurchaseOrderDetail", New String() {"ProductID"}, New String() {"ProductID"}, IsForeignKey:=true)> _
Public Property Product() As Product
Get
If (Me._product Is Nothing) Then
Expand Down Expand Up @@ -2108,7 +2108,7 @@ Namespace DataTests.AdventureWorks.LTS
''' <summary>
''' Gets or sets the associated <see cref="PurchaseOrder"/> entity.
''' </summary>
<Association("PurchaseOrder_PurchaseOrderDetail", "PurchaseOrderID", "PurchaseOrderID", IsForeignKey:=true)> _
<EntityAssociation("PurchaseOrder_PurchaseOrderDetail", New String() {"PurchaseOrderID"}, New String() {"PurchaseOrderID"}, IsForeignKey:=true)> _
Public Property PurchaseOrder() As PurchaseOrder
Get
If (Me._purchaseOrder Is Nothing) Then
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34209
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
Expand Down Expand Up @@ -173,7 +173,9 @@ public byte[] Picture
/// <summary>
/// Gets the collection of associated <see cref="Product"/> entity instances.
/// </summary>
[Association("Category_Product", "CategoryID", "CategoryID")]
[EntityAssociation("Category_Product", new string[] {
"CategoryID"}, new string[] {
"CategoryID"})]
public EntityCollection<Product> Products
{
get
Expand Down Expand Up @@ -505,7 +507,9 @@ public string Fax
/// <summary>
/// Gets the collection of associated <see cref="Order"/> entity instances.
/// </summary>
[Association("Customer_Order", "CustomerID", "CustomerID")]
[EntityAssociation("Customer_Order", new string[] {
"CustomerID"}, new string[] {
"CustomerID"})]
public EntityCollection<Order> Orders
{
get
Expand Down Expand Up @@ -717,7 +721,9 @@ public Order()
/// <summary>
/// Gets or sets the associated <see cref="Customer"/> entity.
/// </summary>
[Association("Customer_Order", "CustomerID", "CustomerID", IsForeignKey=true)]
[EntityAssociation("Customer_Order", new string[] {
"CustomerID"}, new string[] {
"CustomerID"}, IsForeignKey=true)]
public Customer Customer
{
get
Expand Down Expand Up @@ -865,7 +871,9 @@ public Nullable<decimal> Freight
/// <summary>
/// Gets the collection of associated <see cref="Order_Detail"/> entity instances.
/// </summary>
[Association("Order_Order_Detail", "OrderID", "OrderID")]
[EntityAssociation("Order_Order_Detail", new string[] {
"OrderID"}, new string[] {
"OrderID"})]
public EntityCollection<Order_Detail> Order_Details
{
get
Expand Down Expand Up @@ -1280,7 +1288,9 @@ public float Discount
/// <summary>
/// Gets or sets the associated <see cref="Order"/> entity.
/// </summary>
[Association("Order_Order_Detail", "OrderID", "OrderID", IsForeignKey=true)]
[EntityAssociation("Order_Order_Detail", new string[] {
"OrderID"}, new string[] {
"OrderID"}, IsForeignKey=true)]
public Order Order
{
get
Expand Down Expand Up @@ -1350,7 +1360,9 @@ public int OrderID
/// <summary>
/// Gets or sets the associated <see cref="Product"/> entity.
/// </summary>
[Association("Product_Order_Detail", "ProductID", "ProductID", IsForeignKey=true)]
[EntityAssociation("Product_Order_Detail", new string[] {
"ProductID"}, new string[] {
"ProductID"}, IsForeignKey=true)]
public Product Product
{
get
Expand Down Expand Up @@ -1576,7 +1588,9 @@ public Product()
/// <summary>
/// Gets or sets the associated <see cref="Category"/> entity.
/// </summary>
[Association("Category_Product", "CategoryID", "CategoryID", IsForeignKey=true)]
[EntityAssociation("Category_Product", new string[] {
"CategoryID"}, new string[] {
"CategoryID"}, IsForeignKey=true)]
public Category Category
{
get
Expand Down Expand Up @@ -1696,7 +1710,9 @@ public bool Discontinued
/// <summary>
/// Gets the collection of associated <see cref="Order_Detail"/> entity instances.
/// </summary>
[Association("Product_Order_Detail", "ProductID", "ProductID")]
[EntityAssociation("Product_Order_Detail", new string[] {
"ProductID"}, new string[] {
"ProductID"})]
public EntityCollection<Order_Detail> Order_Details
{
get
Expand Down Expand Up @@ -2278,8 +2294,10 @@ public int RegionID
/// <summary>
/// Gets the collection of associated <see cref="Territory"/> entity instances.
/// </summary>
[Association("Region_Territory", "RegionID", "RegionID")]
[Composition()]
[EntityAssociation("Region_Territory", new string[] {
"RegionID"}, new string[] {
"RegionID"})]
public EntityCollection<Territory> Territories
{
get
Expand Down Expand Up @@ -2360,7 +2378,9 @@ public Territory()
/// <summary>
/// Gets or sets the associated <see cref="Region"/> entity.
/// </summary>
[Association("Region_Territory", "RegionID", "RegionID", IsForeignKey=true)]
[EntityAssociation("Region_Territory", new string[] {
"RegionID"}, new string[] {
"RegionID"}, IsForeignKey=true)]
public Region Region
{
get
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.34209
' Runtime Version:4.0.30319.42000
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
Expand Down Expand Up @@ -173,7 +173,7 @@ Namespace DataTests.Northwind.LTS
''' <summary>
''' Gets the collection of associated <see cref="Product"/> entity instances.
''' </summary>
<Association("Category_Product", "CategoryID", "CategoryID")> _
<EntityAssociation("Category_Product", New String() {"CategoryID"}, New String() {"CategoryID"})> _
Public ReadOnly Property Products() As EntityCollection(Of Product)
Get
If (Me._products Is Nothing) Then
Expand Down Expand Up @@ -489,7 +489,7 @@ Namespace DataTests.Northwind.LTS
''' <summary>
''' Gets the collection of associated <see cref="Order"/> entity instances.
''' </summary>
<Association("Customer_Order", "CustomerID", "CustomerID")> _
<EntityAssociation("Customer_Order", New String() {"CustomerID"}, New String() {"CustomerID"})> _
Public ReadOnly Property Orders() As EntityCollection(Of Order)
Get
If (Me._orders Is Nothing) Then
Expand Down Expand Up @@ -713,7 +713,7 @@ Namespace DataTests.Northwind.LTS
''' <summary>
''' Gets or sets the associated <see cref="Customer"/> entity.
''' </summary>
<Association("Customer_Order", "CustomerID", "CustomerID", IsForeignKey:=true)> _
<EntityAssociation("Customer_Order", New String() {"CustomerID"}, New String() {"CustomerID"}, IsForeignKey:=true)> _
Public Property Customer() As Customer
Get
If (Me._customer Is Nothing) Then
Expand Down Expand Up @@ -835,7 +835,7 @@ Namespace DataTests.Northwind.LTS
''' <summary>
''' Gets the collection of associated <see cref="Order_Detail"/> entity instances.
''' </summary>
<Association("Order_Order_Detail", "OrderID", "OrderID")> _
<EntityAssociation("Order_Order_Detail", New String() {"OrderID"}, New String() {"OrderID"})> _
Public ReadOnly Property Order_Details() As EntityCollection(Of Order_Detail)
Get
If (Me._order_Details Is Nothing) Then
Expand Down Expand Up @@ -1207,7 +1207,7 @@ Namespace DataTests.Northwind.LTS
''' <summary>
''' Gets or sets the associated <see cref="Order"/> entity.
''' </summary>
<Association("Order_Order_Detail", "OrderID", "OrderID", IsForeignKey:=true)> _
<EntityAssociation("Order_Order_Detail", New String() {"OrderID"}, New String() {"OrderID"}, IsForeignKey:=true)> _
Public Property Order() As Order
Get
If (Me._order Is Nothing) Then
Expand Down Expand Up @@ -1264,7 +1264,7 @@ Namespace DataTests.Northwind.LTS
''' <summary>
''' Gets or sets the associated <see cref="Product"/> entity.
''' </summary>
<Association("Product_Order_Detail", "ProductID", "ProductID", IsForeignKey:=true)> _
<EntityAssociation("Product_Order_Detail", New String() {"ProductID"}, New String() {"ProductID"}, IsForeignKey:=true)> _
Public Property Product() As Product
Get
If (Me._product Is Nothing) Then
Expand Down Expand Up @@ -1497,7 +1497,7 @@ Namespace DataTests.Northwind.LTS
''' <summary>
''' Gets or sets the associated <see cref="Category"/> entity.
''' </summary>
<Association("Category_Product", "CategoryID", "CategoryID", IsForeignKey:=true)> _
<EntityAssociation("Category_Product", New String() {"CategoryID"}, New String() {"CategoryID"}, IsForeignKey:=true)> _
Public Property Category() As Category
Get
If (Me._category Is Nothing) Then
Expand Down Expand Up @@ -1596,7 +1596,7 @@ Namespace DataTests.Northwind.LTS
''' <summary>
''' Gets the collection of associated <see cref="Order_Detail"/> entity instances.
''' </summary>
<Association("Product_Order_Detail", "ProductID", "ProductID")> _
<EntityAssociation("Product_Order_Detail", New String() {"ProductID"}, New String() {"ProductID"})> _
Public ReadOnly Property Order_Details() As EntityCollection(Of Order_Detail)
Get
If (Me._order_Details Is Nothing) Then
Expand Down Expand Up @@ -2117,8 +2117,8 @@ Namespace DataTests.Northwind.LTS
''' <summary>
''' Gets the collection of associated <see cref="Territory"/> entity instances.
''' </summary>
<Association("Region_Territory", "RegionID", "RegionID"), _
Composition()> _
<Composition(), _
EntityAssociation("Region_Territory", New String() {"RegionID"}, New String() {"RegionID"})> _
Public ReadOnly Property Territories() As EntityCollection(Of Territory)
Get
If (Me._territories Is Nothing) Then
Expand Down Expand Up @@ -2199,7 +2199,7 @@ Namespace DataTests.Northwind.LTS
''' <summary>
''' Gets or sets the associated <see cref="Region"/> entity.
''' </summary>
<Association("Region_Territory", "RegionID", "RegionID", IsForeignKey:=true)> _
<EntityAssociation("Region_Territory", New String() {"RegionID"}, New String() {"RegionID"}, IsForeignKey:=true)> _
Public Property Region() As Region
Get
If (Me._region Is Nothing) Then
Expand Down
Loading

0 comments on commit 44709a1

Please sign in to comment.