Explorar o código

Fixed some bugs

Kenric Nugteren %!s(int64=2) %!d(string=hai) anos
pai
achega
9aff910d4e

+ 1 - 1
prs.classes/Entities/Bill/BillLink.cs

@@ -9,7 +9,7 @@ namespace Comal.Classes
         {
         }
 
-        public BillLink(Func<Entity>? entity) : base(entity)
+        public BillLink(Func<BaseObject>? entity) : base(entity)
         {
             SupplierLink = new SupplierLink();
         }

+ 1 - 1
prs.classes/Entities/Customer/CustomerLink.cs

@@ -21,7 +21,7 @@ namespace Comal.Classes
         {
         }
 
-        public CustomerLink(Func<Entity>? entity) : base(entity)
+        public CustomerLink(Func<BaseObject>? entity) : base(entity)
         {
             Account = new AccountLink();
             Delivery = new Address();

+ 1 - 1
prs.classes/Entities/Employee/EmployeeLink.cs

@@ -9,7 +9,7 @@ namespace Comal.Classes
         {
         }
 
-        public EmployeeLink(Func<Entity>? entity) : base(entity)
+        public EmployeeLink(Func<BaseObject>? entity) : base(entity)
         {
             UserLink = new UserLink();
             Group = new EmployeeGroupLink();

+ 1 - 1
prs.classes/Entities/Product/ProductDimensions/ProductDimensionUnitLink.cs

@@ -10,7 +10,7 @@ namespace Comal.Classes
         {
         }
 
-        public ProductDimensionUnitLink(Func<Entity>? entity) : base(entity)
+        public ProductDimensionUnitLink(Func<BaseObject>? entity) : base(entity)
         {
         }
 

+ 1 - 1
prs.classes/Entities/PurchaseOrder/PurchaseOrderLink.cs

@@ -11,7 +11,7 @@ namespace Comal.Classes
             Category = new PurchaseOrderCategoryLink();
         }
 
-        public PurchaseOrderLink(Func<Entity>? entity) : base(entity)
+        public PurchaseOrderLink(Func<BaseObject>? entity) : base(entity)
         {
             SupplierLink = new SupplierLink();
             Category = new PurchaseOrderCategoryLink();

+ 1 - 1
prs.classes/Entities/Quote/QuoteTakeoff/QuoteTakeOffUnitLink.cs

@@ -10,7 +10,7 @@ namespace Comal.Classes
         {
         }
 
-        public QuoteTakeOffUnitLink(Func<Entity>? entity) : base(entity)
+        public QuoteTakeOffUnitLink(Func<BaseObject>? entity) : base(entity)
         {
         }
 

+ 1 - 1
prs.classes/Entities/Shipment/ShipmentLink.cs

@@ -9,7 +9,7 @@ namespace Comal.Classes
         {
         }
 
-        public ShipmentLink(Func<Entity> parent) : base(parent)
+        public ShipmentLink(Func<BaseObject>? parent) : base(parent)
         {
         }
 

+ 1 - 1
prs.classes/Entities/Supplier/SupplierLink.cs

@@ -9,7 +9,7 @@ namespace Comal.Classes
         {
         }
 
-        public SupplierLink(Func<Entity>? entity) : base(entity)
+        public SupplierLink(Func<BaseObject>? entity) : base(entity)
         {
         }