diff options
| Commit | 3410581312b1f1eb8607b8ca534cf4d8f1471d96 (patch) | |
|---|---|---|
| Author | 2021-02-19 18:28:16 +0200 | |
| Committer | 2021-02-19 18:28:16 +0200 | |
| Files | 6a3d3e73525f4ff18e1159b441366259f8bf831b /src/Data/DevHive.Data.Models/Role.cs | |
| DevHive-lazy_loading.tar DevHive-lazy_loading.tar.gz DevHive-lazy_loading.zip | ||
| Parent | 02cf7a097c781cd0ef9e844078e873fcda5a3fcd (diff) | |
Lazy loading craching VS Code on debug session lazy_loading
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | src/Data/DevHive.Data.Models/Role.cs | 2 |
diff --git a/src/Data/DevHive.Data.Models/Role.cs b/src/Data/DevHive.Data.Models/Role.cs index 0df556c..55fc9fc 100644 --- a/src/Data/DevHive.Data.Models/Role.cs +++ b/src/Data/DevHive.Data.Models/Role.cs @@ -12,6 +12,6 @@ namespace DevHive.Data.Models public const string DefaultRole = "User"; public const string AdminRole = "Admin"; - public HashSet<User> Users { get; set; } = new(); + public virtual HashSet<User> Users { get; set; } = new(); } } |
