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