add lazy loading for entities
This commit is contained in:
@@ -20,7 +20,7 @@ namespace ReallifeGamemode.Server.Entities
|
||||
|
||||
[ForeignKey("Faction")]
|
||||
public int FactionId { get; set; }
|
||||
public Faction Faction { get; set; }
|
||||
public virtual Faction Faction { get; set; }
|
||||
|
||||
public bool Gender { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user