Revert "add lazy loading for entities"

This reverts commit ac6e4b51a9.
This commit is contained in:
hydrant
2019-05-13 18:05:25 +02:00
parent 33b98e3bbb
commit 27f6279429
23 changed files with 28 additions and 1308 deletions

View File

@@ -21,11 +21,11 @@ namespace ReallifeGamemode.Server.Entities.Logs
[ForeignKey("Victim")]
public int VictimId { get; set; }
public virtual User Victim { get; set; }
public User Victim { get; set; }
[ForeignKey("Killer")]
public int? KillerId { get; set; }
public virtual User Killer { get; set; }
public User Killer { get; set; }
public float VictimPositionX { get; set; }
public float VictimPositionY { get; set; }