5 writes to ObjectItemAssemblyLoaderFactory
System.Data.Entity (5)
System\Data\Metadata\ObjectLayer\ObjectItemAssemblyLoader.cs (4)
75
sessionData.
ObjectItemAssemblyLoaderFactory
= ObjectItemAttributeAssemblyLoader.Create;
91
sessionData.
ObjectItemAssemblyLoaderFactory
= ObjectItemConventionAssemblyLoader.Create;
98
sessionData.
ObjectItemAssemblyLoaderFactory
= ObjectItemAttributeAssemblyLoader.Create;
102
sessionData.
ObjectItemAssemblyLoaderFactory
= ObjectItemConventionAssemblyLoader.Create;
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (1)
76
SessionData.
ObjectItemAssemblyLoaderFactory
= null;
15 references to ObjectItemAssemblyLoaderFactory
System.Data.Entity (15)
System\Data\Metadata\ObjectLayer\AssemblyCache.cs (4)
65
if (ObjectItemAssemblyLoader.IsAttributeLoader(loadingData.
ObjectItemAssemblyLoaderFactory
))
73
ObjectItemAssemblyLoader.IsConventionLoader(loadingData.
ObjectItemAssemblyLoaderFactory
))
99
if (loadingData.KnownAssemblies.TryGetKnownAssembly(assembly, loadingData.
ObjectItemAssemblyLoaderFactory
, loadingData.EdmItemCollection, out entry))
112
if (entry == null && loadingData.KnownAssemblies.TryGetKnownAssembly(assembly, loadingData.
ObjectItemAssemblyLoaderFactory
, loadingData.EdmItemCollection, out entry) ||
System\Data\Metadata\ObjectLayer\ObjectItemAssemblyLoader.cs (7)
64
if (sessionData.KnownAssemblies.Contains(assembly, sessionData.
ObjectItemAssemblyLoaderFactory
, sessionData.EdmItemCollection))
70
if (sessionData.
ObjectItemAssemblyLoaderFactory
== null)
79
else if (sessionData.
ObjectItemAssemblyLoaderFactory
!= ObjectItemAttributeAssemblyLoader.Create)
94
else if (sessionData.
ObjectItemAssemblyLoaderFactory
== null)
106
if (sessionData.
ObjectItemAssemblyLoaderFactory
!= null)
108
return sessionData.
ObjectItemAssemblyLoaderFactory
(assembly, sessionData);
143
Debug.Assert(!_sessionData.KnownAssemblies.Contains(_assembly, SessionData.
ObjectItemAssemblyLoaderFactory
, _sessionData.EdmItemCollection), "This assembly must not be present in the list of known assemblies");
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (2)
39
Debug.Assert(Create == sessionData.
ObjectItemAssemblyLoaderFactory
, "Why is there a different factory creating this class");
70
Debug.Assert(!SessionData.KnownAssemblies.Contains(SourceAssembly, SessionData.
ObjectItemAssemblyLoaderFactory
, SessionData.EdmItemCollection), "InternalLoadAssemblyFromCache: This assembly must not be present in the list of known assemblies");
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (1)
31
Debug.Assert(Create == sessionData.
ObjectItemAssemblyLoaderFactory
, "Why is there a different factory creating this class");
System\Data\Metadata\ObjectLayer\ObjectItemNoOpAssemblyLoader.cs (1)
22
if (!SessionData.KnownAssemblies.Contains(SourceAssembly, SessionData.
ObjectItemAssemblyLoaderFactory
, SessionData.EdmItemCollection))