Activities of "sammy@projile.com"

Hello Liangshiwei, Thanks. I got some clarity but still struggling. I am summarizing all our discussion as per earlier threads as per attached link (i was not able to summarize all questions here and alignment was not working as expected).

https://xpertladr-my.sharepoint.com/:w:/p/shobhit/EXn5nb1DEvBAq-6EaZNdSY4BbpfHUuKHJNhHHdc9y3E5rg?e=b5dWgb

<br> <br>

Hello Liangshiwei, Regarding Point 7, i have looked into the provided url "https://docs.abp.io/en/abp/latest/Customizing-Application-Modules-Extending-Entities" and followed "Entity Extensions (EF Core)".

This approach has 3 steps:
  1. You provide the IdentityUser as the entity name, string as the type of the new property, SocialSecurityNumber as the property name (also, the field name in the database table).

  2. You also need to provide an action that defines the database mapping properties using the EF Core Fluent API.

  3. use the standard Add-Migration and Update-Database commands of the EF Core to create a code first migration class and update your database.

for 1st step i have done changes in "ezpandtrialEfCoreEntityExtensionMappings.cs" class like below: ObjectExtensionManager.Instance .MapEfCoreProperty<IdentityUser, string>( "SocialSecurityNumber", (entityBuilder, propertyBuilder) => { propertyBuilder.HasMaxLength(128); } );

I am not sure what exactactly changes i need to do in 2nd step. Please guide.

Hello Liangshiwei, Thanks for response. Still i have confusion:

1- Regarding Point 1: The tenant management UI can set connection string and run the DbMigrator application to create database(you can also generate by code). My Assumption: Steps are: 1- create new tenant via Angular app. 2- Add new connection string in angular UI to point to new tenant DB. 3- Run the DbMigrator app without changing any configuration i.e. DB connection url.

       Please confirm.

2- Regarding Point 5: ABPRoles table has "isPublic" column. How i can get roles for any tenant if "isPublic" is 1. If we use roles across mulitple tenants and users will there be any functional challenges? My assumption is Roles are filtered based on "TenantId".

This problem has been resolved.

issue fixed by rearranging theme

Answer

Hi Team, Thanks. it is working now from api side. But how to get the angular module. I was expecting that angualr module will also get installed. Please help how to install angular module.

Showing 1 to 6 of 6 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11