コード例 #1
0
 public virtual Task AddAsync(T entity) => Context.AddAsync(entity);
コード例 #2
0
 public virtual Task AddAsync(IEnumerable <T> entities)
 {
     return(Context.AddAsync(entities));
 }
コード例 #3
0
        public async Task AddTracking(RequestTracking tracking)
        {
            await context.AddAsync(tracking);

            await context.CommitAsync();
        }
コード例 #4
0
        public async Task AddTracking(RequestTracking tracking)
        {
            await context.AddAsync(tracking).ConfigureAwait(false);

            await context.CommitAsync().ConfigureAwait(false);
        }