Beispiel #1
0
 protected override IEnumerable <object> EnumerateReferences(ConstructorBaseInitializer record)
 {
     yield return(record.ArgumentList);
 }
Beispiel #2
0
 protected override Expression <Func <ConstructorBaseInitializer, bool> > FindExisting(ConstructorBaseInitializer record)
 => existing => existing.ArgumentListId == record.ArgumentListId;
Beispiel #3
0
        protected override async Task <ConstructorBaseInitializer> AssignUpsertedReferences(ConstructorBaseInitializer record)
        {
            record.ArgumentList = await _argumentLists.UpsertAsync(record.ArgumentList);

            record.ArgumentListId = record.ArgumentList?.ArgumentListId ?? record.ArgumentListId;
            return(record);
        }