private static IDbFactory GetDbFactory(string connStrKey) { return(DbFactories.GetFactory(ConnectionStringManager.GetProviderType(connStrKey))); }