Starts in:
0 DAY
2 HRS
16 MIN
35 SEC
Starts in:
0 D
2 H
16 M
35 S

Activities of "abpVAndy"

Sorry is not Product. It is Order. Here is the whole class.

public class OrderLine : FullAuditedEntity<Guid>, IMultiTenant
{
    public const string DefaultSorting = "product.name asc";

    
    public virtual Guid? TenantId { get; set; }
    
    public virtual Guid OrderId { get; set; }
    
    public virtual Guid ProductId { get; set; }
    
    public virtual uint Count { get; set; }
    
    public virtual float StandardPrice { get; set; }
    
    public virtual float ActualPrice { get; set; }

    public virtual Order Order { get; set; }

    public virtual Product Product { get; set; }

    protected OrderLine()
    {

    }

    public OrderLine(Guid id)
    {
        Id = id;
    }

    public OrderLine(Guid id, Guid orderId, Guid productId, uint count, float standardPrice, float actualPrice, Guid? tenantId = null) : base(id)
    {
        TenantId = tenantId;
        OrderId = orderId;
        ProductId = productId;
        Count = count;
        StandardPrice = standardPrice;
        ActualPrice = actualPrice;
    }
}

Thanks @Sturla you sharing with me some ideas.

1, From I understanding, yes, we can mix domian. 2, mixing domain, the mixing code should be in DomainService, like xxxManager, instead of ApplicationService 3, For mixing domian, yes, I think your method is the only way, multiple calling "insert" of different domain. 4, Or use distribute event method.

I hope ABP Master could give us more detail ideas about it. Mix Domain is common scenario and what options we could select???

For Navigation property, I see their example code, all use below method, add nativation property in existing class. But ABP Suite create additional entity for it. Not know why it create additional entity???

public class Order : FullAuditedAggregateRoot<Guid>, IMultiTenant { public virtual ICollection<OrderLine> OrderLines { get; set; } }

public class OrderLine : FullAuditedEntity<Guid>, IMultiTenant { public virtual Product Product { get; set; } }

Any ideas? Need Help.

Thx

He want to know his code design is good or not or have any other suggetions about his code? Am I right?

I am also has some confuse about the navigation property.

I use abp suite to create navigation property, it create additional entity named: xxxWithNavigationProperties And I cannot find any code or description about it xxxWithNavigationProperties. No find in commercial examples: easy-crm and bookstore-angular-mongodb

Dose it has some docs about xxxWithNavigationProperties?

thx

The Navigation Property created by Abp Suite, will created another entity named xxxWithNavigationProperties??

Abp Suite will not create navigation property in the existing entity?

thx

Will commercial have Angular Public Website? Right now, it only have MVC for Public Website?

Thx

It seems the setting cannot customise? Could the commercial UI do this?

1, in the service, we add some settings: context.Add(new SettingDefinition(NnnMallSettings.MySetting1, "good", isVisibleToClients: true)); context.Add(new SettingDefinition(NnnMallSettings.MySetting2, "hello world", isVisibleToClients: true));

2, Could these settings be display in the UI? Angular

3, Could these settings be customise by user, input value/dropdownlist??

Thx

Thanks your reply.

Duplicate.

I create another item. and maliming has reply to me. https://support.abp.io/QA/Questions/1194/different-Commercial-level-has-diff-Tenant-class-And-Phone-registration

Resolved.

Thanks,

It seems commercial only have phone send and confirm. It does not have phone registration: RegisterAsync

Right?

Showing 71 to 80 of 83 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06