Browse Source

Made LinkedEntity a BaseObject

Kenric Nugteren 2 năm trước cách đây
mục cha
commit
2a3203f008

+ 1 - 1
prs.classes/Entities/Product/Attribute/ProductStyleLink.cs

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

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

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

+ 1 - 1
prs.classes/Entities/Product/ProductLink.cs

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

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

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

+ 1 - 1
prs.classes/Entities/Stock/StockDimensions.cs

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

+ 1 - 1
prs.classes/Entities/Stock/StockLocation/StockLocationLink.cs

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

+ 1 - 1
prs.classes/Entities/TaxCode/TaxCodeLink.cs

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