public IDataBaseProvider CreateDBProvider() { _UserDBDataManager.Initialize(_ContextGenerator.GenerateContext()); IDataBaseProvider provider = new MsSqlDataProvider( _UserDBDataManager, _ContextGenerator); return(provider); }
/// <summary> /// Hack method to generate the context of the database. /// </summary> /// <param name="accessConfigurations"></param> /// <returns></returns> public DragonflyEntities GenerateContext() { return(_ContextGenerator.GenerateContext()); }