Remove virtual keyword in [NotMapped]
This commit is contained in:
1 parent
bfe6363d95
commit
b70608966d
1 file changed
+1
-1
@@ -165,7 +165,7 @@ namespace Elwig.Models {
|
||||
public virtual ISet<AreaCom> AreaCommitments { get; private set; }
|
||||
|
||||
[NotMapped]
|
||||
public virtual IEnumerable<AreaCom> ActiveAreaCommitments => AreaCommitments
|
||||
public IEnumerable<AreaCom> ActiveAreaCommitments => AreaCommitments
|
||||
.Where(c => c.YearFrom <= Utils.CurrentSeason && (c.YearTo ?? int.MaxValue) >= Utils.CurrentSeason);
|
||||
|
||||
[InverseProperty("Member")]
|
||||
|
||||
Reference in new issue
Block a user