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

[EFCORE] order columns for auditedEntity #6830


User avatar
0
daws created

Hello guys,

i think i already saw this question/response few months ago but i can't find it back. (sorry for my poor research)

i'm using aspnetzero 6.7 (efcore + angular).

Columns for AuditedEntity are set at the start of the table in dbmigration. Is there anyway to declare them at the end ?

maybe declaring them explicitly (+ovveride) in the class a the correct position could do the trick but i was thinking if there was anything simplier.

thanks !


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

    Is it similar to this? https://github.com/aspnetzero/aspnet-zero-core/issues/175

  • User Avatar
    0
    daws created

    It could do the trick but it's more for inherited class that i was speaking.

    More like this one in fact : https://github.com/aspnet/EntityFrameworkCore/issues/11314

    It's scheduled for EF CORE 3.0 (second half of 2019)

    I close the ticket & we'll wait until 3.0 release.

    (sorry, I was tired yesterday; i found it in 30seconds today)

    thanks !