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