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