diff options
author | Jeff Ames | 2008-01-14 22:37:45 +0000 |
---|---|---|
committer | Jeff Ames | 2008-01-14 22:37:45 +0000 |
commit | 84c3a317c12984155a3ca6430c8804a348112dae (patch) | |
tree | 1f1943e7c0f4d25b27d7fd733b4d8f87481da758 /OpenSim/Framework/Data.MySQL/MySQLDatabaseMapper.cs | |
parent | * Added specialization of DatabaseMapper, DataReader and ObjectFieldMapper to... (diff) | |
download | opensim-SC-84c3a317c12984155a3ca6430c8804a348112dae.zip opensim-SC-84c3a317c12984155a3ca6430c8804a348112dae.tar.gz opensim-SC-84c3a317c12984155a3ca6430c8804a348112dae.tar.bz2 opensim-SC-84c3a317c12984155a3ca6430c8804a348112dae.tar.xz |
Set svn:eol-style.
Diffstat (limited to 'OpenSim/Framework/Data.MySQL/MySQLDatabaseMapper.cs')
-rw-r--r-- | OpenSim/Framework/Data.MySQL/MySQLDatabaseMapper.cs | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/OpenSim/Framework/Data.MySQL/MySQLDatabaseMapper.cs b/OpenSim/Framework/Data.MySQL/MySQLDatabaseMapper.cs index 1514f00..6b23c74 100644 --- a/OpenSim/Framework/Data.MySQL/MySQLDatabaseMapper.cs +++ b/OpenSim/Framework/Data.MySQL/MySQLDatabaseMapper.cs | |||
@@ -1,24 +1,24 @@ | |||
1 | using System.Data.Common; | 1 | using System.Data.Common; |
2 | using MySql.Data.MySqlClient; | 2 | using MySql.Data.MySqlClient; |
3 | 3 | ||
4 | namespace OpenSim.Framework.Data.MySQL | 4 | namespace OpenSim.Framework.Data.MySQL |
5 | { | 5 | { |
6 | public class MySQLDatabaseMapper : OpenSimDatabaseMapper | 6 | public class MySQLDatabaseMapper : OpenSimDatabaseMapper |
7 | { | 7 | { |
8 | public MySQLDatabaseMapper(string connectionString) | 8 | public MySQLDatabaseMapper(string connectionString) |
9 | : base(connectionString) | 9 | : base(connectionString) |
10 | { | 10 | { |
11 | } | 11 | } |
12 | 12 | ||
13 | public override DbConnection GetNewConnection() | 13 | public override DbConnection GetNewConnection() |
14 | { | 14 | { |
15 | MySqlConnection connection = new MySqlConnection(m_connectionString); | 15 | MySqlConnection connection = new MySqlConnection(m_connectionString); |
16 | return connection; | 16 | return connection; |
17 | } | 17 | } |
18 | 18 | ||
19 | public override string CreateParamName(string fieldName) | 19 | public override string CreateParamName(string fieldName) |
20 | { | 20 | { |
21 | return "?" + fieldName; | 21 | return "?" + fieldName; |
22 | } | 22 | } |
23 | } | 23 | } |
24 | } | 24 | } |