/// <summary> /// Add an AddEntity requests to the batch. /// </summary> /// <typeparam name="T"></typeparam> /// <param name="entity"></param> public virtual void AddEntity <T>(T entity) where T : class, ITableEntity, new() { _addMessages[entity.RowKey] = _batchOperations.AddInsertEntityRequest( _changeset, _table, null, null, _returnNoContent, tableEntityProperties: entity.ToOdataAnnotatedDictionary(), queryOptions: new QueryOptions() { Format = _format }); }