Could you please give me more ideas/examples how to create the relationship for different Modules. It will not hard if in same module. But for the different module, the class has to use other module's class, which will cause some issues.
Thanks,
Scenario: I use suite to create two Module template: 1, CategoryCenter, 2, ProductCenter
In CategoryCenter, I have two aggregate: Brand, and CategoryEnd. In ProductCenter, I have one aggregate: Product.
Product could have many brand, so it was M:M relationship. product could have many category, so it was M:M relationship.
I follow the OrganizationUnit of Identity to create the relationship for them.
So, in productcenter, I create two entity: ProductBrand, ProductCategory which is the other tables. And I add them into product aggregate, see below picture.
And In ProductCenterDbContextModelCreatingExtensions, I configure like OrganizationUnit of Identity. see below picutures.
When I execute: add-migration ..... it has below error: The property 'Brand.ExtraProperties' could not be mapped because it is of type 'ExtraPropertyDictionary', which is not a supported primitive type or a valid entity type. Either explicitly map this property, or ignore it using the '[NotMapped]' attribute or by using 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.
ABP Framework version: v4.3.3 UI type: Angular DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): yes
With suite, I create some entity and angular CRUD UI. All works. Now, I need to add some DTO and Api, which are special, and need I manually to add them.
My question is: How should I create DTO Model and Api in the Angular Part?
I try to use Cli "abp generate-proxy", it seems work for it. But I see the code created by Suite and Cli are different.
Test: I use suite to create entity "Order" and "OrderItem" for both backend and frontend (Angular), all works. Then, I use Cli "abp generate-proxy" to do one more time. the code are different. But all works.
So I worry about, if I use suite to create most my code. And I need to manually add DTO and Api, with Cli, they are different.
I will close this one.
Just list the "seems" bugs. Let me know if you have any questions.
thx
Here the version: ABP Framework version: v4.3.2 UI type: Angular DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): yes Exception message and stack trace: Steps to reproduce the issue:
MySql
Thank you for your explanation. I will close this.
Thx, I will try this shortly later.
Seems??? : Another bug for the suite. Both module and application has the same issue.
Database: MySql
The angular ui seems check bool as integer. (New Buttton only) (Edit works) I created root entity with the bool property. But the UI "new button" will check bool validation(int).
================================ ABP Framework version: v4.3.2 UI type: Angular DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): yes Exception message and stack trace: Steps to reproduce the issue:
Hi maliming,
Yes it works. Thank you so much!
Another quesion: What was (Angular account UI) used for? What are they used for? I used Angular Seperated Ids4. I know it was designed by mvc razor.
Thx
I seach code, it seems should change from Account.cshtml in Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic But I donot have the commercial source code for that.
Letpon is open source for you!
abp get-source Volo.LeptonTheme
Yes, Sorry, I use the button "Replace packages with source code" to replace it.
Now I try "abp get-source Volo.LeptonTheme", they are different.
Thx, will let you know the result. I will test it. thanks.