protected override async Task <MsBuildItemList> AssignUpsertedReferences(MsBuildItemList record) { record.ListIdentifier = await _strings.UpsertAsync(record.ListIdentifier); record.ListIdentifierId = record.ListIdentifier?.AsciiStringReferenceId ?? record.ListIdentifierId; return(record); }
protected override Expression <Func <MsBuildItemList, bool> > FindExisting(MsBuildItemList record) => existing => existing.ListIdentifierId == record.ListIdentifierId;
protected override IEnumerable <object> EnumerateReferences(MsBuildItemList record) { yield return(record.ListIdentifier); yield return(record.MsBuildItemListAssociations); }