public ODataBatch(string urlBase)
        {
            this.RequestBuilder = new BatchRequestBuilder(urlBase);
            this.RequestRunner = new BatchRequestRunner(this.RequestBuilder);

            this.RequestBuilder.BeginBatch();
            _active = true;
        }
Exemple #2
0
        public ODataBatch(string urlBase)
        {
            this.RequestBuilder = new BatchRequestBuilder(urlBase);
            this.RequestRunner  = new BatchRequestRunner(this.RequestBuilder);

            this.RequestBuilder.BeginBatch();
            _active = true;
        }
        public ODataBatch(ODataClientSettings settings)
        {
            this.Settings = settings;
            this.RequestBuilder = new BatchRequestBuilder(this.Settings.UrlBase, this.Settings.Credentials);
            this.RequestRunner = new BatchRequestRunner(this.RequestBuilder);

            this.RequestBuilder.BeginBatch();
            _active = true;
        }