From f5103b98be60cc8b1a69288328cdc20f78857835 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Tue, 15 Jan 2008 20:07:02 +0000 Subject: * Renamed a bunch of Data baseclasses for clarity and readability (Slowly getting there) --- OpenSim/Framework/Data/OpenSimDatabaseMapper.cs | 2 +- OpenSim/Framework/Data/OpenSimObjectFieldMapper.cs | 4 ++-- OpenSim/Framework/Data/OpenSimTableMapper.cs | 4 ++-- OpenSim/Framework/Data/PrimitiveBaseShapeTableMapper.cs | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Framework/Data/OpenSimDatabaseMapper.cs b/OpenSim/Framework/Data/OpenSimDatabaseMapper.cs index bb82462..4f202bc 100644 --- a/OpenSim/Framework/Data/OpenSimDatabaseMapper.cs +++ b/OpenSim/Framework/Data/OpenSimDatabaseMapper.cs @@ -4,7 +4,7 @@ using TribalMedia.Framework.Data; namespace OpenSim.Framework.Data { - public abstract class OpenSimDatabaseMapper : DatabaseMapper + public abstract class OpenSimDatabaseMapper : BaseDatabaseConnector { public OpenSimDatabaseMapper(string connectionString) : base(connectionString) { diff --git a/OpenSim/Framework/Data/OpenSimObjectFieldMapper.cs b/OpenSim/Framework/Data/OpenSimObjectFieldMapper.cs index 851ebcd..d8c2ddf 100644 --- a/OpenSim/Framework/Data/OpenSimObjectFieldMapper.cs +++ b/OpenSim/Framework/Data/OpenSimObjectFieldMapper.cs @@ -9,7 +9,7 @@ namespace OpenSim.Framework.Data { public class OpenSimObjectFieldMapper : ObjectField { - public OpenSimObjectFieldMapper(TableMapper tableMapper, string fieldName, + public OpenSimObjectFieldMapper(BaseTableMapper tableMapper, string fieldName, ObjectGetAccessor rowMapperGetAccessor, ObjectSetAccessor rowMapperSetAccessor) : base(tableMapper, fieldName, rowMapperGetAccessor, rowMapperSetAccessor) @@ -40,7 +40,7 @@ namespace OpenSim.Framework.Data } else { - base.ExpandField(obj, command, fieldNames); + base.ExpandField(obj, command, fieldNames); } } diff --git a/OpenSim/Framework/Data/OpenSimTableMapper.cs b/OpenSim/Framework/Data/OpenSimTableMapper.cs index c72f523..b6406b6 100644 --- a/OpenSim/Framework/Data/OpenSimTableMapper.cs +++ b/OpenSim/Framework/Data/OpenSimTableMapper.cs @@ -3,9 +3,9 @@ using TribalMedia.Framework.Data; namespace OpenSim.Framework.Data { - public abstract class OpenSimTableMapper : ObjectTableMapper + public abstract class OpenSimTableMapper : BaseTableMapper { - public OpenSimTableMapper(DatabaseMapper database, string tableName) : base(database, tableName) + public OpenSimTableMapper(BaseDatabaseConnector database, string tableName) : base(database, tableName) { } diff --git a/OpenSim/Framework/Data/PrimitiveBaseShapeTableMapper.cs b/OpenSim/Framework/Data/PrimitiveBaseShapeTableMapper.cs index c8098ab..af49376 100644 --- a/OpenSim/Framework/Data/PrimitiveBaseShapeTableMapper.cs +++ b/OpenSim/Framework/Data/PrimitiveBaseShapeTableMapper.cs @@ -16,10 +16,10 @@ namespace OpenSim.Framework.Data public class PrimitiveBaseShapeTableMapper : OpenSimTableMapper { - public PrimitiveBaseShapeTableMapper(DatabaseMapper connection, string tableName) + public PrimitiveBaseShapeTableMapper(BaseDatabaseConnector connection, string tableName) : base(connection, tableName) { - RowMapperSchema rowMapperSchema = new RowMapperSchema(this); + ObjectSchema rowMapperSchema = new ObjectSchema(this); m_schema = rowMapperSchema; m_keyFieldMapper = rowMapperSchema.AddMapping("SceneObjectPartId", -- cgit v1.1