You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewConfigurationErrorsException("The connectionString attribute is required in order to use the Ef5Repository via the configuration file.");
22
+
thrownewConfigurationErrorsException("The connectionString attribute is required in order to use the Ef5Repository via the configuration file, unless you set the RepositoryDependencyResolver to use an Ioc container.");
22
23
}
23
24
24
25
TypedbContextType=null;
@@ -31,9 +32,26 @@ public override IRepository<T, TKey> GetInstance<T, TKey>()
// TODO: look at dbContextType (from Enyim.Caching configuration bits) and how it caches, see about implementing cache or expanding FastActivator to take parameters
// if there is an IOC dependency resolver configured then use that one to get the DbContext, this will allow sharing of context across multiple repositories if the IOC is configured that way
0 commit comments