Open Closed

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


User avatar
0
vijay.nallala created
  • 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 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team 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 created

    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 created
    Support Team 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 created
    Support Team Automatic process manager

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

Made with ❤️ on ABP v9.1.0-preview. Updated on November 19, 2024, 12:56