2 writes to ReadFromContextDelegate
System.Data.Services (2)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
2365container.ReadFromContextDelegate = (Func<object, IQueryable>)readerMethod.CreateDelegate(typeof(Func<object, IQueryable>));
System\Data\Services\Providers\ReflectionServiceProvider.cs (1)
325resourceContainer.ReadFromContextDelegate = (Func<object, IQueryable>)readerMethod.CreateDelegate(typeof(Func<object, IQueryable>));
5 references to ReadFromContextDelegate
System.Data.Services (5)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (2)
2349if (container.ReadFromContextDelegate == null) 2368return (ObjectQuery)container.ReadFromContextDelegate(this.ObjectContext);
System\Data\Services\Providers\ReflectionServiceProvider.cs (3)
312if (resourceContainer.ReadFromContextDelegate == null) 328Debug.Assert(resourceContainer.ReadFromContextDelegate != null, "resourceContainer.ReadFromContextDelegate != null"); 329return resourceContainer.ReadFromContextDelegate(this.CurrentDataSource);