You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ibatis.apache.org by gb...@apache.org on 2006/05/21 14:27:14 UTC
svn commit: r408164 [1/3] - in /ibatis/trunk/cs/mapper:
IBatisNet.Common.Test/NUnit/CommonTests/Transaction/ IBatisNet.Common/
IBatisNet.Common/Utilities/ IBatisNet.Common/Utilities/Objects/
IBatisNet.Common/Utilities/Objects/Members/ IBatisNet.Common/...
Author: gbayon
Date: Sun May 21 05:27:09 2006
New Revision: 408164
URL: http://svn.apache.org/viewvc?rev=408164&view=rev
Log:
- Cosmetic Change
- Updated dao tests
- Added interface IDaoManager and ISqlMapper to allow mock or stub
- Updated ChangeLog.txt
Added:
ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/DelegateObjectFactory.cs
- copied unchanged from r407857, ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/DelegateAObjectFactory.cs
ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/TypesResolver/TypeRegistry.cs
- copied unchanged from r408099, ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/TypesResolver/TypeAliasResolver.cs
ibatis/trunk/cs/mapper/IBatisNet.DataAccess/IDaoManager.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/ISqlMapper.cs
Removed:
ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/DelegateAObjectFactory.cs
ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/Members/DelegateObjectFactory.cs
ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/TypesResolver/TypeAliasResolver.cs
Modified:
ibatis/trunk/cs/mapper/IBatisNet.Common.Test/NUnit/CommonTests/Transaction/BaseTest.cs
ibatis/trunk/cs/mapper/IBatisNet.Common/IBatisNet.Common.2005.csproj
ibatis/trunk/cs/mapper/IBatisNet.Common/IBatisNet.Common.csproj
ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ActivatorFactory.cs
ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/Members/ReflectionFieldGetAccessor.cs
ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/Members/ReflectionFieldSetAccessor.cs
ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/Members/ReflectionPropertyGetAccessor.cs
ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/Members/ReflectionPropertySetAccessor.cs
ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ReflectionInfo.cs
ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/ScriptRunner.cs
ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Dao/Implementations/DataMapper/AccountDao.cs
ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/OleDb/Account.xml
ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/OleDb/Category.xml
ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/OleDb/Enumeration.xml
ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/OleDb/LineItem.xml
ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/OleDb/Order.xml
ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/SqlClient/Account.xml
ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/SqlClient/Category.xml
ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/SqlClient/Enumeration.xml
ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/SqlClient/LineItem.xml
ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/SqlClient/Order.xml
ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/NUnit/DaoTests/ADO/MSSQL/AdoDaoTest.cs
ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/NUnit/DaoTests/ADO/MySql/AdoDaoTest.cs
ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/NUnit/DaoTests/ADO/Oracle/AdoDaoTest.cs
ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/NUnit/DaoTests/BaseDaoTest.cs
ibatis/trunk/cs/mapper/IBatisNet.DataAccess/AssemblyInfo.cs
ibatis/trunk/cs/mapper/IBatisNet.DataAccess/ChangeLog.txt
ibatis/trunk/cs/mapper/IBatisNet.DataAccess/Configuration/Dao.cs
ibatis/trunk/cs/mapper/IBatisNet.DataAccess/Configuration/DaoSessionHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataAccess/DaoManager.cs
ibatis/trunk/cs/mapper/IBatisNet.DataAccess/DaoSessionHandlers/SqlMapDaoSession.cs
ibatis/trunk/cs/mapper/IBatisNet.DataAccess/DaoSessionHandlers/SqlMapDaoSessionHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataAccess/IBatisNet.DataAccess.2005.csproj
ibatis/trunk/cs/mapper/IBatisNet.DataAccess/IBatisNet.DataAccess.csproj
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/BaseTest.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/CacheTest.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/AssemblyInfo.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/ChangeLog.txt
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/DomSqlMapBuilder.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/ArgumentPropertyDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/CacheModelDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/DeSerializerFactory.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/DeleteDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/DiscriminatorDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/DynamicDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/InsertDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsEmptyDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsEqualDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsGreaterEqualDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsGreaterThanDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsLessEqualDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsLessThanDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNotEmptyDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNotEqualDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNotNullDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNotParameterPresentDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNotPropertyAvailableDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNullDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsParameterPresentDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsPropertyAvailableDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IterateSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/ParameterMapDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/ProcedureDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/ResultMapDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/ResultPropertyDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/SelectDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/StatementDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/SubMapDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/TypeAliasDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/TypeHandlerDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/UpdateDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/DynamicSql.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Elements/Dynamic.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Elements/IsEmpty.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Elements/IsEqual.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Elements/IsGreaterEqual.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Elements/IsGreaterThan.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Elements/IsLessEqual.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Elements/IsLessThan.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Elements/IsNotEmpty.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Elements/IsNotEqual.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Elements/IsNotNull.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Elements/IsNotParameterPresent.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Elements/IsNotPropertyAvailable.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Elements/IsNull.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Elements/IsParameterPresent.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Elements/IsPropertyAvailable.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Elements/Iterate.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Handlers/DynamicTagHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Handlers/IsGreaterEqualTagHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Handlers/IsGreaterThanTagHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Handlers/IsLessEqualTagHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Handlers/IsLessThanTagHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Handlers/IsNotEmptyTagHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Handlers/IsNotEqualTagHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Handlers/IsNotNullTagHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Handlers/IsNotParameterPresentTagHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Handlers/IterateContext.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Handlers/IterateTagHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/Handlers/SqlTagContext.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Dynamic/SqlText.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/SimpleDynamic/SimpleDynamicSql.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Static/ProcedureSql.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Sql/Static/StaticSql.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/IBatisNet.DataMapper.20005.csproj
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/IBatisNet.DataMapper.csproj
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/ArgumentStrategy/SelectGenericListStrategy.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/CachingStatement.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/DeleteMappedStatement.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/InsertMappedStatement.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/PostBindind.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/ReaderAutoMapper.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/ResultStrategy/ResultClassStrategy.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/ResultStrategy/ResultStrategyFactory.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/SelectMappedStatement.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/UpdateMappedStatement.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Scope/ConfigurationScope.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SqlMapSession.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SqlMapper.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/BooleanTypeHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/ByteArrayTypeHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/ByteTypeHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/CharTypeHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/CustomTypeHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/DBNullTypeHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/DateTimeTypeHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/DecimalTypeHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/DoubleTypeHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/EnumTypeHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/GuidTypeHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Int16TypeHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Int32TypeHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Int64TypeHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/ObjectTypeHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/ParameterSetterImpl.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/ResultGetterImpl.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/SingleTypeHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/StringTypeHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/TimeSpanTypeHandler.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/UnknownTypeHandler.cs
Modified: ibatis/trunk/cs/mapper/IBatisNet.Common.Test/NUnit/CommonTests/Transaction/BaseTest.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.Common.Test/NUnit/CommonTests/Transaction/BaseTest.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.Common.Test/NUnit/CommonTests/Transaction/BaseTest.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.Common.Test/NUnit/CommonTests/Transaction/BaseTest.cs Sun May 21 05:27:09 2006
@@ -99,7 +99,7 @@
/// </summary>
/// <param name="datasource">The datasource.</param>
/// <param name="script">The sql batch</param>
- protected static void InitScript(DataSource datasource, string script)
+ protected static void InitScript(IDataSource datasource, string script)
{
InitScript(datasource, script, true);
}
@@ -110,7 +110,8 @@
/// <param name="datasource">The datasource.</param>
/// <param name="script">The sql batch</param>
/// <param name="doParse">parse out the statements in the sql script file.</param>
- protected static void InitScript(DataSource datasource, string script, bool doParse) {
+ protected static void InitScript(IDataSource datasource, string script, bool doParse)
+ {
ScriptRunner runner = new ScriptRunner();
runner.RunScript(datasource, script, doParse);
Modified: ibatis/trunk/cs/mapper/IBatisNet.Common/IBatisNet.Common.2005.csproj
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.Common/IBatisNet.Common.2005.csproj?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.Common/IBatisNet.Common.2005.csproj (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.Common/IBatisNet.Common.2005.csproj Sun May 21 05:27:09 2006
@@ -195,7 +195,7 @@
<Compile Include="Utilities\Objects\ActivatorFactory.cs" />
<Compile Include="Utilities\Objects\ActivatorObjectFactory.cs" />
<Compile Include="Utilities\Objects\BoxingOpCodes.cs" />
- <Compile Include="Utilities\Objects\DelegateAObjectFactory.cs" />
+ <Compile Include="Utilities\Objects\DelegateObjectFactory.cs" />
<Compile Include="Utilities\Objects\DelegateFactory.cs" />
<Compile Include="Utilities\Objects\EmitObjectFactory.cs" />
<Compile Include="Utilities\Objects\FactoryBuilder.cs" />
@@ -204,7 +204,6 @@
<Compile Include="Utilities\Objects\Members\AccessorFactory.cs" />
<Compile Include="Utilities\Objects\Members\BaseAccessor.cs" />
<Compile Include="Utilities\Objects\Members\DelegateGetFieldAccessor.cs" />
- <Compile Include="Utilities\Objects\Members\DelegateObjectFactory.cs" />
<Compile Include="Utilities\Objects\Members\DelegatePropertyGetAccessor.cs" />
<Compile Include="Utilities\Objects\Members\DelegatePropertySetAccessor.cs" />
<Compile Include="Utilities\Objects\Members\DelegateSetFieldAccessor.cs" />
@@ -254,7 +253,7 @@
<SubType>Code</SubType>
</Compile>
<Compile Include="Utilities\TypesResolver\ITypeResolver.cs" />
- <Compile Include="Utilities\TypesResolver\TypeAliasResolver.cs">
+ <Compile Include="Utilities\TypesResolver\TypeRegistry.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Utilities\TypesResolver\TypeResolver.cs">
Modified: ibatis/trunk/cs/mapper/IBatisNet.Common/IBatisNet.Common.csproj
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.Common/IBatisNet.Common.csproj?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.Common/IBatisNet.Common.csproj (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.Common/IBatisNet.Common.csproj Sun May 21 05:27:09 2006
@@ -475,7 +475,7 @@
BuildAction = "Compile"
/>
<File
- RelPath = "Utilities\TypesResolver\TypeAliasResolver.cs"
+ RelPath = "Utilities\TypesResolver\TypeRegistry.cs"
SubType = "Code"
BuildAction = "Compile"
/>
Modified: ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ActivatorFactory.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ActivatorFactory.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ActivatorFactory.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ActivatorFactory.cs Sun May 21 05:27:09 2006
@@ -30,7 +30,7 @@
/// <summary>
/// Create objects via Activator.CreateInstance
/// </summary>
- public class ActivatorFactory : IFactory
+ public sealed class ActivatorFactory : IFactory
{
private Type _typeToCreate = null;
Modified: ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/Members/ReflectionFieldGetAccessor.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/Members/ReflectionFieldGetAccessor.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/Members/ReflectionFieldGetAccessor.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/Members/ReflectionFieldGetAccessor.cs Sun May 21 05:27:09 2006
@@ -32,7 +32,7 @@
/// The <see cref="ReflectionFieldGetAccessor"/> class provides an reflection get access
/// to a field of a specified target class.
/// </summary>
- public class ReflectionFieldGetAccessor : IGetAccessor
+ public sealed class ReflectionFieldGetAccessor : IGetAccessor
{
private FieldInfo _fieldInfo = null;
Modified: ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/Members/ReflectionFieldSetAccessor.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/Members/ReflectionFieldSetAccessor.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/Members/ReflectionFieldSetAccessor.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/Members/ReflectionFieldSetAccessor.cs Sun May 21 05:27:09 2006
@@ -32,7 +32,7 @@
/// The <see cref="ReflectionFieldSetAccessor"/> class provides an reflection set access
/// to a field of a specified target class.
/// </summary>
- public class ReflectionFieldSetAccessor : ISetAccessor
+ public sealed class ReflectionFieldSetAccessor : ISetAccessor
{
private FieldInfo _fieldInfo = null;
Modified: ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/Members/ReflectionPropertyGetAccessor.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/Members/ReflectionPropertyGetAccessor.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/Members/ReflectionPropertyGetAccessor.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/Members/ReflectionPropertyGetAccessor.cs Sun May 21 05:27:09 2006
@@ -32,7 +32,7 @@
/// The <see cref="ReflectionPropertyGetAccessor"/> class provides an reflection get access
/// to a property of a specified target class.
/// </summary>
- public class ReflectionPropertyGetAccessor : IGetAccessor
+ public sealed class ReflectionPropertyGetAccessor : IGetAccessor
{
private PropertyInfo _propertyInfo = null;
private string _propertyName = string.Empty;
Modified: ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/Members/ReflectionPropertySetAccessor.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/Members/ReflectionPropertySetAccessor.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/Members/ReflectionPropertySetAccessor.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/Members/ReflectionPropertySetAccessor.cs Sun May 21 05:27:09 2006
@@ -32,7 +32,7 @@
/// The <see cref="ReflectionPropertySetAccessor"/> class provides an reflection set access
/// to a property of a specified target class.
/// </summary>
- public class ReflectionPropertySetAccessor : ISetAccessor
+ public sealed class ReflectionPropertySetAccessor : ISetAccessor
{
private PropertyInfo _propertyInfo = null;
private string _propertyName = string.Empty;
Modified: ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ReflectionInfo.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ReflectionInfo.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ReflectionInfo.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ReflectionInfo.cs Sun May 21 05:27:09 2006
@@ -37,7 +37,7 @@
/// This class represents a cached set of class definition information that
/// allows for easy mapping between property names and get/set methods.
/// </summary>
- public class ReflectionInfo
+ public sealed class ReflectionInfo
{
/// <summary>
///
Modified: ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/ScriptRunner.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/ScriptRunner.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/ScriptRunner.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/ScriptRunner.cs Sun May 21 05:27:09 2006
@@ -50,7 +50,7 @@
/// </summary>
/// <param name="dataSource">The dataSouce that will be used to run the script.</param>
/// <param name="sqlScriptPath">a path to an sql script file.</param>
- public void RunScript(DataSource dataSource, string sqlScriptPath) {
+ public void RunScript(IDataSource dataSource, string sqlScriptPath) {
RunScript(dataSource, sqlScriptPath, true);
}
@@ -60,7 +60,7 @@
/// <param name="dataSource">The dataSouce that will be used to run the script.</param>
/// <param name="sqlScriptPath">a path to an sql script file.</param>
/// <param name="doParse">parse out the statements in the sql script file.</param>
- public void RunScript(DataSource dataSource, string sqlScriptPath, bool doParse)
+ public void RunScript(IDataSource dataSource, string sqlScriptPath, bool doParse)
{
// Get script file
FileInfo fi = new FileInfo(sqlScriptPath);
@@ -142,7 +142,7 @@
/// </summary>
/// <param name="dataSource">The dataSouce that will be used.</param>
/// <param name="sqlStatements">An ArrayList of sql statements to execute.</param>
- private void ExecuteStatements(DataSource dataSource, ArrayList sqlStatements) {
+ private void ExecuteStatements(IDataSource dataSource, ArrayList sqlStatements) {
IDbConnection connection = dataSource.DbProvider.CreateConnection();
connection.ConnectionString = dataSource.ConnectionString;
connection.Open();
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Dao/Implementations/DataMapper/AccountDao.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Dao/Implementations/DataMapper/AccountDao.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Dao/Implementations/DataMapper/AccountDao.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Dao/Implementations/DataMapper/AccountDao.cs Sun May 21 05:27:09 2006
@@ -30,7 +30,7 @@
{
sqlMapDaoSession = (SqlMapDaoSession)this.GetContext();
- SqlMapper sqlMap = sqlMapDaoSession.SqlMap;
+ ISqlMapper sqlMap = sqlMapDaoSession.SqlMap;
sqlMap.Insert("InsertAccountViaParameterMap", account);
}
@@ -52,7 +52,7 @@
{
sqlMapDaoSession = (SqlMapDaoSession)this.GetContext();
- SqlMapper sqlMap = sqlMapDaoSession.SqlMap;
+ ISqlMapper sqlMap = sqlMapDaoSession.SqlMap;
sqlMap.Update("UpdateAccountViaParameterMap", account);
}
@@ -74,7 +74,7 @@
{
sqlMapDaoSession = (SqlMapDaoSession)this.GetContext();
- SqlMapper sqlMap = sqlMapDaoSession.SqlMap;
+ ISqlMapper sqlMap = sqlMapDaoSession.SqlMap;
sqlMap.Delete("DeleteAccountViaInlineParameters", account);
}
@@ -97,7 +97,7 @@
{
sqlMapDaoSession = (SqlMapDaoSession)this.GetContext();
- SqlMapper sqlMap = sqlMapDaoSession.SqlMap;
+ ISqlMapper sqlMap = sqlMapDaoSession.SqlMap;
return (Account) sqlMap.QueryForObject("GetAccountViaColumnName", accountID);
}
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/OleDb/Account.xml
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/OleDb/Account.xml?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/OleDb/Account.xml (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/OleDb/Account.xml Sun May 21 05:27:09 2006
@@ -407,26 +407,26 @@
============================================= -->
<parameterMaps>
- <parameterMap id="swap-params">
+ <parameterMap id="swap-params" class="hashtable">
<parameter property="email1" column="First_Email" />
<parameter property="email2" column="Second_Email" />
</parameterMap>
- <parameterMap id="insert-params">
+ <parameterMap id="insert-params" class="Account">
<parameter property="Id" />
<parameter property="FirstName" />
<parameter property="LastName" />
<parameter property="EmailAddress" nullValue="no_email@provided.com"/>
</parameterMap>
- <parameterMap id="update-params">
+ <parameterMap id="update-params" class="Account">
<parameter property="FirstName" />
<parameter property="LastName" />
<parameter property="EmailAddress" nullValue="no_email@provided.com"/>
<parameter property="Id" />
</parameterMap>
- <parameterMap id="update-params2">
+ <parameterMap id="update-params2" class="Account">
<parameter property="Id" />
<parameter property="FirstName" />
<parameter property="LastName" />
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/OleDb/Category.xml
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/OleDb/Category.xml?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/OleDb/Category.xml (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/OleDb/Category.xml Sun May 21 05:27:09 2006
@@ -166,47 +166,47 @@
</statements>
<parameterMaps>
- <parameterMap id="insert-params">
+ <parameterMap id="insert-params" class="Category">
<parameter property="Id" column="Category_Id" dbType="Integer" /><!-- Int for SqlClient, Obdc; Integer for Oledb -->
<parameter property="Name" column="Category_Name"/>
<parameter property="Guid" column="Category_Guid" dbType="Guid"/><!--Guid for Oledb, UniqueIdentifier for SqlClient,Odbc -->
</parameterMap>
- <parameterMap id="InsertParam">
+ <parameterMap id="InsertParam" class="Category">
<parameter property="Name" column="Category_Name"/>
<parameter property="Guid" column="Category_Guid" dbType="Guid"/><!--Guid for Oledb, UniqueIdentifier for SqlClient,Odbc -->
</parameterMap>
- <parameterMap id="insert-null-params">
+ <parameterMap id="insert-null-params" class="Category">
<parameter property="Name" column="Category_Name"/>
<parameter property="Guid" column="Category_Guid" nullValue="00000000-0000-0000-0000-000000000000" dbType="Guid"/><!--Guid for Oledb, UniqueIdentifier for SqlClient,Odbc -->
</parameterMap>
- <parameterMap id="UpdateParam" extends="InsertParam">
+ <parameterMap id="UpdateParam" extends="InsertParam" class="Category">
<parameter property="Id" column="Category_Id" />
</parameterMap>
<!-- Used by generated statement -->
- <parameterMap id="insert-generate-params">
+ <parameterMap id="insert-generate-params" class="Category">
<parameter property="Name" column="Category_Name"/>
<parameter property="Guid" column="Category_Guid" dbType="Guid"/><!--Guid for Oledb, UniqueIdentifier for SqlClient,Odbc -->
</parameterMap>
- <parameterMap id="update-generate-params" extends="insert-generate-params">
+ <parameterMap id="update-generate-params" extends="insert-generate-params" class="Category">
<parameter property="Id" column="Category_Id" />
</parameterMap>
- <parameterMap id="delete-generate-params">
+ <parameterMap id="delete-generate-params" class="Category">
<parameter property="Id" column="Category_Id" />
<parameter property="Name" column="Category_Name"/>
</parameterMap>
- <parameterMap id="selectByPK-generate-params">
+ <parameterMap id="selectByPK-generate-params" class="Category">
<parameter property="Id" column="Category_Id" />
</parameterMap>
- <parameterMap id="select-generate-params">
+ <parameterMap id="select-generate-params" class="Category">
<parameter property="Id" column="Category_Id" />
<parameter property="Name" column="Category_Name"/>
<parameter property="Guid" column="Category_Guid" dbType="Guid"/>
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/OleDb/Enumeration.xml
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/OleDb/Enumeration.xml?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/OleDb/Enumeration.xml (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/OleDb/Enumeration.xml Sun May 21 05:27:09 2006
@@ -50,7 +50,7 @@
</statements>
<parameterMaps>
- <parameterMap id="insert-params">
+ <parameterMap id="insert-params" class="Enumeration">
<parameter property="Id" column="Enum_ID" />
<parameter property="Day" column="Enum_Day"/>
<parameter property="Color" column="Enum_Color" />
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/OleDb/LineItem.xml
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/OleDb/LineItem.xml?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/OleDb/LineItem.xml (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/OleDb/LineItem.xml Sun May 21 05:27:09 2006
@@ -170,7 +170,7 @@
<parameterMaps>
- <parameterMap id="insert-params">
+ <parameterMap id="insert-params" class="LineItem">
<parameter property="Id" />
<parameter property="Order.Id" />
<parameter property="Code" />
@@ -178,7 +178,7 @@
<parameter property="Price" dbType="Decimal" nullValue="-99.99"/>
</parameterMap>
- <parameterMap id="insert-params-picture">
+ <parameterMap id="insert-params-picture" class="LineItem">
<parameter property="Id" />
<parameter property="Order.Id" />
<parameter property="Code" />
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/OleDb/Order.xml
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/OleDb/Order.xml?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/OleDb/Order.xml (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/OleDb/Order.xml Sun May 21 05:27:09 2006
@@ -289,7 +289,7 @@
<parameterMaps>
- <parameterMap id="insert-params">
+ <parameterMap id="insert-params" class="Order">
<parameter property="Id" dbType="Integer"/> <!-- Int for SqlClient, Obdc; Integer for Oledb -->
<parameter property="Account.Id"/>
<parameter property="Date" nullValue="01/01/0001 00:00:00" />
@@ -302,7 +302,7 @@
<parameter property="PostalCode" />
</parameterMap>
- <parameterMap id="params-parent"> <!-- 1043181 support request -->
+ <parameterMap id="params-parent" class="Order"> <!-- 1043181 support request -->
<parameter property="Id" dbType="Integer"/>
<parameter property="Account.Id"/>
<parameter property="Date" nullValue="01/01/0001 00:00:00" />
@@ -315,7 +315,7 @@
<parameter property="PostalCode" />
</parameterMap>
- <parameterMap id="insert-extend" extends="params-parent">
+ <parameterMap id="insert-extend" extends="params-parent" class="Order">
</parameterMap>
</parameterMaps>
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/SqlClient/Account.xml
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/SqlClient/Account.xml?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/SqlClient/Account.xml (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/SqlClient/Account.xml Sun May 21 05:27:09 2006
@@ -453,26 +453,26 @@
============================================= -->
<parameterMaps>
- <parameterMap id="swap-params">
+ <parameterMap id="swap-params" class="Hashtable">
<parameter property="email1" column="First_Email" />
<parameter property="email2" column="Second_Email" />
</parameterMap>
- <parameterMap id="insert-params">
+ <parameterMap id="insert-params" class="Account">
<parameter property="Id" />
<parameter property="FirstName" />
<parameter property="LastName" />
<parameter property="EmailAddress" nullValue="no_email@provided.com"/>
</parameterMap>
- <parameterMap id="update-params">
+ <parameterMap id="update-params" class="Account">
<parameter property="FirstName" />
<parameter property="LastName" />
<parameter property="EmailAddress" nullValue="no_email@provided.com"/>
<parameter property="Id" />
</parameterMap>
- <parameterMap id="update-params2">
+ <parameterMap id="update-params2" class="Account">
<parameter property="Id" />
<parameter property="FirstName" />
<parameter property="LastName" />
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/SqlClient/Category.xml
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/SqlClient/Category.xml?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/SqlClient/Category.xml (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/SqlClient/Category.xml Sun May 21 05:27:09 2006
@@ -124,43 +124,43 @@
</statements>
<parameterMaps>
- <parameterMap id="insert-params">
+ <parameterMap id="insert-params" class="Category">
<parameter property="Id" column="Category_Id" dbType="Int" /><!-- Int for SqlClient, Obdc; Integer for Oledb -->
<parameter property="Name" column="Category_Name"/>
<parameter property="Guid" column="Category_Guid" dbType="UniqueIdentifier"/><!--Guid for Oledb, UniqueIdentifier for SqlClient,Odbc -->
</parameterMap>
- <parameterMap id="InsertParam">
+ <parameterMap id="InsertParam" class="Category">
<parameter property="Name" column="Category_Name"/>
<parameter property="Guid" column="Category_Guid" dbType="UniqueIdentifier"/><!--Guid for Oledb, UniqueIdentifier for SqlClient,Odbc -->
</parameterMap>
- <parameterMap id="insert-null-params">
+ <parameterMap id="insert-null-params" class="Category">
<parameter property="Name" column="Category_Name"/>
<parameter property="Guid" column="Category_Guid" nullValue="00000000-0000-0000-0000-000000000000" dbType="UniqueIdentifier"/><!--Guid for Oledb, UniqueIdentifier for SqlClient,Odbc -->
</parameterMap>
- <parameterMap id="UpdateParam" extends="InsertParam">
+ <parameterMap id="UpdateParam" extends="InsertParam" class="Category">
<parameter property="Id" column="Category_Id" />
</parameterMap>
<!-- Used by generated statement -->
- <parameterMap id="insert-generate-params">
+ <parameterMap id="insert-generate-params" class="Category">
<parameter property="Name" column="Category_Name"/>
<parameter property="Guid" column="Category_Guid" dbType="UniqueIdentifier"/><!--Guid for Oledb, UniqueIdentifier for SqlClient,Odbc -->
</parameterMap>
- <parameterMap id="update-generate-params" extends="insert-generate-params">
+ <parameterMap id="update-generate-params" extends="insert-generate-params" class="Category">
<parameter property="Id" column="Category_Id" />
</parameterMap>
- <parameterMap id="delete-generate-params">
+ <parameterMap id="delete-generate-params" class="Category">
<parameter property="Id" column="Category_Id" />
<parameter property="Name" column="Category_Name"/>
</parameterMap>
- <parameterMap id="select-generate-params">
+ <parameterMap id="select-generate-params" class="Category">
<parameter property="Id" column="Category_Id" />
<parameter property="Name" column="Category_Name"/>
<parameter property="Guid" column="Category_Guid" dbType="UniqueIdentifier"/>
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/SqlClient/Enumeration.xml
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/SqlClient/Enumeration.xml?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/SqlClient/Enumeration.xml (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/SqlClient/Enumeration.xml Sun May 21 05:27:09 2006
@@ -50,7 +50,7 @@
</statements>
<parameterMaps>
- <parameterMap id="insert-params">
+ <parameterMap id="insert-params" class="Enumeration">
<parameter property="Id" column="Enum_ID" />
<parameter property="Day" column="Enum_Day"/>
<parameter property="Color" column="Enum_Color" />
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/SqlClient/LineItem.xml
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/SqlClient/LineItem.xml?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/SqlClient/LineItem.xml (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/SqlClient/LineItem.xml Sun May 21 05:27:09 2006
@@ -170,7 +170,7 @@
<parameterMaps>
- <parameterMap id="insert-params">
+ <parameterMap id="insert-params" class="LineItem">
<parameter property="Id" />
<parameter property="Order.Id" />
<parameter property="Code" />
@@ -178,7 +178,7 @@
<parameter property="Price" dbType="Decimal" nullValue="-99.99"/>
</parameterMap>
- <parameterMap id="insert-params-picture">
+ <parameterMap id="insert-params-picture" class="LineItem">
<parameter property="Id" />
<parameter property="Order.Id" />
<parameter property="Code" />
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/SqlClient/Order.xml
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/SqlClient/Order.xml?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/SqlClient/Order.xml (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/Maps/MSSQL/SqlClient/Order.xml Sun May 21 05:27:09 2006
@@ -289,7 +289,7 @@
<parameterMaps>
- <parameterMap id="insert-params">
+ <parameterMap id="insert-params" class="Order">
<parameter property="Id" dbType="Int"/> <!-- Int for SqlClient, Obdc; Integer for Oledb -->
<parameter property="Account.Id"/>
<parameter property="Date" nullValue="01/01/0001 00:00:00" />
@@ -302,7 +302,7 @@
<parameter property="PostalCode" />
</parameterMap>
- <parameterMap id="params-parent"> <!-- 1043181 support request -->
+ <parameterMap id="params-parent" class="Order"> <!-- 1043181 support request -->
<parameter property="Id" dbType="Int"/>
<parameter property="Account.Id"/>
<parameter property="Date" nullValue="01/01/0001 00:00:00" />
@@ -315,7 +315,7 @@
<parameter property="PostalCode" />
</parameterMap>
- <parameterMap id="insert-extend" extends="params-parent">
+ <parameterMap id="insert-extend" extends="params-parent" class="Order">
</parameterMap>
</parameterMaps>
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/NUnit/DaoTests/ADO/MSSQL/AdoDaoTest.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/NUnit/DaoTests/ADO/MSSQL/AdoDaoTest.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/NUnit/DaoTests/ADO/MSSQL/AdoDaoTest.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/NUnit/DaoTests/ADO/MSSQL/AdoDaoTest.cs Sun May 21 05:27:09 2006
@@ -13,16 +13,23 @@
/// <summary>
/// Initialisation
/// </summary>
- [SetUp]
- public void SetUp()
+ [TestFixtureSetUp]
+ public void FixtureSetUp()
{
DomDaoManagerBuilder builder = new DomDaoManagerBuilder();
builder.Configure( "dao_MSSQL_"
+ ConfigurationSettings.AppSettings["providerType"] + ".config" );
daoManager = DaoManager.GetInstance();
- InitScript( daoManager.LocalDataSource, ScriptDirectory + "account-init.sql" );
}
+ /// <summary>
+ /// Initialisation
+ /// </summary>
+ [SetUp]
+ public void SetUp()
+ {
+ InitScript( daoManager.LocalDataSource, ScriptDirectory + "account-init.sql" );
+ }
}
}
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/NUnit/DaoTests/ADO/MySql/AdoDaoTest.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/NUnit/DaoTests/ADO/MySql/AdoDaoTest.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/NUnit/DaoTests/ADO/MySql/AdoDaoTest.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/NUnit/DaoTests/ADO/MySql/AdoDaoTest.cs Sun May 21 05:27:09 2006
@@ -13,16 +13,23 @@
/// <summary>
/// Initialisation
/// </summary>
- [SetUp]
- public void SetUp()
+ [TestFixtureSetUp]
+ public void FixtureSetUp()
{
DomDaoManagerBuilder builder = new DomDaoManagerBuilder();
builder.Configure( "dao_MySql_"
+ ConfigurationSettings.AppSettings["providerType"] + ".config" );
daoManager = DaoManager.GetInstance();
- InitScript( daoManager.LocalDataSource, ScriptDirectory + "account-init.sql" );
}
+ /// <summary>
+ /// Initialisation
+ /// </summary>
+ [SetUp]
+ public void SetUp()
+ {
+ InitScript( daoManager.LocalDataSource, ScriptDirectory + "account-init.sql" );
+ }
}
}
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/NUnit/DaoTests/ADO/Oracle/AdoDaoTest.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/NUnit/DaoTests/ADO/Oracle/AdoDaoTest.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/NUnit/DaoTests/ADO/Oracle/AdoDaoTest.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/NUnit/DaoTests/ADO/Oracle/AdoDaoTest.cs Sun May 21 05:27:09 2006
@@ -13,16 +13,23 @@
/// <summary>
/// Initialisation
/// </summary>
- [SetUp]
- public void SetUp()
+ [TestFixtureSetUp]
+ public void FixtureSetUp()
{
DomDaoManagerBuilder builder = new DomDaoManagerBuilder();
builder.Configure( "dao_Oracle_"
+ ConfigurationSettings.AppSettings["providerType"] + ".config" );
daoManager = DaoManager.GetInstance();
- InitScript( daoManager.LocalDataSource, ScriptDirectory + "account-init.sql" );
}
+ /// <summary>
+ /// Initialisation
+ /// </summary>
+ [SetUp]
+ public void SetUp()
+ {
+ InitScript( daoManager.LocalDataSource, ScriptDirectory + "account-init.sql" );
+ }
}
}
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/NUnit/DaoTests/BaseDaoTest.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/NUnit/DaoTests/BaseDaoTest.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/NUnit/DaoTests/BaseDaoTest.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/NUnit/DaoTests/BaseDaoTest.cs Sun May 21 05:27:09 2006
@@ -22,7 +22,7 @@
/// <summary>
/// A daoManager
/// </summary>
- protected static DaoManager daoManager = null;
+ protected static IDaoManager daoManager = null;
protected static string ScriptDirectory = null;
@@ -55,8 +55,8 @@
{
DomDaoManagerBuilder builder = new DomDaoManagerBuilder();
builder.Configure( "dao_Multiple_Context.config" );
- DaoManager daoManager1 = DaoManager.GetInstance("Contex1");
- DaoManager daoManager2 = DaoManager.GetInstance("Contex2");
+ IDaoManager daoManager1 = DaoManager.GetInstance("Contex1");
+ IDaoManager daoManager2 = DaoManager.GetInstance("Contex2");
Assert.IsNotNull(daoManager1);
Assert.IsNotNull(daoManager2);
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess/AssemblyInfo.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataAccess/AssemblyInfo.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataAccess/AssemblyInfo.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess/AssemblyInfo.cs Sun May 21 05:27:09 2006
@@ -4,4 +4,4 @@
[assembly: AssemblyDescription("Data Access Object (DAO) design pattern implementation.")]
-[assembly: AssemblyVersion("1.7.0")]
+[assembly: AssemblyVersion("1.8")]
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess/ChangeLog.txt
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataAccess/ChangeLog.txt?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataAccess/ChangeLog.txt (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess/ChangeLog.txt Sun May 21 05:27:09 2006
@@ -1,7 +1,12 @@
IBatisNet DataAccess Change Log
------------------------------
-1.7 - XX/XX/XXXX
+1.8 - DD/MM/AAAA
+------------------------------
+- Added IDaoManager interface to simplify mock or stub
+
+------------------------------
+1.7 - 15/12/2005
------------------------------
- Updated to log4net V1.2.9
- Updated to Castle.DynamicProxy V1.1.5.0
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess/Configuration/Dao.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataAccess/Configuration/Dao.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataAccess/Configuration/Dao.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess/Configuration/Dao.cs Sun May 21 05:27:09 2006
@@ -166,8 +166,8 @@
try
{
_daoManager = daoManager;
- _daoImplementation = Resources.TypeForName(this.Implementation);
- _daoInterface = Resources.TypeForName(this.Interface);
+ _daoImplementation = TypeUtils.ResolveType(this.Implementation);
+ _daoInterface = TypeUtils.ResolveType(this.Interface);
// Create a new instance of the Dao object.
_daoInstance = _daoImplementation.GetConstructor(Type.EmptyTypes).Invoke(null) as IDao;
_proxy = DaoProxy.NewInstance(this);
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess/Configuration/DaoSessionHandler.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataAccess/Configuration/DaoSessionHandler.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataAccess/Configuration/DaoSessionHandler.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess/Configuration/DaoSessionHandler.cs Sun May 21 05:27:09 2006
@@ -85,7 +85,7 @@
/// </summary>
public Type TypeInstance
{
- get { return Resources.TypeForName(_implementation); }
+ get { return TypeUtils.ResolveType(_implementation); }
}
/// <summary>
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess/DaoManager.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataAccess/DaoManager.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataAccess/DaoManager.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess/DaoManager.cs Sun May 21 05:27:09 2006
@@ -90,7 +90,7 @@
/// daoManager.RollBackTransaction();
///}<pre/>
///</example>
- public class DaoManager
+ public class DaoManager : IDaoManager
{
#region Constants
/// <summary>
@@ -143,10 +143,11 @@
get { return _provider; }
set { _provider = value; }
}
-
- /// <summary>
- ///
- /// </summary>
+
+ /// <summary>
+ /// Gets the local data source.
+ /// </summary>
+ /// <value>The local data source.</value>
public DataSource LocalDataSource
{
get { return _dataSource; }
@@ -188,9 +189,10 @@
set { _daoMap = value; }
}
- /// <summary>
- ///
- /// </summary>
+ /// <summary>
+ /// Gets the local DAO session.
+ /// </summary>
+ /// <value>The local DAO session.</value>
public IDalSession LocalDaoSession
{
get
@@ -382,10 +384,12 @@
return _daoSessionHandler.GetDaoSession(this);
}
- /// <summary>
- /// Check if a DaoSession is started.
- /// </summary>
- /// <returns>True or False</returns>
+ /// <summary>
+ /// Determines whether [is DAO session started].
+ /// </summary>
+ /// <returns>
+ /// <c>true</c> if [is DAO session started]; otherwise, <c>false</c>.
+ /// </returns>
public bool IsDaoSessionStarted()
{
return (_sessionHolder.LocalSession != null);
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess/DaoSessionHandlers/SqlMapDaoSession.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataAccess/DaoSessionHandlers/SqlMapDaoSession.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataAccess/DaoSessionHandlers/SqlMapDaoSession.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess/DaoSessionHandlers/SqlMapDaoSession.cs Sun May 21 05:27:09 2006
@@ -40,14 +40,14 @@
public class SqlMapDaoSession : DaoSession
{
#region Fields
- private SqlMapper _sqlMap = null;
+ private ISqlMapper _sqlMap = null;
#endregion
#region Properties
/// <summary>
///
/// </summary>
- public SqlMapper SqlMap
+ public ISqlMapper SqlMap
{
get { return _sqlMap; }
}
@@ -81,7 +81,7 @@
/// </summary>
/// <param name="daoManager"></param>
/// <param name="sqlMap"></param>
- public SqlMapDaoSession(DaoManager daoManager, SqlMapper sqlMap):base(daoManager)
+ public SqlMapDaoSession(DaoManager daoManager, ISqlMapper sqlMap):base(daoManager)
{
_sqlMap = sqlMap;
}
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess/DaoSessionHandlers/SqlMapDaoSessionHandler.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataAccess/DaoSessionHandlers/SqlMapDaoSessionHandler.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataAccess/DaoSessionHandlers/SqlMapDaoSessionHandler.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess/DaoSessionHandlers/SqlMapDaoSessionHandler.cs Sun May 21 05:27:09 2006
@@ -82,7 +82,6 @@
try
{
-// string fileName = (string) resources["sqlMapConfigFile"];
DataSource dataSource = (DataSource) resources["DataSource"];
bool useConfigFileWatcher = (bool) resources["UseConfigFileWatcher"];
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess/IBatisNet.DataAccess.2005.csproj
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataAccess/IBatisNet.DataAccess.2005.csproj?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataAccess/IBatisNet.DataAccess.2005.csproj (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess/IBatisNet.DataAccess.2005.csproj Sun May 21 05:27:09 2006
@@ -136,6 +136,7 @@
<Compile Include="Exceptions\DataAccessException.cs">
<SubType>Code</SubType>
</Compile>
+ <Compile Include="IDaoManager.cs" />
<Compile Include="Interfaces\IDao.cs">
<SubType>Code</SubType>
</Compile>
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess/IBatisNet.DataAccess.csproj
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataAccess/IBatisNet.DataAccess.csproj?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataAccess/IBatisNet.DataAccess.csproj (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess/IBatisNet.DataAccess.csproj Sun May 21 05:27:09 2006
@@ -137,6 +137,11 @@
BuildAction = "None"
/>
<File
+ RelPath = "IDaoManager.cs"
+ SubType = "Code"
+ BuildAction = "Compile"
+ />
+ <File
RelPath = "licence.txt"
BuildAction = "Content"
/>
Added: ibatis/trunk/cs/mapper/IBatisNet.DataAccess/IDaoManager.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataAccess/IDaoManager.cs?rev=408164&view=auto
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataAccess/IDaoManager.cs (added)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess/IDaoManager.cs Sun May 21 05:27:09 2006
@@ -0,0 +1,128 @@
+#region Apache Notice
+/*****************************************************************************
+ * $Revision: 374175 $
+ * $LastChangedDate: 2006-03-22 22:39:21 +0100 (mer., 22 mars 2006) $
+ * $LastChangedBy: gbayon $
+ *
+ * iBATIS.NET Data Mapper
+ * Copyright (C) 2006/2005 - The Apache Software Foundation
+ *
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ ********************************************************************************/
+#endregion
+
+using System;
+using System.Data;
+
+using IBatisNet.Common;
+using IBatisNet.DataAccess.Interfaces;
+
+namespace IBatisNet.DataAccess
+{
+ /// <summary>
+ /// Contract for a dao manager
+ /// </summary>
+ public interface IDaoManager
+ {
+ /// <summary>
+ /// Begins a database transaction with the specified isolation level.
+ /// </summary>
+ /// <param name="isolationLevel">
+ /// The isolation level under which the transaction should run.
+ /// </param>
+ /// <returns>A IDalSession.</returns>
+ IDalSession BeginTransaction(IsolationLevel isolationLevel);
+
+ /// <summary>
+ /// Begins a database transaction.
+ /// </summary>
+ /// <returns>A IDalSession</returns>
+ IDalSession BeginTransaction();
+
+ /// <summary>
+ /// Close a connection
+ /// </summary>
+ void CloseConnection();
+
+ /// <summary>
+ /// Commits the database transaction.
+ /// </summary>
+ /// <remarks>
+ /// Auto close the connection.
+ /// </remarks>
+ void CommitTransaction();
+
+ /// <summary>
+ /// Gets a Dao instance for the requested interface type.
+ /// </summary>
+ /// <param name="daoInterface">The requested interface type.</param>
+ /// <returns>A Dao instance</returns>
+ IDao GetDao(Type daoInterface);
+
+
+ /// <summary>
+ /// Get a new DaoSession
+ /// </summary>
+ /// <returns>A new DaoSession</returns>
+ DaoSession GetDaoSession();
+
+
+ /// <summary>
+ /// Determines whether [is DAO session started].
+ /// </summary>
+ /// <returns>
+ /// <c>true</c> if [is DAO session started]; otherwise, <c>false</c>.
+ /// </returns>
+ bool IsDaoSessionStarted();
+
+ /// <summary>
+ /// Gets the local DAO session.
+ /// </summary>
+ /// <value>The local DAO session.</value>
+ IDalSession LocalDaoSession { get; }
+
+ /// <summary>
+ /// Gets the local data source.
+ /// </summary>
+ /// <value>The local data source.</value>
+ DataSource LocalDataSource { get; }
+
+
+ /// <summary>
+ /// Open a connection, on the specified connection string.
+ /// </summary>
+ /// <param name="connectionString">The connection string</param>
+ IDalSession OpenConnection(string connectionString);
+
+ /// <summary>
+ /// Open a connection.
+ /// </summary>
+ /// <returns>A IDalSession.</returns>
+ IDalSession OpenConnection();
+
+ /// <summary>
+ /// Rolls back a transaction from a pending state.
+ /// </summary>
+ /// <remarks>
+ /// Close the connection.
+ /// </remarks>
+ void RollBackTransaction();
+
+ /// <summary>
+ /// Gets a Dao instance for the requested interface type.
+ /// </summary>
+ IDao this[Type daoInterface] { get; }
+ }
+}
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/BaseTest.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/BaseTest.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/BaseTest.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/BaseTest.cs Sun May 21 05:27:09 2006
@@ -32,7 +32,7 @@
/// <summary>
/// The sqlMap
/// </summary>
- protected static SqlMapper sqlMap = null;
+ protected static ISqlMapper sqlMap = null;
private static readonly ILog _logger = LogManager.GetLogger( System.Reflection.MethodBase.GetCurrentMethod().DeclaringType );
protected static string ScriptDirectory = null;
@@ -156,7 +156,7 @@
/// </summary>
/// <param name="datasource">The datasource.</param>
/// <param name="script">The sql batch</param>
- protected static void InitScript(DataSource datasource, string script)
+ protected static void InitScript(IDataSource datasource, string script)
{
InitScript(datasource, script, true);
}
@@ -167,7 +167,7 @@
/// <param name="datasource">The datasource.</param>
/// <param name="script">The sql batch</param>
/// <param name="doParse">parse out the statements in the sql script file.</param>
- protected static void InitScript(DataSource datasource, string script, bool doParse)
+ protected static void InitScript(IDataSource datasource, string script, bool doParse)
{
ScriptRunner runner = new ScriptRunner();
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/CacheTest.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/CacheTest.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/CacheTest.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/CacheTest.cs Sun May 21 05:27:09 2006
@@ -309,11 +309,11 @@
private class TestCacheThread
{
- private SqlMapper _sqlMap = null;
+ private ISqlMapper _sqlMap = null;
private Hashtable _results = null;
private string _statementName = string.Empty;
- public TestCacheThread(SqlMapper sqlMap, Hashtable results, string statementName)
+ public TestCacheThread(ISqlMapper sqlMap, Hashtable results, string statementName)
{
_sqlMap = sqlMap;
_results = results;
@@ -344,7 +344,7 @@
}
}
- public static void StartThread(SqlMapper sqlMap, Hashtable results, string statementName)
+ public static void StartThread(ISqlMapper sqlMap, Hashtable results, string statementName)
{
TestCacheThread tct = new TestCacheThread(sqlMap, results, statementName);
Thread thread = new Thread( new ThreadStart(tct.Run) );
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/AssemblyInfo.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/AssemblyInfo.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/AssemblyInfo.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/AssemblyInfo.cs Sun May 21 05:27:09 2006
@@ -8,4 +8,4 @@
[assembly: AssemblyTitle("IBatisNet.DataMapper")]
[assembly: AssemblyDescription("Map objects to your SQL statements or stored procedures.")]
-[assembly: AssemblyVersion("1.3.0")]
\ No newline at end of file
+[assembly: AssemblyVersion("1.5.0")]
\ No newline at end of file
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/ChangeLog.txt
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/ChangeLog.txt?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/ChangeLog.txt (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/ChangeLog.txt Sun May 21 05:27:09 2006
@@ -1,21 +1,21 @@
IBatisNet Change Log
------------------------------
-1.4 - XX/XX/XXX
+1.5 - XX/XX/XXX
------------------------------
Issues
-- Fixed IBATISNET-151 Pre-load stored procedure parameters should use the already-open connection
-- Fixed IBATISNET-143 Allow selectKey node to process dynamic sql
-- Fixed IBATISNET-141 DataMapper Developer Guilde document bug
-- Fixed IBATISNET-139 DBNull.Value as parameter object raises NullReferenceException in UnknownTypeHandler
-- Fixed IBATISNET-138 QueryForMap with cache Bug/Regression
-- Fixed IBATISNET-137 TypeHandlers for "System.Nullable(Of" fails with custom types
+- IBATISNET-158 : Add support for generic type in TypeAssemblyInfo
+- IBATISNET-151 : Pre-load stored procedure parameters should use the already-open connection
+- IBATISNET-143 : Allow selectKey node to process dynamic sql
+- IBATISNET-141 : DataMapper Developer Guide document bug
+- IBATISNET-139 : DBNull.Value as parameter object raises NullReferenceException in UnknownTypeHandler
+- IBATISNET-138 : QueryForMap with cache Bug/Regression
+- IBATISNET-137 : TypeHandlers for "System.Nullable(Of" fails with custom types
Improvements/Changes
-- Fixed IBATISNET-156 Added support for MARS
- added allowMARS attribute on provider tag.
-- Added class attribute to parameterMap tags [it is required !]
-- Fixed IBATISNET-155 Allow Constructor Initialization on resultMap
+- IBATISNET-156 : Added support for MARS
+ Added allowMARS attribute on provider tag (used by SqlServer 2005, PostgreSQL).
+- IBATISNET-155 Allow Constructor Initialization on resultMap
use
<resultMap id="account-result-constructor" class="Account" >
<constructor>
@@ -27,10 +27,14 @@
<result property="BannerOption" column="Account_Banner_Option" dbType="Varchar" type="bool"/>
<result property="CartOption" column="Account_Cart_Option" typeHandler="HundredsBool"/>
</resultMap>
-
-- Fixed IBATISNET-153 Supporting private field accessor
-- Added useReflectionOptimizer attribut setting in SqlMap.config
+
+- IBATISNET-153 Supporting private field accessor
+- IBATISNET-147 : Emitted types for populating and instantiating result
+ Added useReflectionOptimizer attribut setting in SqlMap.config
+- IBATISNET-105 : Added Lazy load support for Strong typed collections
+- Added ISqlMapper interface to simplify mock or stub
- Added support for readOnly & serialize attribut on CacheModel
+- Added class attribute to parameterMap tags [it is required !]
- Added Support for nullable type in .NET V2
- Added Support for .NET V2 and Generic
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/DomSqlMapBuilder.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/DomSqlMapBuilder.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/DomSqlMapBuilder.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/DomSqlMapBuilder.cs Sun May 21 05:27:09 2006
@@ -1567,7 +1567,7 @@
}
map.Initialize(_configScope.DataSource.DbProvider.UsePositionalParameters,_configScope);
if (statement.ParameterClass==null &&
- sqlText.Parameters.Length==1)//#value# parameter with no parameterClass attribut
+ sqlText.Parameters.Length==1 && sqlText.Parameters[0].PropertyName=="value")//#value# parameter with no parameterClass attribut
{
map.DataExchange = _configScope.DataExchangeFactory.GetDataExchangeForClass( typeof(int) );//Get the primitiveDataExchange
}
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/ArgumentPropertyDeSerializer.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/ArgumentPropertyDeSerializer.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/ArgumentPropertyDeSerializer.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/ArgumentPropertyDeSerializer.cs Sun May 21 05:27:09 2006
@@ -37,7 +37,7 @@
/// <summary>
/// Summary description for ArgumentPropertyDeSerializer.
/// </summary>
- public class ArgumentPropertyDeSerializer
+ public sealed class ArgumentPropertyDeSerializer
{
/// <summary>
/// Deserialize a ResultProperty object
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/CacheModelDeSerializer.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/CacheModelDeSerializer.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/CacheModelDeSerializer.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/CacheModelDeSerializer.cs Sun May 21 05:27:09 2006
@@ -1,7 +1,7 @@
#region Apache Notice
/*****************************************************************************
* $Header: $
- * $Revision: $
+ * $Revision$
* $Date$
*
* iBATIS.NET Data Mapper
@@ -38,7 +38,7 @@
/// <summary>
/// Summary description for CacheModelDeSerializer.
/// </summary>
- public class CacheModelDeSerializer
+ public sealed class CacheModelDeSerializer
{
/// <summary>
/// Deserialize a CacheModel object
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/DeSerializerFactory.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/DeSerializerFactory.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/DeSerializerFactory.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/DeSerializerFactory.cs Sun May 21 05:27:09 2006
@@ -1,4 +1,28 @@
-using System;
+#region Apache Notice
+/*****************************************************************************
+ * $Revision$
+ * $LastChangedDate$
+ * $LastChangedBy$
+ *
+ * iBATIS.NET Data Mapper
+ * Copyright (C) 2006/2005 - The Apache Software Foundation
+ *
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ ********************************************************************************/
+#endregion
+
using System.Collections;
using System.Collections.Specialized;
using IBatisNet.DataMapper.Scope;
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/DeleteDeSerializer.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/DeleteDeSerializer.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/DeleteDeSerializer.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/DeleteDeSerializer.cs Sun May 21 05:27:09 2006
@@ -1,7 +1,7 @@
#region Apache Notice
/*****************************************************************************
* $Header: $
- * $Revision: $
+ * $Revision$
* $Date$
*
* iBATIS.NET Data Mapper
@@ -38,7 +38,7 @@
/// <summary>
/// Summary description for DeleteDeSerializer.
/// </summary>
- public class DeleteDeSerializer
+ public sealed class DeleteDeSerializer
{
/// <summary>
/// Deserialize a TypeHandler object
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/DiscriminatorDeSerializer.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/DiscriminatorDeSerializer.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/DiscriminatorDeSerializer.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/DiscriminatorDeSerializer.cs Sun May 21 05:27:09 2006
@@ -1,7 +1,7 @@
#region Apache Notice
/*****************************************************************************
* $Header: $
- * $Revision: $
+ * $Revision$
* $Date$
*
* iBATIS.NET Data Mapper
@@ -37,7 +37,7 @@
/// <summary>
/// Summary description for DiscriminatorDeSerializer.
/// </summary>
- public class DiscriminatorDeSerializer
+ public sealed class DiscriminatorDeSerializer
{
/// <summary>
/// Deserialize a ResultMap object
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/DynamicDeSerializer.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/DynamicDeSerializer.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/DynamicDeSerializer.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/DynamicDeSerializer.cs Sun May 21 05:27:09 2006
@@ -38,7 +38,7 @@
/// <summary>
/// Summary description for DynamicDeSerializer.
/// </summary>
- public class DynamicDeSerializer : IDeSerializer
+ public sealed class DynamicDeSerializer : IDeSerializer
{
private ConfigurationScope _configScope = null;
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/InsertDeSerializer.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/InsertDeSerializer.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/InsertDeSerializer.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/InsertDeSerializer.cs Sun May 21 05:27:09 2006
@@ -1,7 +1,7 @@
#region Apache Notice
/*****************************************************************************
* $Header: $
- * $Revision: $
+ * $Revision$
* $Date$
*
* iBATIS.NET Data Mapper
@@ -38,7 +38,7 @@
/// <summary>
/// Summary description for InsertDeSerializer.
/// </summary>
- public class InsertDeSerializer
+ public sealed class InsertDeSerializer
{
/// <summary>
/// Deserialize a TypeHandler object
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsEmptyDeSerializer.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsEmptyDeSerializer.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsEmptyDeSerializer.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsEmptyDeSerializer.cs Sun May 21 05:27:09 2006
@@ -39,7 +39,7 @@
/// <summary>
/// Summary description for IsEmptyDeSerializer.
/// </summary>
- public class IsEmptyDeSerializer : IDeSerializer
+ public sealed class IsEmptyDeSerializer : IDeSerializer
{
private ConfigurationScope _configScope = null;
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsEqualDeSerializer.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsEqualDeSerializer.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsEqualDeSerializer.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsEqualDeSerializer.cs Sun May 21 05:27:09 2006
@@ -38,7 +38,7 @@
/// <summary>
/// Summary description for IsEqualDeSerializer.
/// </summary>
- public class IsEqualDeSerializer : IDeSerializer
+ public sealed class IsEqualDeSerializer : IDeSerializer
{
private ConfigurationScope _configScope = null;
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsGreaterEqualDeSerializer.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsGreaterEqualDeSerializer.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsGreaterEqualDeSerializer.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsGreaterEqualDeSerializer.cs Sun May 21 05:27:09 2006
@@ -38,7 +38,7 @@
/// <summary>
/// Summary description for IsGreaterEqualDeSerializer.
/// </summary>
- public class IsGreaterEqualDeSerializer : IDeSerializer
+ public sealed class IsGreaterEqualDeSerializer : IDeSerializer
{
private ConfigurationScope _configScope = null;
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsGreaterThanDeSerializer.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsGreaterThanDeSerializer.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsGreaterThanDeSerializer.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsGreaterThanDeSerializer.cs Sun May 21 05:27:09 2006
@@ -38,7 +38,7 @@
/// <summary>
/// Summary description for IsGreaterThanDeSerializer.
/// </summary>
- public class IsGreaterThanDeSerializer : IDeSerializer
+ public sealed class IsGreaterThanDeSerializer : IDeSerializer
{
private ConfigurationScope _configScope = null;
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsLessEqualDeSerializer.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsLessEqualDeSerializer.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsLessEqualDeSerializer.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsLessEqualDeSerializer.cs Sun May 21 05:27:09 2006
@@ -37,7 +37,7 @@
/// <summary>
/// Summary description for IsLessEqualDeSerializer.
/// </summary>
- public class IsLessEqualDeSerializer : IDeSerializer
+ public sealed class IsLessEqualDeSerializer : IDeSerializer
{
private ConfigurationScope _configScope = null;
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsLessThanDeSerializer.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsLessThanDeSerializer.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsLessThanDeSerializer.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsLessThanDeSerializer.cs Sun May 21 05:27:09 2006
@@ -38,7 +38,7 @@
/// <summary>
/// Summary description for IsLessThanDeSerializer.
/// </summary>
- public class IsLessThanDeSerializer : IDeSerializer
+ public sealed class IsLessThanDeSerializer : IDeSerializer
{
private ConfigurationScope _configScope = null;
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNotEmptyDeSerializer.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNotEmptyDeSerializer.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNotEmptyDeSerializer.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNotEmptyDeSerializer.cs Sun May 21 05:27:09 2006
@@ -38,7 +38,7 @@
/// <summary>
/// Summary description for IsNotEmptyDeSerializer.
/// </summary>
- public class IsNotEmptyDeSerializer : IDeSerializer
+ public sealed class IsNotEmptyDeSerializer : IDeSerializer
{
private ConfigurationScope _configScope = null;
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNotEqualDeSerializer.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNotEqualDeSerializer.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNotEqualDeSerializer.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNotEqualDeSerializer.cs Sun May 21 05:27:09 2006
@@ -39,7 +39,7 @@
/// <summary>
/// Summary description for IsNotEqualDeSerializer.
/// </summary>
- public class IsNotEqualDeSerializer : IDeSerializer
+ public sealed class IsNotEqualDeSerializer : IDeSerializer
{
private ConfigurationScope _configScope = null;
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNotNullDeSerializer.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNotNullDeSerializer.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNotNullDeSerializer.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNotNullDeSerializer.cs Sun May 21 05:27:09 2006
@@ -38,7 +38,7 @@
/// <summary>
/// Summary description for IsNotNullDeSerializer.
/// </summary>
- public class IsNotNullDeSerializer : IDeSerializer
+ public sealed class IsNotNullDeSerializer : IDeSerializer
{
private ConfigurationScope _configScope = null;
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNotParameterPresentDeSerializer.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNotParameterPresentDeSerializer.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNotParameterPresentDeSerializer.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNotParameterPresentDeSerializer.cs Sun May 21 05:27:09 2006
@@ -38,7 +38,7 @@
/// <summary>
/// Summary description for IsNotParameterPresentDeSerializer.
/// </summary>
- public class IsNotParameterPresentDeSerializer : IDeSerializer
+ public sealed class IsNotParameterPresentDeSerializer : IDeSerializer
{
private ConfigurationScope _configScope = null;
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNotPropertyAvailableDeSerializer.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNotPropertyAvailableDeSerializer.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNotPropertyAvailableDeSerializer.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNotPropertyAvailableDeSerializer.cs Sun May 21 05:27:09 2006
@@ -38,7 +38,7 @@
/// <summary>
/// Summary description for IsNotPropertyAvailableDeSerializer.
/// </summary>
- public class IsNotPropertyAvailableDeSerializer : IDeSerializer
+ public sealed class IsNotPropertyAvailableDeSerializer : IDeSerializer
{
private ConfigurationScope _configScope = null;
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNullDeSerializer.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNullDeSerializer.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNullDeSerializer.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsNullDeSerializer.cs Sun May 21 05:27:09 2006
@@ -38,7 +38,7 @@
/// <summary>
/// Summary description for IsNullDeSerializer.
/// </summary>
- public class IsNullDeSerializer : IDeSerializer
+ public sealed class IsNullDeSerializer : IDeSerializer
{
private ConfigurationScope _configScope = null;
Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsParameterPresentDeSerializer.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsParameterPresentDeSerializer.cs?rev=408164&r1=408163&r2=408164&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsParameterPresentDeSerializer.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/IsParameterPresentDeSerializer.cs Sun May 21 05:27:09 2006
@@ -38,7 +38,7 @@
/// <summary>
/// Summary description for IsParameterPresentDeSerializer.
/// </summary>
- public class IsParameterPresentDeSerializer : IDeSerializer
+ public sealed class IsParameterPresentDeSerializer : IDeSerializer
{
private ConfigurationScope _configScope = null;