71 references to DataServiceContext
System.Data.Services.Client (68)
System\Data\Services\Client\ALinq\DataServiceQueryProvider.cs (2)
31internal readonly DataServiceContext Context; 35internal DataServiceQueryProvider(DataServiceContext context)
System\Data\Services\Client\ALinq\ExpressionWriter.cs (3)
37private readonly DataServiceContext context; 54private ExpressionWriter(DataServiceContext context) 69internal static string ExpressionToString(DataServiceContext context, Expression e)
System\Data\Services\Client\ALinq\UriWriter.cs (3)
32private readonly DataServiceContext context; 47private UriWriter(DataServiceContext context) 63internal static void Translate(DataServiceContext context, bool addTrailingParens, Expression e, out Uri uri, out Version version)
System\Data\Services\Client\AtomMaterializer.cs (7)
187private readonly DataServiceContext context; 251DataServiceContext context, 280internal DataServiceContext Context 1200private static bool MaterializeDataValue(Type type, AtomContentProperty atomProperty, DataServiceContext context) 1264DataServiceContext context) 1300private static void ApplyDataValue(ClientType type, AtomContentProperty property, bool ignoreMissingProperties, DataServiceContext context, object instance) 1357private static void ApplyDataValues(ClientType type, IEnumerable<AtomContentProperty> properties, bool ignoreMissingProperties, DataServiceContext context, object instance)
System\Data\Services\Client\AtomMaterializerLog.cs (2)
35private readonly DataServiceContext context; 67internal AtomMaterializerLog(DataServiceContext context, MergeOption mergeOption)
System\Data\Services\Client\Binding\BindingObserver.cs (2)
43internal BindingObserver(DataServiceContext context, Func<EntityChangedParams, bool> entityChanged, Func<EntityCollectionChangedParams, bool> collectionChanged) 60internal DataServiceContext Context
System\Data\Services\Client\Binding\DataServiceCollectionOfT.cs (11)
108public DataServiceCollection(DataServiceContext context) 119DataServiceContext context, 144/// <param name="context"><see cref="DataServiceContext"/> associated with the new collection.</param> 151DataServiceContext context, 197/// <param name="context"><see cref="DataServiceContext"/> associated with the new collection.</param> 207DataServiceContext context, 283DataServiceContext context = DataServiceCollection<T>.GetContextFromItems(items); 568private static DataServiceContext GetContextFromItems(IEnumerable<T> items) 577DataServiceContext context = queryProvider.Context; 586DataServiceContext context = queryOperationResponse.Results.Context; 670DataServiceContext context,
System\Data\Services\Client\Binding\EntityChangedParams.cs (3)
20private readonly DataServiceContext context; 51DataServiceContext context, 71public DataServiceContext Context
System\Data\Services\Client\Binding\EntityCollectionChangedParams.cs (3)
25private readonly DataServiceContext context; 68DataServiceContext context, 92public DataServiceContext Context
System\Data\Services\Client\DataServiceContext.cs (10)
2715Uri navigationPropertyUri = this.BaseUriWithSlash.MakeRelativeUri(DataServiceContext.GenerateEditLinkUri(this.BaseUriWithSlash, binding.SourceProperty, targetResource.Entity)); 3712internal LoadPropertyResult(object entity, string propertyName, DataServiceContext context, HttpWebRequest request, AsyncCallback callback, object state, DataServiceRequest dataServiceRequest, ProjectionPlan plan) 3728DataServiceContext context = (DataServiceContext)this.Source; 3832DataServiceContext context = (DataServiceContext)this.Source; 3956DataServiceContext context = (DataServiceContext)this.Source; 4044private readonly DataServiceContext Context; 4132internal SaveResult(DataServiceContext context, string method, DataServiceRequest[] queries, SaveChangesOptions options, AsyncCallback callback, object state, bool async)
System\Data\Services\Client\DataServiceRequest.cs (6)
75internal static MaterializeAtom Materialize(DataServiceContext context, QueryComponents queryComponents, ProjectionPlan plan, string contentType, Stream response) 119internal static IEnumerable<TElement> EndExecute<TElement>(object source, DataServiceContext context, IAsyncResult asyncResult) 155internal QueryOperationResponse<TElement> Execute<TElement>(DataServiceContext context, QueryComponents queryComponents) 194internal long GetQuerySetCount(DataServiceContext context) 253internal IAsyncResult BeginExecute(object source, DataServiceContext context, AsyncCallback callback, object state) 268private QueryResult CreateResult(object source, DataServiceContext context, AsyncCallback callback, object state)
System\Data\Services\Client\EntityDescriptor.cs (3)
75private DataServiceContext.DataServiceSaveStream saveStream; 299internal DataServiceContext.DataServiceSaveStream SaveStream 427DataServiceContext.DataServiceSaveStream stream = this.saveStream;
System\Data\Services\Client\GetReadStreamResult.cs (1)
152failure = DataServiceContext.GetResponseText(this.response.GetResponseStream, this.response.StatusCode);
System\Data\Services\Client\MaterializeFromAtom.cs (5)
46private readonly DataServiceContext context; 102internal MaterializeAtom(DataServiceContext context, XmlReader reader, QueryComponents queryComponents, ProjectionPlan plan, MergeOption mergeOption) 154private MaterializeAtom(DataServiceContext context, XmlReader reader, Type type, MergeOption mergeOption) 200internal DataServiceContext Context 545internal static ClientType GetEntryClientType(string typeName, DataServiceContext context, Type expectedType, bool checkAssignable)
System\Data\Services\Client\ProjectionPlanCompiler.cs (4)
860Expression.Constant(null, typeof(DataServiceContext)), 878Expression.Constant(null, typeof(DataServiceContext)), 900Expression.Constant(null, typeof(DataServiceContext)), 908typeof(DataServiceContext).IsAssignableFrom(result.Arguments[0].Type) &&
System\Data\Services\Client\QueryResult.cs (3)
324internal MaterializeAtom GetMaterializer(DataServiceContext context, ProjectionPlan plan) 348internal QueryOperationResponse<TElement> ProcessResult<TElement>(DataServiceContext context, ProjectionPlan plan) 385Exception ex = DataServiceContext.HandleResponse(this.StatusCode, this.httpWebResponse.Headers[XmlConstants.HttpDataServiceVersion], this.GetResponseStream, false);
System.Data.Services.Design (2)
System\Data\EntityModel\DataServiceBuildProvider.cs (1)
379assemblyBuilder.AddAssemblyReference(typeof(System.Data.Services.Client.DataServiceContext).Assembly);
System\Data\EntityModel\Emitters\TypeReference.cs (1)
22internal static readonly Type ObjectContextBaseClassType = typeof(System.Data.Services.Client.DataServiceContext);
System.Web.Extensions (1)
Compilation\WCFBuildProvider.cs (1)
142assemblyBuilder.AddAssemblyReference(typeof(System.Data.Services.Client.DataServiceContext).Assembly);