Make KgNr optional in AT_Ort
This commit is contained in:
@ -16,7 +16,7 @@ namespace WGneu.Models {
|
||||
public int Gkz { get; set; }
|
||||
|
||||
[Column("kgnr")]
|
||||
public int KgNr { get; set; }
|
||||
public int? KgNr { get; set; }
|
||||
|
||||
[Column("name")]
|
||||
public string Name { get; set; }
|
||||
@ -25,6 +25,6 @@ namespace WGneu.Models {
|
||||
public virtual AT_Gem Gem { get; set; }
|
||||
|
||||
[ForeignKey("KgNr")]
|
||||
public virtual AT_Kg Kg { get; set; }
|
||||
public virtual AT_Kg? Kg { get; set; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user