コード例 #1
0
        public static async Task DeleteAsync <TEntity>(this DynamoDbContext context, TEntity entity, CancellationToken cancellationToken = default) where TEntity : class
        {
            using var httpContent = new DeleteEntityHighLevelHttpContent <TEntity>(context, entity);

            await context.ExecuteAsync <object>(httpContent, cancellationToken).ConfigureAwait(false);
        }