From 65bf004808197c0c4f41775b0a4748ab1b140aa0 Mon Sep 17 00:00:00 2001 From: Loretta Date: Fri, 15 May 2026 08:41:59 +0200 Subject: [PATCH] Update AcBinarySerializable attribute signature Updated all affected entities to use the new AcBinarySerializable attribute signature, adding an extra boolean parameter (false) as the last argument. No other logic or code was changed. --- Mango.Nop.Core/Dtos/CustomerDto.cs | 2 +- Mango.Nop.Core/NopDependencies/Catalogs/Customer.cs | 2 +- Mango.Nop.Core/NopDependencies/Catalogs/CustomerRole.cs | 2 +- Mango.Nop.Core/NopDependencies/Catalogs/GenericAttribute.cs | 2 +- Mango.Nop.Core/NopDependencies/Catalogs/Order.cs | 2 +- Mango.Nop.Core/NopDependencies/Catalogs/OrderItem.cs | 2 +- Mango.Nop.Core/NopDependencies/Catalogs/OrderNote.cs | 2 +- Mango.Nop.Core/NopDependencies/Catalogs/Product.cs | 2 +- Mango.Nop.Core/NopDependencies/Catalogs/StockQuantityHistory.cs | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Mango.Nop.Core/Dtos/CustomerDto.cs b/Mango.Nop.Core/Dtos/CustomerDto.cs index cb3ea4b..23c4424 100644 --- a/Mango.Nop.Core/Dtos/CustomerDto.cs +++ b/Mango.Nop.Core/Dtos/CustomerDto.cs @@ -6,7 +6,7 @@ using Nop.Core.Domain.Customers; namespace Mango.Nop.Core.Dtos; -[AcBinarySerializable(false, true, false, true, false)] +[AcBinarySerializable(false, true, false, true, false, false)] [LinqToDB.Mapping.Table(Name = nameof(Customer))] [System.ComponentModel.DataAnnotations.Schema.Table(nameof(Customer))] [ToonDescription($"Data transfer object for {nameof(Customer)}", TypeRelation = ToonTypeRelation.DtoOf, RelatedTypes = [typeof(Customer)])] diff --git a/Mango.Nop.Core/NopDependencies/Catalogs/Customer.cs b/Mango.Nop.Core/NopDependencies/Catalogs/Customer.cs index ea5e569..920b2aa 100644 --- a/Mango.Nop.Core/NopDependencies/Catalogs/Customer.cs +++ b/Mango.Nop.Core/NopDependencies/Catalogs/Customer.cs @@ -8,7 +8,7 @@ namespace Nop.Core.Domain.Customers; /// /// Represents a customer /// -[AcBinarySerializable(false, true, false, true, false)] +[AcBinarySerializable(false, true, false, true, false, false)] [ToonDescription("NopCommerce customer entity")] public partial class Customer : BaseEntity, ISoftDeletedEntity { diff --git a/Mango.Nop.Core/NopDependencies/Catalogs/CustomerRole.cs b/Mango.Nop.Core/NopDependencies/Catalogs/CustomerRole.cs index 2340f65..980e90e 100644 --- a/Mango.Nop.Core/NopDependencies/Catalogs/CustomerRole.cs +++ b/Mango.Nop.Core/NopDependencies/Catalogs/CustomerRole.cs @@ -5,7 +5,7 @@ namespace Nop.Core.Domain.Customers; /// /// Represents a customer role /// -[AcBinarySerializable(false, true, false, true, false)] +[AcBinarySerializable(false, true, false, true, false, false)] public partial class CustomerRole : BaseEntity { /// diff --git a/Mango.Nop.Core/NopDependencies/Catalogs/GenericAttribute.cs b/Mango.Nop.Core/NopDependencies/Catalogs/GenericAttribute.cs index 2f232e7..2f78140 100644 --- a/Mango.Nop.Core/NopDependencies/Catalogs/GenericAttribute.cs +++ b/Mango.Nop.Core/NopDependencies/Catalogs/GenericAttribute.cs @@ -6,7 +6,7 @@ namespace Nop.Core.Domain.Common; /// /// Represents a generic attribute /// -[AcBinarySerializable(false, true, false, true, false)] +[AcBinarySerializable(false, true, false, true, false, false)] [ToonDescription("NopCommerce generic attribute for key-value storage", Purpose = "A flexible key-value store used to extend entities with custom business logic data without changing the database schema")] public partial class GenericAttribute : BaseEntity { diff --git a/Mango.Nop.Core/NopDependencies/Catalogs/Order.cs b/Mango.Nop.Core/NopDependencies/Catalogs/Order.cs index e9d5c24..27bb899 100644 --- a/Mango.Nop.Core/NopDependencies/Catalogs/Order.cs +++ b/Mango.Nop.Core/NopDependencies/Catalogs/Order.cs @@ -10,7 +10,7 @@ namespace Nop.Core.Domain.Orders; /// /// Represents an order /// -[AcBinarySerializable(false, true, false, true, false)] +[AcBinarySerializable(false, true, false, true, false, false)] [ToonDescription("NopCommerce order entity with payment and shipping")] public partial class Order : BaseEntity, ISoftDeletedEntity { diff --git a/Mango.Nop.Core/NopDependencies/Catalogs/OrderItem.cs b/Mango.Nop.Core/NopDependencies/Catalogs/OrderItem.cs index 2568822..ab4494c 100644 --- a/Mango.Nop.Core/NopDependencies/Catalogs/OrderItem.cs +++ b/Mango.Nop.Core/NopDependencies/Catalogs/OrderItem.cs @@ -7,7 +7,7 @@ using AyCode.Core.Serializers.Toons; /// /// Represents an order item /// -[AcBinarySerializable(false, true, false, true, false)] +[AcBinarySerializable(false, true, false, true, false, false)] [ToonDescription("NopCommerce order item entity")] public partial class OrderItem : BaseEntity { diff --git a/Mango.Nop.Core/NopDependencies/Catalogs/OrderNote.cs b/Mango.Nop.Core/NopDependencies/Catalogs/OrderNote.cs index 8999afb..47317ea 100644 --- a/Mango.Nop.Core/NopDependencies/Catalogs/OrderNote.cs +++ b/Mango.Nop.Core/NopDependencies/Catalogs/OrderNote.cs @@ -6,7 +6,7 @@ namespace Nop.Core.Domain.Orders; /// /// Represents an order note /// -[AcBinarySerializable(false, true, false, true, false)] +[AcBinarySerializable(false, true, false, true, false, false)] [ToonDescription("NopCommerce order note entity")] public partial class OrderNote : BaseEntity { diff --git a/Mango.Nop.Core/NopDependencies/Catalogs/Product.cs b/Mango.Nop.Core/NopDependencies/Catalogs/Product.cs index 51e1e4e..10eccc0 100644 --- a/Mango.Nop.Core/NopDependencies/Catalogs/Product.cs +++ b/Mango.Nop.Core/NopDependencies/Catalogs/Product.cs @@ -12,7 +12,7 @@ namespace Nop.Core.Domain.Catalog; /// /// Represents a product /// -[AcBinarySerializable(false, true, false, true, false)] +[AcBinarySerializable(false, true, false, true, false, false)] [ToonDescription("Core nopCommerce product entity with catalog, pricing, and inventory management")] public partial class Product : BaseEntity, ILocalizedEntity, ISlugSupported, IAclSupported, IStoreMappingSupported, IDiscountSupported, ISoftDeletedEntity { diff --git a/Mango.Nop.Core/NopDependencies/Catalogs/StockQuantityHistory.cs b/Mango.Nop.Core/NopDependencies/Catalogs/StockQuantityHistory.cs index 4334f99..d0a4b00 100644 --- a/Mango.Nop.Core/NopDependencies/Catalogs/StockQuantityHistory.cs +++ b/Mango.Nop.Core/NopDependencies/Catalogs/StockQuantityHistory.cs @@ -20,7 +20,7 @@ public interface IMgStockQuantityHistory /// /// Represents a stock quantity change entry /// -[AcBinarySerializable(false, true, false, true, false)] +[AcBinarySerializable(false, true, false, true, false, false)] [Table(Name = nameof(StockQuantityHistory))] [ToonDescription("NopCommerce stock movement log", Purpose = "Audit trail for physical and logical stock movements")] public partial class StockQuantityHistory : BaseEntity, IMgStockQuantityHistory