System\Data\Services\DataService.cs (36)
95DataServiceConfiguration IDataService.Configuration
102DataServiceProviderWrapper IDataService.Provider
112DataServicePagingProviderWrapper IDataService.PagingProvider
128object IDataService.Instance
135DataServiceOperationContext IDataService.OperationContext
142DataServiceProcessingPipeline IDataService.ProcessingPipeline
149UpdatableWrapper IDataService.Updatable
160DataServiceStreamProviderWrapper IDataService.StreamProvider
186void IDataService.InternalApplyingExpansions(IQueryable queryable, ICollection<ExpandSegmentCollection> expandPaths)
219void IDataService.InternalHandleException(HandleExceptionArgs args)
266SegmentInfo IDataService.GetSegmentForContentId(string contentId)
278object IDataService.GetResource(RequestDescription description, int segmentIndex, string typeFullName)
281return Deserializer.GetResource(description.SegmentInfos[segmentIndex], typeFullName, ((IDataService)this), false /*checkForNull*/);
291void IDataService.DisposeDataSource()
326void IDataService.InternalOnStartProcessingRequest(ProcessRequestArgs args)
339void IDataService.InternalOnRequestQueryConstructed(IQueryable query)
395((IDataService)this).DisposeDataSource();
425((IDataService)this).DisposeDataSource();
542private static Message CreateMessage(MessageVersion version, string action, string contentType, Action<Stream> writer, IDataService service)
662private static void RaiseResponseVersionForMetadata(RequestDescription description, IDataService dataService)
696IDataService dataService)
830private static Action<Stream> SerializeResponseBody(RequestDescription description, IDataService dataService)
950IDataService service)
1008private static ContentFormat SelectMediaResourceContentType(object mediaLinkEntry, string acceptTypesText, IDataService service)
1027private static RequestDescription HandlePostOperation(RequestDescription description, IDataService dataService)
1097private static RequestDescription HandlePutOperation(RequestDescription description, IDataService dataService)
1136private static void HandleDeleteOperation(RequestDescription description, IDataService dataService)
1267private static Action<Stream> HandleInternalResources(RequestDescription description, IDataService dataService)
1322IDataService dataService)
1418private static ContentFormat ResolveUnknownFormat(RequestDescription description, object element, IDataService dataService)
1502IDataService dataService)
1596IDataService service, RequestDescription description, out ResourceSetWrapper container)
1621private static void HandleUnbindOperation(RequestDescription description, IDataService dataService)
2055((IDataService)this).InternalOnStartProcessingRequest(new ProcessRequestArgs(host.AbsoluteRequestUri, false /*isBatchOperation*/, this.operationContext));
2093private readonly IDataService dataService;
2143internal BatchDataService(IDataService dataService, BatchStream batchRequestStream, string batchBoundary)
System\Data\Services\ErrorHandler.cs (5)
64internal static void HandleBatchProcessException(IDataService service, DataServiceHostWrapper host, Exception exception, StreamWriter writer)
97internal static void HandleBatchRequestException(IDataService service, Exception exception, StreamWriter writer)
126internal static Action<Stream> HandleBeforeWritingException(Exception exception, IDataService service, string accept, string acceptCharset)
158internal static void HandleDuringWritingException(Exception exception, IDataService service, string contentType, IExceptionWriter exceptionWriter)
226private static Action<Stream> ProcessBenignException(Exception exception, IDataService service)
System\Data\Services\Parsing\RequestQueryParser.cs (5)
39internal static IQueryable OrderBy(IDataService service, IQueryable source, OrderingInfo orderingInfo)
75internal static IQueryable Where(IDataService service, ResourceSetWrapper setForIt, ResourceType typeForIt, IQueryable source, string predicate)
99private static LambdaExpression ParseLambdaForWhere(IDataService service, ResourceSetWrapper setForIt, ResourceType typeForIt, Type queryElementType, string expression)
185private readonly IDataService service;
221internal ExpressionParser(IDataService service, ResourceSetWrapper setForIt, ResourceType typeForIt, ParameterExpression parameterForIt, string expression)
System\Data\Services\RequestUriProcessor.cs (5)
68internal static RequestDescription ProcessRequestUri(Uri absoluteRequestUri, IDataService service)
376internal static KeyInstance ExtractKeyValuesFromUri(Uri absoluteRequestUri, IDataService service, out string containerName)
463private static SegmentInfo CreateFirstSegment(IDataService service, string identifier, bool checkRights, string queryPortion, bool isLastSegment, out bool crossReferencingUrl)
641private static bool ShouldRequestQuery(IDataService service, bool isLastSegment, bool isAfterLink, string queryPortion)
661private static SegmentInfo[] CreateSegments(string[] segments, IDataService service)
System\Data\Services\Serializers\Deserializer.cs (15)
33private readonly IDataService service;
54internal Deserializer(bool update, IDataService dataService, UpdateTracker tracker)
88protected IDataService Service
139internal static Deserializer CreateDeserializer(RequestDescription description, IDataService dataService, bool update, UpdateTracker tracker)
231internal static RequestDescription HandlePutRequest(RequestDescription description, IDataService dataService, Stream stream)
371internal static object GetResourceToModify(RequestDescription description, IDataService service, out object entityResource, out ResourceSetWrapper container)
388IDataService service,
504internal static void ModifyResource(RequestDescription description, object resourceToBeModified, object requestValue, ContentFormat contentFormat, IDataService service)
538internal static object GetResource(SegmentInfo segmentInfo, string fullTypeName, IDataService service, bool checkForNull)
569internal static object CreateMediaLinkEntry(string fullTypeName, Stream requestStream, IDataService service, RequestDescription description, UpdateTracker tracker)
590internal static void SetStreamPropertyValue(object resourceToBeModified, Stream requestStream, IDataService service, RequestDescription description)
637internal static bool IsCrossReferencedSegment(SegmentInfo segmentInfo, IDataService service)
655internal static object HandleBindOperation(RequestDescription description, object linkResource, IDataService service, UpdateTracker tracker)
783protected static void SetPropertyValue(ResourceProperty resourceProperty, object declaringResource, object propertyValue, ContentFormat contentFormat, IDataService service)
811protected static void SetOpenPropertyValue(object declaringResource, string propertyName, object propertyValue, IDataService service)