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