Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

How To: Convert an Entity from a single surrogate Id key to a composite key. #7729


User avatar
0
sean.alford created

It is our understanding that the RAD tool currently only supports a single surrogate ID for each entity.

I read here https://docs.abp.io/en/abp/latest/Entities that we can use the non-generic Entity class for Entities with composite keys. We would also need to use IRepository since IRepository<TEntity, TKey> only support a single TKey.

We have a mix of Entity types. Some use a single surrogate Id, while others require composite keys.

If we use the RAD Tool to scaffold out the code for an entity with a surrogate Id, what changes (files/classes) would we need to make to convert it to a composite key?


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    The content of this document does not apply to Zero( https://docs.abp.io/en/abp/latest/Entities )

  • User Avatar
    0
    ismcagdas created
    Support Team

    This issue is closed because it has not had recent activity for a long time.