Remove virtual keyword in [NotMapped]
This commit is contained in:
@ -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