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