aboutsummaryrefslogtreecommitdiff
path: root/src/Data/DevHive.Data.Models/User.cs
diff options
context:
space:
mode:
authortranstrike <transtrike@gmail.com>2021-02-19 18:28:16 +0200
committertranstrike <transtrike@gmail.com>2021-02-19 18:28:16 +0200
commit3410581312b1f1eb8607b8ca534cf4d8f1471d96 (patch)
tree6a3d3e73525f4ff18e1159b441366259f8bf831b /src/Data/DevHive.Data.Models/User.cs
parent02cf7a097c781cd0ef9e844078e873fcda5a3fcd (diff)
downloadDevHive-lazy_loading.tar
DevHive-lazy_loading.tar.gz
DevHive-lazy_loading.zip
Lazy loading craching VS Code on debug sessionlazy_loading
Diffstat (limited to 'src/Data/DevHive.Data.Models/User.cs')
-rw-r--r--src/Data/DevHive.Data.Models/User.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Data/DevHive.Data.Models/User.cs b/src/Data/DevHive.Data.Models/User.cs
index bac5425..1c61eba 100644
--- a/src/Data/DevHive.Data.Models/User.cs
+++ b/src/Data/DevHive.Data.Models/User.cs
@@ -14,20 +14,20 @@ namespace DevHive.Data.Models
public string LastName { get; set; }
- public ProfilePicture ProfilePicture { get; set; } = new() { PictureURL = "/assets/images/feed/profile-pic.png" };
+ public virtual ProfilePicture ProfilePicture { get; set; } = new() { PictureURL = "/assets/images/feed/profile-pic.png" };
- public HashSet<Language> Languages { get; set; } = new();
+ public virtual HashSet<Language> Languages { get; set; } = new();
- public HashSet<Technology> Technologies { get; set; } = new();
+ public virtual HashSet<Technology> Technologies { get; set; } = new();
- public HashSet<Role> Roles { get; set; } = new();
+ public virtual HashSet<Role> Roles { get; set; } = new();
- public HashSet<Post> Posts { get; set; } = new();
+ public virtual HashSet<Post> Posts { get; set; } = new();
- public HashSet<User> Friends { get; set; } = new();
+ public virtual HashSet<User> Friends { get; set; } = new();
- public HashSet<Comment> Comments { get; set; } = new();
+ public virtual HashSet<Comment> Comments { get; set; } = new();
- public HashSet<RatedPost> RatedPosts { get; set; } = new();
+ public virtual HashSet<RatedPost> RatedPosts { get; set; } = new();
}
}