public DataBase GetRepositoryInit(DataBaseType dbType, ConnectionSchema connectDetail) { var dataBaseRepo = dbType.GetDataBase(); dataBaseRepo.ConnectionString = connectDetail.ConnectionString; return(dataBaseRepo); }