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