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.
This commit is contained in:
parent
474cb99754
commit
65bf004808
|
|
@ -6,7 +6,7 @@ using Nop.Core.Domain.Customers;
|
||||||
|
|
||||||
namespace Mango.Nop.Core.Dtos;
|
namespace Mango.Nop.Core.Dtos;
|
||||||
|
|
||||||
[AcBinarySerializable(false, true, false, true, false)]
|
[AcBinarySerializable(false, true, false, true, false, false)]
|
||||||
[LinqToDB.Mapping.Table(Name = nameof(Customer))]
|
[LinqToDB.Mapping.Table(Name = nameof(Customer))]
|
||||||
[System.ComponentModel.DataAnnotations.Schema.Table(nameof(Customer))]
|
[System.ComponentModel.DataAnnotations.Schema.Table(nameof(Customer))]
|
||||||
[ToonDescription($"Data transfer object for {nameof(Customer)}", TypeRelation = ToonTypeRelation.DtoOf, RelatedTypes = [typeof(Customer)])]
|
[ToonDescription($"Data transfer object for {nameof(Customer)}", TypeRelation = ToonTypeRelation.DtoOf, RelatedTypes = [typeof(Customer)])]
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ namespace Nop.Core.Domain.Customers;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents a customer
|
/// Represents a customer
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[AcBinarySerializable(false, true, false, true, false)]
|
[AcBinarySerializable(false, true, false, true, false, false)]
|
||||||
[ToonDescription("NopCommerce customer entity")]
|
[ToonDescription("NopCommerce customer entity")]
|
||||||
public partial class Customer : BaseEntity, ISoftDeletedEntity
|
public partial class Customer : BaseEntity, ISoftDeletedEntity
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ namespace Nop.Core.Domain.Customers;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents a customer role
|
/// Represents a customer role
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[AcBinarySerializable(false, true, false, true, false)]
|
[AcBinarySerializable(false, true, false, true, false, false)]
|
||||||
public partial class CustomerRole : BaseEntity
|
public partial class CustomerRole : BaseEntity
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ namespace Nop.Core.Domain.Common;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents a generic attribute
|
/// Represents a generic attribute
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[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")]
|
[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
|
public partial class GenericAttribute : BaseEntity
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ namespace Nop.Core.Domain.Orders;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents an order
|
/// Represents an order
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[AcBinarySerializable(false, true, false, true, false)]
|
[AcBinarySerializable(false, true, false, true, false, false)]
|
||||||
[ToonDescription("NopCommerce order entity with payment and shipping")]
|
[ToonDescription("NopCommerce order entity with payment and shipping")]
|
||||||
public partial class Order : BaseEntity, ISoftDeletedEntity
|
public partial class Order : BaseEntity, ISoftDeletedEntity
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ using AyCode.Core.Serializers.Toons;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents an order item
|
/// Represents an order item
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[AcBinarySerializable(false, true, false, true, false)]
|
[AcBinarySerializable(false, true, false, true, false, false)]
|
||||||
[ToonDescription("NopCommerce order item entity")]
|
[ToonDescription("NopCommerce order item entity")]
|
||||||
public partial class OrderItem : BaseEntity
|
public partial class OrderItem : BaseEntity
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ namespace Nop.Core.Domain.Orders;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents an order note
|
/// Represents an order note
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[AcBinarySerializable(false, true, false, true, false)]
|
[AcBinarySerializable(false, true, false, true, false, false)]
|
||||||
[ToonDescription("NopCommerce order note entity")]
|
[ToonDescription("NopCommerce order note entity")]
|
||||||
public partial class OrderNote : BaseEntity
|
public partial class OrderNote : BaseEntity
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ namespace Nop.Core.Domain.Catalog;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents a product
|
/// Represents a product
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[AcBinarySerializable(false, true, false, true, false)]
|
[AcBinarySerializable(false, true, false, true, false, false)]
|
||||||
[ToonDescription("Core nopCommerce product entity with catalog, pricing, and inventory management")]
|
[ToonDescription("Core nopCommerce product entity with catalog, pricing, and inventory management")]
|
||||||
public partial class Product : BaseEntity, ILocalizedEntity, ISlugSupported, IAclSupported, IStoreMappingSupported, IDiscountSupported<DiscountProductMapping>, ISoftDeletedEntity
|
public partial class Product : BaseEntity, ILocalizedEntity, ISlugSupported, IAclSupported, IStoreMappingSupported, IDiscountSupported<DiscountProductMapping>, ISoftDeletedEntity
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ public interface IMgStockQuantityHistory
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents a stock quantity change entry
|
/// Represents a stock quantity change entry
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[AcBinarySerializable(false, true, false, true, false)]
|
[AcBinarySerializable(false, true, false, true, false, false)]
|
||||||
[Table(Name = nameof(StockQuantityHistory))]
|
[Table(Name = nameof(StockQuantityHistory))]
|
||||||
[ToonDescription("NopCommerce stock movement log", Purpose = "Audit trail for physical and logical stock movements")]
|
[ToonDescription("NopCommerce stock movement log", Purpose = "Audit trail for physical and logical stock movements")]
|
||||||
public partial class StockQuantityHistory : BaseEntity, IMgStockQuantityHistory
|
public partial class StockQuantityHistory : BaseEntity, IMgStockQuantityHistory
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue