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)
104get { return _loaderFactory; } 107if (_loaderFactory != value) 109Debug.Assert(_loaderFactory == null || _typesInLoading.Count == 0, "Only reset the factory after types have not been loaded or load from the cache"); 122Debug.Assert(_loaderFactory == null || 123(object)_loaderFactory == _originalLoaderCookie, "The loader factory should determine the next loader, so we should always have the same loader factory"); 127return _loaderFactory; 145if (_loaderFactory == ObjectItemConventionAssemblyLoader.Create && _edmItemCollection != null) 147foreach (KnownAssemblyEntry entry in _knownAssemblies.GetEntries(_loaderFactory, edmItemCollection))