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