2 instantiations of DataServiceOperationContext
System.Data.Services (2)
System\Data\Services\DataService.cs (2)
354
this.operationContext = new
DataServiceOperationContext
(host);
2641
DataServiceOperationContext operationContext = new
DataServiceOperationContext
(true /*isBatchRequest*/, host);
38 references to DataServiceOperationContext
System.Data.Services (38)
System\Data\Services\DataService.cs (13)
69
private
DataServiceOperationContext
operationContext;
135
DataServiceOperationContext
IDataService.OperationContext
647
private static void ValidateRequest(
DataServiceOperationContext
operationContext)
2117
private List<
DataServiceOperationContext
> batchOperationContexts = new List<
DataServiceOperationContext
>();
2123
private
DataServiceOperationContext
operationContext;
2192
public
DataServiceOperationContext
OperationContext
2351
DataServiceOperationContext
currentOperationContext = null;
2618
private static
DataServiceOperationContext
CreateOperationContextFromBatchStream(Uri absoluteServiceUri, BatchStream batchStream, HashSet<int> contentIds, string boundary, StreamWriter writer)
2641
DataServiceOperationContext
operationContext = new DataServiceOperationContext(true /*isBatchRequest*/, host);
2655
List<
DataServiceOperationContext
> changesetOperationContexts,
2668
DataServiceOperationContext
currentContext = changesetOperationContexts.Count == 0 ? null : changesetOperationContexts[changesetOperationContexts.Count - 1];
2745
DataServiceOperationContext
previousContext = this.batchOperationContexts[i];
System\Data\Services\DataServiceProcessingPipelineEventArgs.cs (3)
29
private readonly
DataServiceOperationContext
operationContext;
35
internal DataServiceProcessingPipelineEventArgs(
DataServiceOperationContext
operationContext)
44
public
DataServiceOperationContext
OperationContext
System\Data\Services\IDataService.cs (1)
49
DataServiceOperationContext
OperationContext
System\Data\Services\ProcessRequestArgs.cs (2)
36
internal ProcessRequestArgs(Uri requestUri, bool isBatchOperation,
DataServiceOperationContext
operationContext)
62
public
DataServiceOperationContext
OperationContext
System\Data\Services\Providers\DataServiceStreamProviderWrapper.cs (10)
148
internal Stream GetReadStream(object entity,
DataServiceOperationContext
operationContext)
211
internal Stream GetWriteStream(object entity,
DataServiceOperationContext
operationContext)
239
internal void DeleteStream(object entity,
DataServiceOperationContext
operationContext)
254
internal string GetStreamContentType(object entity,
DataServiceOperationContext
operationContext)
280
internal Uri GetReadStreamUri(object entity,
DataServiceOperationContext
operationContext, string mediaLinkEntryUri)
311
internal string GetStreamETag(object entity,
DataServiceOperationContext
operationContext)
337
DataServiceOperationContext
operationContext = service.OperationContext;
363
internal void GetStreamDescription(object entity,
DataServiceOperationContext
operationContext, string mediaLinkEntryUri, out string etag, out Uri readStreamUri, out string contentType)
403
private static void GetETagFromHeaders(
DataServiceOperationContext
operationContext, out string etag, out bool? checkETagForEquality)
435
private static T InvokeApiCallAndValidateHeaders<T>(string methodName, Func<T> apiCall,
DataServiceOperationContext
operationContext)
System\Data\Services\Providers\IDataServiceStreamProvider.cs (7)
96
Stream GetReadStream(object entity, string etag, bool? checkETagForEquality,
DataServiceOperationContext
operationContext);
152
Stream GetWriteStream(object entity, string etag, bool? checkETagForEquality,
DataServiceOperationContext
operationContext);
182
void DeleteStream(object entity,
DataServiceOperationContext
operationContext);
200
string GetStreamContentType(object entity,
DataServiceOperationContext
operationContext);
227
Uri GetReadStreamUri(object entity,
DataServiceOperationContext
operationContext);
243
string GetStreamETag(object entity,
DataServiceOperationContext
operationContext);
263
string ResolveType(string entitySetName,
DataServiceOperationContext
operationContext);
System\Data\Services\RequestUriProcessor.cs (2)
220
internal static Uri GetAbsoluteUriFromReference(string reference,
DataServiceOperationContext
operationContext)
286
internal static Uri GetResultUri(
DataServiceOperationContext
operationContext)