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