1 write to Context
System.Data.Services.Client (1)
System\Data\Services\Client\DataServiceContext.cs (1)
4136this.Context = context;
20 references to Context
System.Data.Services.Client (20)
System\Data\Services\Client\DataServiceContext.cs (20)
4592req = this.Context.CreateRequest(box, entry.State, replaceOnUpdate); 4598return this.Context.CreateRequest((LinkDescriptor)entry); 4635entityDescriptor.GetResourceUri(this.Context.baseUriWithSlash, false /*queryLink*/), 4720Uri requestUri = box.GetEditMediaResourceUri(this.Context.baseUriWithSlash); 4758HttpWebRequest mediaResourceRequest = this.Context.CreateRequest( 4820return new PerRequest.ContentStream(this.Context.CreateRequestData(box, newline), true); 4830return new PerRequest.ContentStream(this.Context.CreateRequestData(link, newline), true); 4946this.Context.AttachLocation(entityDescriptor.Entity, location); 5050Uri requestUri = Util.CreateUri(this.Context.baseUriWithSlash, Util.CreateUri("$batch", UriKind.Relative)); 5052HttpWebRequest httpWebRequest = this.Context.CreateRequest(requestUri, XmlConstants.HttpMethodPost, false, contentType, Util.DataServiceVersion1, false); 5088Uri requestUri = Util.CreateUri(this.Context.baseUriWithSlash, this.Queries[i].QueryComponents.Uri); 5159this.Context.CreateRequestBatch(entityDescriptor, text, replaceOnUpdate); 5163this.Context.CreateRequestBatch((LinkDescriptor)entry, text); 5443MaterializeAtom materializer = DataServiceRequest.Materialize(this.Context, query.QueryComponents, null, contentType, batch.GetContentStream()); 5467if (this.Context.ignoreResourceNotFoundException && status == HttpStatusCode.NotFound) 5505operationCount += this.Context.SaveResultProcessed(entry); 5581using (MaterializeAtom atom = new MaterializeAtom(this.Context, reader, qc, null, mergeOption)) 5583this.Context.HandleResponsePost(entityDescriptor, atom, editLink, etag); 5602this.Context.HandleResponsePost(entityDescriptor, null /*materializer*/, editLink, etag); 5621this.Context.HandleResponseDelete(entry);