From c52c68f314c67c76c7181a6d0828f476290fbd66 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Wed, 2 Apr 2008 15:24:31 +0000 Subject: whole lot more moving --- .../Data.MapperFactory/DataMapperFactory.cs | 27 ---------------------- 1 file changed, 27 deletions(-) delete mode 100644 OpenSim/Framework/Data.MapperFactory/DataMapperFactory.cs (limited to 'OpenSim/Framework/Data.MapperFactory') diff --git a/OpenSim/Framework/Data.MapperFactory/DataMapperFactory.cs b/OpenSim/Framework/Data.MapperFactory/DataMapperFactory.cs deleted file mode 100644 index 8995b9e..0000000 --- a/OpenSim/Framework/Data.MapperFactory/DataMapperFactory.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using OpenSim.Framework.Data.Base; -using OpenSim.Framework.Data.MSSQLMapper; -using OpenSim.Framework.Data.MySQLMapper; - -namespace OpenSim.Framework.Data.MapperFactory -{ - public class DataMapperFactory - { - public enum MAPPER_TYPE { - MySQL, - MSSQL, - }; - - static public BaseDatabaseConnector GetDataBaseMapper(MAPPER_TYPE type, string connectionString) - { - switch (type) { - case MAPPER_TYPE.MySQL: - return new MySQLDatabaseMapper(connectionString); - case MAPPER_TYPE.MSSQL: - return new MSSQLDatabaseMapper(connectionString); - default: - throw new ArgumentException("Unknown Database Mapper type [" + type + "]."); - } - } - } -} -- cgit v1.1