aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.MapperFactory
diff options
context:
space:
mode:
authorJeff Ames2008-03-29 04:25:52 +0000
committerJeff Ames2008-03-29 04:25:52 +0000
commitbf7ef8c41a24ead7e9cd0cc44f6e5001127ac9d1 (patch)
tree96af0354a4f9afc1719df66ca49cd77296472d60 /OpenSim/Framework/Data.MapperFactory
parent* Refactored out common http handler operations (diff)
downloadopensim-SC-bf7ef8c41a24ead7e9cd0cc44f6e5001127ac9d1.zip
opensim-SC-bf7ef8c41a24ead7e9cd0cc44f6e5001127ac9d1.tar.gz
opensim-SC-bf7ef8c41a24ead7e9cd0cc44f6e5001127ac9d1.tar.bz2
opensim-SC-bf7ef8c41a24ead7e9cd0cc44f6e5001127ac9d1.tar.xz
Set svn:eol-style.
Diffstat (limited to 'OpenSim/Framework/Data.MapperFactory')
-rw-r--r--OpenSim/Framework/Data.MapperFactory/DataMapperFactory.cs52
1 files changed, 26 insertions, 26 deletions
diff --git a/OpenSim/Framework/Data.MapperFactory/DataMapperFactory.cs b/OpenSim/Framework/Data.MapperFactory/DataMapperFactory.cs
index 27f467f..37b933c 100644
--- a/OpenSim/Framework/Data.MapperFactory/DataMapperFactory.cs
+++ b/OpenSim/Framework/Data.MapperFactory/DataMapperFactory.cs
@@ -1,26 +1,26 @@
1using System; 1using System;
2using System.Collections.Generic; 2using System.Collections.Generic;
3using OpenSim.Framework; 3using OpenSim.Framework;
4using OpenSim.Framework.Data; 4using OpenSim.Framework.Data;
5using OpenSim.Framework.Data.Base; 5using OpenSim.Framework.Data.Base;
6using OpenSim.Framework.Data.MySQLMapper; 6using OpenSim.Framework.Data.MySQLMapper;
7 7
8namespace OpenSim.Framework.Data.MapperFactory 8namespace OpenSim.Framework.Data.MapperFactory
9{ 9{
10 public class DataMapperFactory 10 public class DataMapperFactory
11 { 11 {
12 public enum MAPPER_TYPE { 12 public enum MAPPER_TYPE {
13 MYSQL, 13 MYSQL,
14 }; 14 };
15 15
16 static public BaseDatabaseConnector GetDataBaseMapper(MAPPER_TYPE type, string connectionString) 16 static public BaseDatabaseConnector GetDataBaseMapper(MAPPER_TYPE type, string connectionString)
17 { 17 {
18 switch (type) { 18 switch (type) {
19 case MAPPER_TYPE.MYSQL: 19 case MAPPER_TYPE.MYSQL:
20 return new MySQLDatabaseMapper(connectionString); 20 return new MySQLDatabaseMapper(connectionString);
21 default: 21 default:
22 return null; 22 return null;
23 } 23 }
24 } 24 }
25 } 25 }
26} 26}