2 writes to _loaderFactory
System.Data.Entity (2)
System\Data\Metadata\ObjectLayer\ObjectItemLoadingSessionData.cs (2)
110
_loaderFactory
= value;
143
_loaderFactory
= (Func<Assembly, ObjectItemLoadingSessionData, ObjectItemAssemblyLoader>)loaderCookie;
8 references to _loaderFactory
System.Data.Entity (8)
System\Data\Metadata\ObjectLayer\ObjectItemLoadingSessionData.cs (8)
104
get { return
_loaderFactory
; }
107
if (
_loaderFactory
!= value)
109
Debug.Assert(
_loaderFactory
== null || _typesInLoading.Count == 0, "Only reset the factory after types have not been loaded or load from the cache");
122
Debug.Assert(
_loaderFactory
== null ||
123
(object)
_loaderFactory
== _originalLoaderCookie, "The loader factory should determine the next loader, so we should always have the same loader factory");
127
return
_loaderFactory
;
145
if (
_loaderFactory
== ObjectItemConventionAssemblyLoader.Create && _edmItemCollection != null)
147
foreach (KnownAssemblyEntry entry in _knownAssemblies.GetEntries(
_loaderFactory
, edmItemCollection))