Base solution for your next web application
Open Closed

Change datatype of field "CreatorUserId from long to string #8470


User avatar
0
mahendra created

We have created an Entity inherited from FullAuditedEntity of "Abp.Domain.Entities.Auditing" namespace. We want to change the datatype of field CreatorUserId from long to string. Can anybody suggest how it is possible ?

Any help would be much appreciated.

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

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

    hi

    This is impossible.

    Can you explain why you are doing this?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    mahendra created

    We have to keep the database structure as same as our desktop application. The reason we want to use these system fields(i.e. CreatorUserId, LastModifierUserId, etc. from the FullAuditedEntity) is that framework will automatically handle all data operations.

    Another option could be that we can create new fields but in that case, we will require to populate the data manually.

    Therefore we wanted to use these fields from FullAuditedEntity.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    aaron created
    Support Team
    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    This issue is closed because of no recent activity. Please create a new issue if you are still having this problem.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)