Exemplo n.º 1
0
        protected override async Task <UsingDirectiveList> AssignUpsertedReferences(UsingDirectiveList record)
        {
            record.ListIdentifier = await _strings.UpsertAsync(record.ListIdentifier);

            record.ListIdentifierId = record.ListIdentifier?.AsciiStringReferenceId ?? record.ListIdentifierId;
            return(record);
        }
Exemplo n.º 2
0
 protected override Expression <Func <UsingDirectiveList, bool> > FindExisting(UsingDirectiveList record)
 => existing => existing.ListIdentifierId == record.ListIdentifierId;
Exemplo n.º 3
0
        protected override IEnumerable <object> EnumerateReferences(UsingDirectiveList record)
        {
            yield return(record.UsingDirectiveListAssociations);

            yield return(record.ListIdentifier);
        }
 public static UsingDirectiveList Merge(this UsingDirectiveList instance, in UsingDirectiveList given)