79200325

Date: 2024-11-18 14:34:38
Score: 0.5
Natty:
Report link

Well, I've solved my problem by renaming property and setting datastore column name to old name to assure existing data still be valid:

internal class ThirdpartyInfo
{
    public int UserId { get; set; }
    [Column("MyObjectId")]
    public int ObjId { get; set; }
}

Then EF Core throws no warnings while running.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: kosmo