Models: Use nameof() in InverseProperty
This commit is contained in:
@ -26,7 +26,7 @@ namespace Elwig.Models.Entities {
|
||||
[Column("po_box")]
|
||||
public bool IsPoBox { get; private set; }
|
||||
|
||||
[InverseProperty("AtPlz")]
|
||||
public virtual ISet<AT_PlzDest> Orte { get; private set; } = null!;
|
||||
[InverseProperty(nameof(AT_PlzDest.AtPlz))]
|
||||
public virtual ICollection<AT_PlzDest> Orte { get; private set; } = null!;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user