* Reworked Data Framework so that MSSQL works

* Introduced uint as field type
* Removed what should be superfluous Guid handling
* Introduced stub MySQLDataReader if we need to fix the Guid handling anyway
This commit is contained in:
lbsa71
2008-04-02 13:06:18 +00:00
parent 0e789a9a01
commit 667ebc8ea2
6 changed files with 61 additions and 14 deletions

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using OpenSim.Framework.Data.Base;
namespace OpenSim.Framework.Data.MySQLMapper
{
public class MySQLDataReader : OpenSimDataReader
{
public MySQLDataReader(IDataReader source) : base(source)
{
}
}
}

View File

@@ -25,9 +25,11 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
using System.Data;
using System.Data.Common;
using MySql.Data.MySqlClient;
using OpenSim.Framework.Data;
using OpenSim.Framework.Data.Base;
namespace OpenSim.Framework.Data.MySQLMapper
{
@@ -48,5 +50,10 @@ namespace OpenSim.Framework.Data.MySQLMapper
{
return "?" + fieldName;
}
public override BaseDataReader CreateReader(IDataReader reader)
{
return new MySQLDataReader( reader );
}
}
}