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