Aperto Chiuso

Customize the Audit Entity and Guid to Int (Auto Sequence) #1282


User avatar
0
vijay.nallala creato
  • ABP Framework version: 4.3.0
  • UI type:MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): YES
  • Exception message and stack trace:
  • Steps to reproduce the issue: Hello Abp,

I am trying to create the EFCore Oracle tables, but we need have all tables as PK as Int or Long or Decimal .. Is there any way custmizse. as you ASP.NET ALL TABLES AS custom ID

we need to merge or do the same column and table names.


4 risposte
  • User Avatar
    0
    maliming creato
    Team di supporto Fullstack Developer

    hi vijay.nallala

    There is no way to change PK of entities that in modules. You can only change yours.

  • User Avatar
    0
    vijay.nallala creato

    so how can get my cutom propertiy if have added as USER_ID_NH (DEFAULT SEQ),, Then get this value from token

    let say if have added USER_ID AS CUSTOM FILED, this can get from token as token claims

  • User Avatar
    0
    maliming creato
    Team di supporto Fullstack Developer

    hi

    You can add your property to claims.

    https://docs.abp.io/en/abp/4.3/Authorization#claims-principal-factory

  • User Avatar
    0
    ServiceBot creato
    Team di supporto Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v8.2.0-preview Updated on marzo 25, 2024, 15:11