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