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/11/19 17:07:48 UTC

svn commit: r476843 [2/3] - in /ibatis/trunk/cs/mapper: IBatisNet.DataMapper.Test/NUnit/SqlMapTests/ IBatisNet.DataMapper/ IBatisNet.DataMapper/Commands/ IBatisNet.DataMapper/Configuration/ IBatisNet.DataMapper/Configuration/Sql/ IBatisNet.DataMapper/C...

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/SelectMappedStatement.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/SelectMappedStatement.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/SelectMappedStatement.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/SelectMappedStatement.cs Sun Nov 19 08:07:45 2006
@@ -1,4 +1,3 @@
-
 #region Apache Notice
 /*****************************************************************************
  * $Header: $
@@ -24,11 +23,8 @@
  ********************************************************************************/
 #endregion
 
-using System;
-using System.Collections;
 
 using IBatisNet.DataMapper.Exceptions;
-using IBatisNet.Common;
 using IBatisNet.DataMapper.Configuration.Statements;
 
 namespace IBatisNet.DataMapper.MappedStatements
@@ -56,7 +52,7 @@
 		/// <param name="session"></param>
 		/// <param name="parameterObject"></param>
 		/// <returns></returns>
-		public override object ExecuteInsert(IDalSession session, object parameterObject )
+		public override object ExecuteInsert(ISqlMapSession session, object parameterObject )
 		{
 			throw new DataMapperException("Update statements cannot be executed as a query insert.");
 		}
@@ -71,7 +67,7 @@
 		/// <param name="session"></param>
 		/// <param name="parameterObject"></param>
 		/// <returns></returns>
-		public override int ExecuteUpdate(IDalSession session, object parameterObject )
+        public override int ExecuteUpdate(ISqlMapSession session, object parameterObject)
 		{
 			throw new DataMapperException("Insert statements cannot be executed as a update query.");
 		}

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/UpdateMappedStatement.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/UpdateMappedStatement.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/UpdateMappedStatement.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/UpdateMappedStatement.cs Sun Nov 19 08:07:45 2006
@@ -1,4 +1,3 @@
-
 #region Apache Notice
 /*****************************************************************************
  * $Header: $
@@ -24,11 +23,10 @@
  ********************************************************************************/
 #endregion
 
-using System;
+
 using System.Collections;
 
 using IBatisNet.DataMapper.Exceptions;
-using IBatisNet.Common;
 using IBatisNet.DataMapper.Configuration.Statements;
 
 namespace IBatisNet.DataMapper.MappedStatements
@@ -57,7 +55,7 @@
 		/// <param name="keyProperty"></param>
 		/// <param name="valueProperty"></param>
 		/// <returns></returns>
-		public override IDictionary ExecuteQueryForMap( IDalSession session, object parameterObject, string keyProperty, string valueProperty )
+        public override IDictionary ExecuteQueryForMap(ISqlMapSession session, object parameterObject, string keyProperty, string valueProperty)
 		{
 			throw new DataMapperException("Update statements cannot be executed as a query for map.");
 		}
@@ -72,7 +70,7 @@
 		/// <param name="session"></param>
 		/// <param name="parameterObject"></param>
 		/// <returns></returns>
-		public override object ExecuteInsert(IDalSession session, object parameterObject )
+        public override object ExecuteInsert(ISqlMapSession session, object parameterObject)
 		{
 			throw new DataMapperException("Update statements cannot be executed as a query insert.");
 		}
@@ -87,7 +85,7 @@
 		/// <param name="session"></param>
 		/// <param name="parameterObject"></param>
 		/// <param name="resultObject"></param>
-		public override void ExecuteQueryForList(IDalSession session, object parameterObject, IList resultObject )
+        public override void ExecuteQueryForList(ISqlMapSession session, object parameterObject, IList resultObject)
 		{
 			throw new DataMapperException("Update statements cannot be executed as a query for list.");
 		}
@@ -100,7 +98,7 @@
 		/// <param name="skipResults"></param>
 		/// <param name="maxResults"></param>
 		/// <returns></returns>
-		public override IList ExecuteQueryForList( IDalSession session, object parameterObject, int skipResults, int maxResults )
+        public override IList ExecuteQueryForList(ISqlMapSession session, object parameterObject, int skipResults, int maxResults)
 		{
 			throw new DataMapperException("Update statements cannot be executed as a query for list.");
 		}
@@ -111,7 +109,7 @@
 		/// <param name="session"></param>
 		/// <param name="parameterObject"></param>
 		/// <returns></returns>
-		public override IList ExecuteQueryForList( IDalSession session, object parameterObject )
+        public override IList ExecuteQueryForList(ISqlMapSession session, object parameterObject)
 		{
 			throw new DataMapperException("Update statements cannot be executed as a query for list.");
 		}
@@ -127,7 +125,7 @@
 		/// <param name="parameterObject"></param>
 		/// <param name="rowDelegate"></param>
 		/// <returns></returns>
-		public override IList ExecuteQueryForRowDelegate( IDalSession session, object parameterObject, RowDelegate rowDelegate )
+        public override IList ExecuteQueryForRowDelegate(ISqlMapSession session, object parameterObject, RowDelegate rowDelegate)
 		{
 			throw new DataMapperException("Update statement cannot be executed as a query for row delegate.");
 		}
@@ -143,7 +141,7 @@
 		/// <param name="rowDelegate"></param>
 		/// <returns>A hashtable of object containing the rows keyed by keyProperty.</returns>
 		///<exception cref="DataMapperException">If a transaction is not in progress, or the database throws an exception.</exception>
-		public override IDictionary ExecuteQueryForMapWithRowDelegate( IDalSession session, object parameterObject, string keyProperty, string valueProperty, DictionaryRowDelegate rowDelegate )
+        public override IDictionary ExecuteQueryForMapWithRowDelegate(ISqlMapSession session, object parameterObject, string keyProperty, string valueProperty, DictionaryRowDelegate rowDelegate)
 		{
 			throw new DataMapperException("Update statement cannot be executed as a query for row delegate.");
 		}
@@ -157,7 +155,7 @@
 		/// <param name="session"></param>
 		/// <param name="parameterObject"></param>
 		/// <returns></returns>
-		public override object ExecuteQueryForObject( IDalSession session, object parameterObject )
+        public override object ExecuteQueryForObject(ISqlMapSession session, object parameterObject)
 		{
 			throw new DataMapperException("Update statements cannot be executed as a query for object.");
 		}
@@ -169,7 +167,7 @@
 		/// <param name="parameterObject"></param>
 		/// <param name="resultObject"></param>
 		/// <returns></returns>
-		public override object ExecuteQueryForObject( IDalSession session, object parameterObject, object resultObject )
+        public override object ExecuteQueryForObject(ISqlMapSession session, object parameterObject, object resultObject)
 		{
 			throw new DataMapperException("Update statements cannot be executed as a query for object.");
 		}

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Scope/RequestScope.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Scope/RequestScope.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Scope/RequestScope.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Scope/RequestScope.cs Sun Nov 19 08:07:45 2006
@@ -29,7 +29,7 @@
 using System.Collections;
 using System.Data;
 using System.Runtime.CompilerServices;
-using IBatisNet.Common;
+using IBatisNet.DataMapper;
 using IBatisNet.DataMapper.Configuration.ParameterMapping;
 using IBatisNet.DataMapper.Configuration.ResultMapping;
 using IBatisNet.DataMapper.Configuration.Statements;
@@ -57,7 +57,7 @@
         private static long _nextId = 0;
         private long _id = 0;
         private DataExchangeFactory _dataExchangeFactory = null;
-        private IDalSession _session = null;
+        private ISqlMapSession _session = null;
         private IMappedStatement _mappedStatement = null;
         private int _currentResultMapIndex = -1;
         // Used by N+1 Select solution
@@ -118,9 +118,9 @@
         }
 
         /// <summary>
-        ///  The current <see cref="IDalSession"/>.
+        ///  The current <see cref="ISqlMapSession"/>.
         /// </summary>
-        public IDalSession Session
+        public ISqlMapSession Session
         {
             get { return _session; }
         }
@@ -206,7 +206,7 @@
         /// <param name="statement">The statement</param>
         public RequestScope(
             DataExchangeFactory dataExchangeFactory,
-            IDalSession session,
+            ISqlMapSession session,
             IStatement statement
             )
         {

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SessionStore/AbstractSessionStore.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SessionStore/AbstractSessionStore.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SessionStore/AbstractSessionStore.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SessionStore/AbstractSessionStore.cs Sun Nov 19 08:07:45 2006
@@ -24,7 +24,6 @@
 #endregion
 
 using System;
-using IBatisNet.Common;
 
 namespace IBatisNet.DataMapper.SessionStore
 {
@@ -52,7 +51,7 @@
 		/// <summary>
 		/// Get the local session
 		/// </summary>
-        public abstract IDalSession LocalSession
+        public abstract ISqlMapSession LocalSession
 		{
 			get; 
 		}
@@ -62,7 +61,7 @@
         /// Store the specified session.
         /// </summary>
         /// <param name="session">The session to store</param>
-        public abstract void Store(IDalSession session);
+        public abstract void Store(ISqlMapSession session);
 
 		/// <summary>
 		/// Remove the local session from the storage.

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SessionStore/CallContextSessionStore.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SessionStore/CallContextSessionStore.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SessionStore/CallContextSessionStore.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SessionStore/CallContextSessionStore.cs Sun Nov 19 08:07:45 2006
@@ -24,7 +24,6 @@
 #endregion
 
 using System.Runtime.Remoting.Messaging;
-using IBatisNet.Common;
 
 namespace IBatisNet.DataMapper.SessionStore
 {
@@ -47,16 +46,16 @@
 		/// <summary>
 		/// Get the local session
 		/// </summary>
-        public override IDalSession LocalSession
+        public override ISqlMapSession LocalSession
 		{
-            get { return CallContext.GetData(sessionName) as IDalSession; }
+            get { return CallContext.GetData(sessionName) as SqlMapSession; }
 		}
 
 		/// <summary>
 		/// Store the specified session.
 		/// </summary>
 		/// <param name="session">The session to store</param>
-        public override void Store(IDalSession session)
+        public override void Store(ISqlMapSession session)
 		{
 			CallContext.SetData(sessionName, session);
 		}

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SessionStore/HybridWebThreadSessionStore.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SessionStore/HybridWebThreadSessionStore.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SessionStore/HybridWebThreadSessionStore.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SessionStore/HybridWebThreadSessionStore.cs Sun Nov 19 08:07:45 2006
@@ -1,4 +1,3 @@
-using System;
 #region Apache Notice
 /*****************************************************************************
  * $Header: $
@@ -26,8 +25,6 @@
 
 using System.Runtime.Remoting.Messaging;
 using System.Web;
-using IBatisNet.Common;
-using IBatisNet.Common.Exceptions;
 
 namespace IBatisNet.DataMapper.SessionStore
 {
@@ -52,16 +49,16 @@
 		/// <summary>
 		/// Get the local session
 		/// </summary>
-        public override IDalSession LocalSession
+        public override ISqlMapSession LocalSession
 		{
 			get
 			{
                 HttpContext currentContext = HttpContext.Current;
                 if (currentContext == null)
                 {
-                    return CallContext.GetData(sessionName) as IDalSession; 
+                    return CallContext.GetData(sessionName) as SqlMapSession; 
                 }
-                return currentContext.Items[sessionName] as IDalSession;
+                return currentContext.Items[sessionName] as SqlMapSession;
 			}
 		}
 
@@ -69,7 +66,7 @@
 		/// Store the specified session.
 		/// </summary>
 		/// <param name="session">The session to store</param>
-        public override void Store(IDalSession session)
+        public override void Store(ISqlMapSession session)
 		{
             HttpContext currentContext = HttpContext.Current;
             if (currentContext == null)
@@ -94,7 +91,7 @@
             }
 		    else
             {
- 			    currentContext.Items[sessionName] = null;
+ 			    currentContext.Items.Remove(sessionName);
             }
 		}
 

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SessionStore/ISessionStore.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SessionStore/ISessionStore.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SessionStore/ISessionStore.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SessionStore/ISessionStore.cs Sun Nov 19 08:07:45 2006
@@ -23,8 +23,6 @@
  ********************************************************************************/
 #endregion
 
-using IBatisNet.Common;
-
 namespace IBatisNet.DataMapper.SessionStore
 {
 
@@ -36,7 +34,7 @@
 		/// <summary>
 		/// Get the local session
 		/// </summary>
-        IDalSession LocalSession
+        ISqlMapSession LocalSession
 		{
 			get; 
 		}
@@ -45,7 +43,7 @@
 		/// Store the specified session.
 		/// </summary>
 		/// <param name="session">The session to store</param>
-        void Store(IDalSession session);
+        void Store(ISqlMapSession session);
 
 		/// <summary>
 		/// Remove the local session from the storage.

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SessionStore/WebSessionStore.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SessionStore/WebSessionStore.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SessionStore/WebSessionStore.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SessionStore/WebSessionStore.cs Sun Nov 19 08:07:45 2006
@@ -24,7 +24,6 @@
 #endregion
 
 using System.Web;
-using IBatisNet.Common;
 using IBatisNet.Common.Exceptions;
 
 namespace IBatisNet.DataMapper.SessionStore
@@ -49,12 +48,12 @@
 		/// <summary>
 		/// Get the local session
 		/// </summary>
-        public override IDalSession LocalSession
+        public override ISqlMapSession LocalSession
 		{
 			get
 			{
 				HttpContext currentContext = ObtainSessionContext();
-                return currentContext.Items[sessionName] as IDalSession;
+                return currentContext.Items[sessionName] as SqlMapSession;
 			}
 		}
 
@@ -62,7 +61,7 @@
 		/// Store the specified session.
 		/// </summary>
 		/// <param name="session">The session to store</param>
-        public override void Store(IDalSession session)
+        public override void Store(ISqlMapSession session)
 		{
 			HttpContext currentContext = ObtainSessionContext();
 			currentContext.Items[sessionName] = session;
@@ -74,7 +73,7 @@
 		public override void Dispose()
 		{
 			HttpContext currentContext = ObtainSessionContext();
-			currentContext.Items[sessionName] = null;
+			currentContext.Items.Remove(sessionName);
 		}
 
 		

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SqlMapSession.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SqlMapSession.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SqlMapSession.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SqlMapSession.cs Sun Nov 19 08:07:45 2006
@@ -41,7 +41,7 @@
 	/// Summary description for SqlMapSession.
 	/// </summary>
 	[Serializable]
-	public class SqlMapSession : IDalSession
+    public class SqlMapSession : ISqlMapSession
 	{
 		#region Fields
 		private static readonly ILog _logger = LogManager.GetLogger( System.Reflection.MethodBase.GetCurrentMethod().DeclaringType );
@@ -62,10 +62,10 @@
 		}
 		#endregion
 
-		#region IDalSession Members
+        #region IDalSession Members
 
-		#region Fields
-		private bool _isOpenTransaction = false;
+        #region Fields
+        private bool _isOpenTransaction = false;
 		/// <summary>
 		/// Changes the vote to commit (true) or to abort (false) in transsaction
 		/// </summary>

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SqlMapper.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SqlMapper.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SqlMapper.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SqlMapper.cs Sun Nov 19 08:07:45 2006
@@ -33,13 +33,10 @@
 using System.Collections.Specialized;
 using System.Data;
 using System.Text;
-using System.Threading;
-using System.Xml;
 using IBatisNet.Common;
 using IBatisNet.Common.Utilities;
 using IBatisNet.Common.Utilities.Objects;
 using IBatisNet.Common.Utilities.Objects.Members;
-using IBatisNet.DataMapper.Configuration;
 using IBatisNet.DataMapper.Configuration.Cache;
 using IBatisNet.DataMapper.Configuration.ParameterMapping;
 using IBatisNet.DataMapper.Configuration.ResultMapping;
@@ -111,7 +108,7 @@
 		///  Returns the DalSession instance 
 		///  currently being used by the SqlMap.
 		/// </summary>
-		public IDalSession LocalSession
+		public ISqlMapSession LocalSession
 		{
 			get { return _sessionStore.LocalSession; }
 		}
@@ -200,13 +197,13 @@
 		/// Open a connection
 		/// </summary>
 		/// <returns></returns>
-		public IDalSession OpenConnection() 
+		public ISqlMapSession OpenConnection() 
 		{
 			if (_sessionStore.LocalSession != null) 
 			{
 				throw new DataMapperException("SqlMap could not invoke OpenConnection(). A connection is already started. Call CloseConnection first.");
 			}
-            IDalSession session = CreateSqlMapSession();
+            ISqlMapSession session = CreateSqlMapSession();
 			_sessionStore.Store(session);
 			return session;
 		}
@@ -215,13 +212,13 @@
 		/// Open a connection, on the specified connection string.
 		/// </summary>
 		/// <param name="connectionString">The connection string</param>
-		public IDalSession OpenConnection(string connectionString)
+		public ISqlMapSession OpenConnection(string connectionString)
 		{
 			if (_sessionStore.LocalSession != null) 
 			{
 				throw new DataMapperException("SqlMap could not invoke OpenConnection(). A connection is already started. Call CloseConnection first.");
 			}
-            IDalSession session = CreateSqlMapSession(connectionString);
+            ISqlMapSession session = CreateSqlMapSession(connectionString);
 			_sessionStore.Store(session);
 			return session;
 		}
@@ -237,7 +234,7 @@
 			}
 			try
 			{
-				IDalSession session = _sessionStore.LocalSession;
+				ISqlMapSession session = _sessionStore.LocalSession;
 				session.CloseConnection();			
 			} 
 			catch(Exception ex)
@@ -254,13 +251,13 @@
 		/// <summary>
 		/// Begins a database transaction.
 		/// </summary>
-		public IDalSession BeginTransaction() 
+		public ISqlMapSession BeginTransaction() 
 		{
 			if (_sessionStore.LocalSession != null) 
 			{
 				throw new DataMapperException("SqlMap could not invoke BeginTransaction(). A Transaction is already started. Call CommitTransaction() or RollbackTransaction first.");
 			}
-            IDalSession session = CreateSqlMapSession();
+            ISqlMapSession session = CreateSqlMapSession();
 			_sessionStore.Store(session);
 			session.BeginTransaction();
 			return session ;
@@ -270,13 +267,13 @@
 		/// Open a connection and begin a transaction on the specified connection string.
 		/// </summary>
 		/// <param name="connectionString">The connection string</param>
-		public IDalSession BeginTransaction(string connectionString)
+		public ISqlMapSession BeginTransaction(string connectionString)
 		{
 			if (_sessionStore.LocalSession != null) 
 			{
 				throw new DataMapperException("SqlMap could not invoke BeginTransaction(). A Transaction is already started. Call CommitTransaction() or RollbackTransaction first.");
 			}
-            IDalSession session = CreateSqlMapSession(connectionString);
+            ISqlMapSession session = CreateSqlMapSession(connectionString);
 			_sessionStore.Store(session);
 			session.BeginTransaction( connectionString );
 			return session ;
@@ -286,9 +283,9 @@
 		/// Begins a database transaction on the currect session
 		/// </summary>
 		/// <param name="openConnection">Open a connection.</param>
-		public IDalSession BeginTransaction(bool openConnection)
+		public ISqlMapSession BeginTransaction(bool openConnection)
 		{
-			IDalSession session = null;
+			ISqlMapSession session = null;
 
 			if (openConnection)
 			{
@@ -313,13 +310,13 @@
 		/// <param name="isolationLevel">
 		/// The isolation level under which the transaction should run.
 		/// </param>
-		public IDalSession BeginTransaction(IsolationLevel isolationLevel)
+		public ISqlMapSession BeginTransaction(IsolationLevel isolationLevel)
 		{
 			if (_sessionStore.LocalSession != null) 
 			{
 				throw new DataMapperException("SqlMap could not invoke BeginTransaction(). A Transaction is already started. Call CommitTransaction() or RollbackTransaction first.");
 			}
-            IDalSession session = CreateSqlMapSession();
+            ISqlMapSession session = CreateSqlMapSession();
 			_sessionStore.Store(session);
 			session.BeginTransaction(isolationLevel);
 			return session;
@@ -330,13 +327,13 @@
 		/// </summary>
 		/// <param name="connectionString">The connection string</param>
 		/// <param name="isolationLevel">The transaction isolation level for this connection.</param>
-		public IDalSession BeginTransaction(string connectionString, IsolationLevel isolationLevel)
+		public ISqlMapSession BeginTransaction(string connectionString, IsolationLevel isolationLevel)
 		{
 			if (_sessionStore.LocalSession != null) 
 			{
 				throw new DataMapperException("SqlMap could not invoke BeginTransaction(). A Transaction is already started. Call CommitTransaction() or RollbackTransaction first.");
 			}
-            IDalSession session = CreateSqlMapSession(connectionString);
+            ISqlMapSession session = CreateSqlMapSession(connectionString);
 			_sessionStore.Store(session);
 			session.BeginTransaction( connectionString, isolationLevel);
 			return session;
@@ -350,9 +347,9 @@
 		/// <param name="isolationLevel">
 		/// The isolation level under which the transaction should run.
 		/// </param>
-		public IDalSession BeginTransaction(bool openNewConnection, IsolationLevel isolationLevel)
+		public ISqlMapSession BeginTransaction(bool openNewConnection, IsolationLevel isolationLevel)
 		{
-			IDalSession session = null;
+			ISqlMapSession session = null;
 
 			if (openNewConnection)
 			{
@@ -377,9 +374,9 @@
 		/// <param name="isolationLevel">The transaction isolation level for this connection.</param>
 		/// <param name="connectionString">The connection string</param>
 		/// <param name="openNewConnection">Open a connection.</param>
-		public IDalSession BeginTransaction(string connectionString, bool openNewConnection, IsolationLevel isolationLevel)
+		public ISqlMapSession BeginTransaction(string connectionString, bool openNewConnection, IsolationLevel isolationLevel)
 		{
-			IDalSession session = null;
+			ISqlMapSession session = null;
 
 			if (openNewConnection)
 			{
@@ -411,7 +408,7 @@
 			}
 			try
 			{
-				IDalSession session = _sessionStore.LocalSession;
+				ISqlMapSession session = _sessionStore.LocalSession;
 				session.CommitTransaction();
 			} 
 			finally 
@@ -432,7 +429,7 @@
 			}
 			try
 			{
-				IDalSession session = _sessionStore.LocalSession;
+				ISqlMapSession session = _sessionStore.LocalSession;
 				session.CommitTransaction(closeConnection);
 			} 
 			finally 
@@ -458,7 +455,7 @@
 			}
 			try
 			{
-				IDalSession session = _sessionStore.LocalSession;
+				ISqlMapSession session = _sessionStore.LocalSession;
 				session.RollBackTransaction();			
 			} 
 			finally 
@@ -479,7 +476,7 @@
 			}
 			try
 			{
-				IDalSession session = _sessionStore.LocalSession;
+				ISqlMapSession session = _sessionStore.LocalSession;
 				session.RollBackTransaction(closeConnection);			
 			} 
 			finally 
@@ -508,7 +505,7 @@
 		public object QueryForObject(string statementName, object parameterObject)
 		{
 			bool isSessionLocal = false;
-			IDalSession session = _sessionStore.LocalSession;
+			ISqlMapSession session = _sessionStore.LocalSession;
 			object result;
  
 			if (session == null) 
@@ -548,7 +545,7 @@
 		public object QueryForObject(string statementName, object parameterObject, object resultObject)
 		{
 			bool isSessionLocal = false;
-			IDalSession session = _sessionStore.LocalSession;
+			ISqlMapSession session = _sessionStore.LocalSession;
 			object result = null;
  
 			if (session == null) 
@@ -594,7 +591,7 @@
         public T QueryForObject<T>(string statementName, object parameterObject)
         {
             bool isSessionLocal = false;
-            IDalSession session = _sessionStore.LocalSession;
+            ISqlMapSession session = _sessionStore.LocalSession;
             T result;
 
             if (session == null)
@@ -634,7 +631,7 @@
         public T QueryForObject<T>(string statementName, object parameterObject, T instanceObject)
         {
             bool isSessionLocal = false;
-            IDalSession session = _sessionStore.LocalSession;
+            ISqlMapSession session = _sessionStore.LocalSession;
             T result = default(T);
 
             if (session == null)
@@ -722,7 +719,7 @@
 		public IDictionary QueryForMap(string statementName, object parameterObject, string keyProperty, string valueProperty)
 		{
 			bool isSessionLocal = false;
-			IDalSession session = _sessionStore.LocalSession;
+			ISqlMapSession session = _sessionStore.LocalSession;
 			IDictionary map = null;
  
 			if (session == null) 
@@ -768,7 +765,7 @@
 		public IList QueryForList(string statementName, object parameterObject)
 		{
 			bool isSessionLocal = false;
-			IDalSession session = _sessionStore.LocalSession;
+			ISqlMapSession session = _sessionStore.LocalSession;
 			IList list;
  
 			if (session == null) 
@@ -811,7 +808,7 @@
 		public IList QueryForList(string statementName, object parameterObject, int skipResults, int maxResults)	
 		{
 			bool isSessionLocal = false;
-			IDalSession session = _sessionStore.LocalSession;
+			ISqlMapSession session = _sessionStore.LocalSession;
 			IList list;
  
 			if (session == null) 
@@ -855,7 +852,7 @@
 		public void QueryForList(string statementName, object parameterObject, IList resultObject)
 		{
 			bool isSessionLocal = false;
-			IDalSession session = _sessionStore.LocalSession;
+			ISqlMapSession session = _sessionStore.LocalSession;
  
 			if (resultObject == null)
 			{
@@ -905,7 +902,7 @@
         public IDictionary<K, V> QueryForDictionary<K, V>(string statementName, object parameterObject, string keyProperty, string valueProperty)
         {
             bool isSessionLocal = false;
-            IDalSession session = _sessionStore.LocalSession;
+            ISqlMapSession session = _sessionStore.LocalSession;
             IDictionary<K, V> map = null;
 
             if (session == null)
@@ -964,7 +961,7 @@
         public IDictionary<K, V> QueryForDictionary<K, V>(string statementName, object parameterObject, string keyProperty, string valueProperty, DictionaryRowDelegate<K, V> rowDelegate)
         {
             bool isSessionLocal = false;
-            IDalSession session = _sessionStore.LocalSession;
+            ISqlMapSession session = _sessionStore.LocalSession;
             IDictionary<K, V> map = null;
 
             if (session == null)
@@ -1007,7 +1004,7 @@
         public IList<T> QueryForList<T>(string statementName, object parameterObject)
         {
             bool isSessionLocal = false;
-            IDalSession session = _sessionStore.LocalSession;
+            ISqlMapSession session = _sessionStore.LocalSession;
             IList<T> list;
 
             if (session == null)
@@ -1050,7 +1047,7 @@
         public IList<T> QueryForList<T>(string statementName, object parameterObject, int skipResults, int maxResults)
         {
             bool isSessionLocal = false;
-            IDalSession session = _sessionStore.LocalSession;
+            ISqlMapSession session = _sessionStore.LocalSession;
             IList<T> list;
 
             if (session == null)
@@ -1093,7 +1090,7 @@
         public void QueryForList<T>(string statementName, object parameterObject, IList<T> resultObject)
         {
             bool isSessionLocal = false;
-            IDalSession session = _sessionStore.LocalSession;
+            ISqlMapSession session = _sessionStore.LocalSession;
 
             if (resultObject == null)
             {
@@ -1159,7 +1156,7 @@
 		public IList QueryWithRowDelegate(string statementName, object parameterObject, RowDelegate rowDelegate)
 		{
 			bool isSessionLocal = false;
-			IDalSession session = _sessionStore.LocalSession;
+			ISqlMapSession session = _sessionStore.LocalSession;
 			IList list = null;
  
 			if (session == null) 
@@ -1203,7 +1200,7 @@
         public IList<T> QueryWithRowDelegate<T>(string statementName, object parameterObject, RowDelegate<T> rowDelegate)
         {
             bool isSessionLocal = false;
-            IDalSession session = _sessionStore.LocalSession;
+            ISqlMapSession session = _sessionStore.LocalSession;
             IList<T> list = null;
 
             if (session == null)
@@ -1250,7 +1247,7 @@
 		public IDictionary QueryForMapWithRowDelegate(string statementName, object parameterObject, string keyProperty, string valueProperty, DictionaryRowDelegate rowDelegate)
 		{
 			bool isSessionLocal = false;
-			IDalSession session = _sessionStore.LocalSession;
+			ISqlMapSession session = _sessionStore.LocalSession;
 			IDictionary map = null;
  
 			if (session == null) 
@@ -1302,7 +1299,7 @@
 		public object Insert(string statementName, object parameterObject)
 		{
 			bool isSessionLocal = false;
-			IDalSession session = _sessionStore.LocalSession;
+			ISqlMapSession session = _sessionStore.LocalSession;
 			object generatedKey = null;
  
 			if (session == null) 
@@ -1346,7 +1343,7 @@
 		public int Update(string statementName, object parameterObject)
 		{
 			bool isSessionLocal = false;
-			IDalSession session = _sessionStore.LocalSession;
+			ISqlMapSession session = _sessionStore.LocalSession;
 			int rows = 0; // the number of rows affected
 
 			if (session == null) 
@@ -1385,7 +1382,7 @@
 		public int Delete(string statementName, object parameterObject)
 		{
 			bool isSessionLocal = false;
-			IDalSession session = _sessionStore.LocalSession;
+			ISqlMapSession session = _sessionStore.LocalSession;
 			int rows = 0; // the number of rows affected
 
 			if (session == null) 
@@ -1623,12 +1620,12 @@
 
 
         /// <summary>
-        /// Creates a new IDalSession that will be used to query the data source.
+        /// Creates a new SqlMapSession that will be used to query the data source.
         /// </summary>
         /// <returns>A new session</returns>
-        public IDalSession CreateSqlMapSession()
+        public ISqlMapSession CreateSqlMapSession()
 		{
-			SqlMapSession session = new SqlMapSession(this);
+			ISqlMapSession session = new SqlMapSession(this);
 		    session.CreateConnection();
 
             return session;
@@ -1640,9 +1637,9 @@
         /// </summary>
         /// <param name="connectionString">The connection string.</param>
         /// <returns>A new session</returns>
-        public IDalSession CreateSqlMapSession(string connectionString)
+        public ISqlMapSession CreateSqlMapSession(string connectionString)
         {
-            SqlMapSession session = new SqlMapSession(this);
+            ISqlMapSession session = new SqlMapSession(this);
             session.CreateConnection(connectionString);
 
             return session;

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/AnsiStringTypeHandler.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/AnsiStringTypeHandler.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/AnsiStringTypeHandler.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/AnsiStringTypeHandler.cs Sun Nov 19 08:07:45 2006
@@ -35,6 +35,9 @@
 
 namespace IBatisNet.DataMapper.TypeHandlers
 {
+    /// <summary>
+    /// TypeHandler for AnsiString dbType
+    /// </summary>
     public class AnsiStringTypeHandler : BaseTypeHandler
     {
 
@@ -49,9 +52,10 @@
             dataParameter.DbType = DbType.AnsiString;
             base.SetParameter(dataParameter, parameterValue, dbType);
         }
-        
+
+
         /// <summary>
-        /// 
+        /// Gets a column value by the name
         /// </summary>
         /// <param name="mapping"></param>
         /// <param name="dataReader"></param>
@@ -70,8 +74,9 @@
             }
         }
 
+
         /// <summary>
-        /// 
+        /// Gets a column value by the index
         /// </summary>
         /// <param name="mapping"></param>
         /// <param name="dataReader"></param>
@@ -88,11 +93,23 @@
             }
         }
 
+        /// <summary>
+        /// Retrieve ouput database value of an output parameter
+        /// </summary>
+        /// <param name="outputValue">ouput database value</param>
+        /// <param name="parameterType">type used in EnumTypeHandler</param>
+        /// <returns></returns>
         public override object GetDataBaseValue(object outputValue, Type parameterType)
         {
             return outputValue;
         }
 
+        /// <summary>
+        /// Converts the String to the type that this handler deals with
+        /// </summary>
+        /// <param name="type">the tyepe of the property (used only for enum conversion)</param>
+        /// <param name="s">the String value</param>
+        /// <returns>the converted value</returns>
         public override object ValueOf(Type type, string s)
         {
             return s;
@@ -100,9 +117,11 @@
 
 
         /// <summary>
-        /// 
+        /// Gets a value indicating whether this instance is simple type.
         /// </summary>
-        /// <returns></returns>
+        /// <value>
+        /// 	<c>true</c> if this instance is simple type; otherwise, <c>false</c>.
+        /// </value>
         public override bool IsSimpleType
         {
             get { return true; }

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/BaseTypeHandler.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/BaseTypeHandler.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/BaseTypeHandler.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/BaseTypeHandler.cs Sun Nov 19 08:07:45 2006
@@ -63,6 +63,12 @@
 		/// <returns></returns>
 		public abstract object GetDataBaseValue(object outputValue, Type parameterType );
 
+        /// <summary>
+        /// Gets a value indicating whether this instance is simple type.
+        /// </summary>
+        /// <value>
+        /// 	<c>true</c> if this instance is simple type; otherwise, <c>false</c>.
+        /// </value>
 		public abstract bool IsSimpleType{ get; }
 
 		/// <summary>

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/BooleanTypeHandler.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/BooleanTypeHandler.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/BooleanTypeHandler.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/BooleanTypeHandler.cs Sun Nov 19 08:07:45 2006
@@ -62,6 +62,12 @@
 			}
 		}
 
+        /// <summary>
+        /// Gets a column value by the index
+        /// </summary>
+        /// <param name="mapping"></param>
+        /// <param name="dataReader"></param>
+        /// <returns></returns>
 		public override object GetValueByIndex(ResultProperty mapping, IDataReader dataReader) 
 		{
 			if (dataReader.IsDBNull(mapping.ColumnIndex) == true)
@@ -75,17 +81,35 @@
 		}
 
 
+        /// <summary>
+        /// Retrieve ouput database value of an output parameter
+        /// </summary>
+        /// <param name="outputValue">ouput database value</param>
+        /// <param name="parameterType">type used in EnumTypeHandler</param>
+        /// <returns></returns>
 		public override object GetDataBaseValue(object outputValue, Type parameterType )
 		{
 			return Convert.ToBoolean(outputValue);
 		}
 
 
+        /// <summary>
+        /// Gets a value indicating whether this instance is simple type.
+        /// </summary>
+        /// <value>
+        /// 	<c>true</c> if this instance is simple type; otherwise, <c>false</c>.
+        /// </value>
 		public override bool IsSimpleType
 		{
 			get { return true; }
 		}
 
+        /// <summary>
+        /// Converts the String to the type that this handler deals with
+        /// </summary>
+        /// <param name="type">the tyepe of the property (used only for enum conversion)</param>
+        /// <param name="s">the String value</param>
+        /// <returns>the converted value</returns>
 		public override object ValueOf(Type type, string s)
 		{
 			return Convert.ToBoolean(s);

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/ByteArrayTypeHandler.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/ByteArrayTypeHandler.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/ByteArrayTypeHandler.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/ByteArrayTypeHandler.cs Sun Nov 19 08:07:45 2006
@@ -41,12 +41,13 @@
 	/// </summary>
     public sealed class ByteArrayTypeHandler : BaseTypeHandler
 	{
-		/// <summary>
-		/// 
-		/// </summary>
-		/// <param name="mapping"></param>
-		/// <param name="dataReader"></param>
-		/// <returns></returns>
+
+        /// <summary>
+        /// Gets a column value by the name
+        /// </summary>
+        /// <param name="mapping"></param>
+        /// <param name="dataReader"></param>
+        /// <returns></returns>
 		public override object GetValueByName(ResultProperty mapping, IDataReader dataReader)
 		{
 			int index = dataReader.GetOrdinal(mapping.ColumnName);
@@ -61,6 +62,12 @@
 			}
 		}
 
+        /// <summary>
+        /// Gets a column value by the index
+        /// </summary>
+        /// <param name="mapping"></param>
+        /// <param name="dataReader"></param>
+        /// <returns></returns>
 		public override object GetValueByIndex(ResultProperty mapping, IDataReader dataReader) 
 		{
 			if (dataReader.IsDBNull(mapping.ColumnIndex) == true)
@@ -74,6 +81,12 @@
 		}
 
 
+        /// <summary>
+        /// Gets the index of the value by.
+        /// </summary>
+        /// <param name="columnIndex">Index of the column.</param>
+        /// <param name="dataReader">The data reader.</param>
+        /// <returns></returns>
 		private byte[] GetValueByIndex(int columnIndex, IDataReader dataReader) 
 		{
 			// determine the buffer size
@@ -88,17 +101,34 @@
 			return byteArray;
 		}
 
-		
+
+        /// <summary>
+        /// Converts the String to the type that this handler deals with
+        /// </summary>
+        /// <param name="type">the tyepe of the property (used only for enum conversion)</param>
+        /// <param name="s">the String value</param>
+        /// <returns>the converted value</returns>
 		public override object ValueOf(Type type, string s)
 		{
 			return System.Text.Encoding.Default.GetBytes(s);
 		}
 
+        /// <summary>
+        /// Retrieve ouput database value of an output parameter
+        /// </summary>
+        /// <param name="outputValue">ouput database value</param>
+        /// <param name="parameterType">type used in EnumTypeHandler</param>
+        /// <returns></returns>
 		public override object GetDataBaseValue(object outputValue, Type parameterType )
 		{
 			throw new DataMapperException("NotSupportedException");
 		}
 
+        /// <summary>
+        /// Tell us if ot is a 'primitive' type
+        /// </summary>
+        /// <value></value>
+        /// <returns></returns>
 		public override bool IsSimpleType
 		{
 			get { return true; }

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/ByteTypeHandler.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/ByteTypeHandler.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/ByteTypeHandler.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/ByteTypeHandler.cs Sun Nov 19 08:07:45 2006
@@ -42,12 +42,13 @@
     public sealed class ByteTypeHandler : BaseTypeHandler
 	{
 
-		/// <summary>
-		/// 
-		/// </summary>
-		/// <param name="mapping"></param>
-		/// <param name="dataReader"></param>
-		/// <returns></returns>
+
+        /// <summary>
+        /// Gets a column value by the name
+        /// </summary>
+        /// <param name="mapping"></param>
+        /// <param name="dataReader"></param>
+        /// <returns></returns>
 		public override object GetValueByName(ResultProperty mapping, IDataReader dataReader)
 		{
 			int index = dataReader.GetOrdinal(mapping.ColumnName);
@@ -62,6 +63,12 @@
 			}
 		}
 
+        /// <summary>
+        /// Gets a column value by the index
+        /// </summary>
+        /// <param name="mapping"></param>
+        /// <param name="dataReader"></param>
+        /// <returns></returns>
 		public override object GetValueByIndex(ResultProperty mapping, IDataReader dataReader) 
 		{
 			if (dataReader.IsDBNull(mapping.ColumnIndex) == true)
@@ -74,22 +81,44 @@
 			}
 		}
 
+        /// <summary>
+        /// Converts the String to the type that this handler deals with
+        /// </summary>
+        /// <param name="type">the tyepe of the property (used only for enum conversion)</param>
+        /// <param name="s">the String value</param>
+        /// <returns>the converted value</returns>
 		public override object ValueOf(Type type, string s)
 		{
 			return Convert.ToByte(s);
 		}
 
+        /// <summary>
+        /// Retrieve ouput database value of an output parameter
+        /// </summary>
+        /// <param name="outputValue">ouput database value</param>
+        /// <param name="parameterType">type used in EnumTypeHandler</param>
+        /// <returns></returns>
 		public override object GetDataBaseValue(object outputValue, Type parameterType )
 		{
 			return Convert.ToByte(outputValue);
 		}
 
 
+        /// <summary>
+        /// Gets a value indicating whether this instance is simple type.
+        /// </summary>
+        /// <value>
+        /// 	<c>true</c> if this instance is simple type; otherwise, <c>false</c>.
+        /// </value>
 		public override bool IsSimpleType
 		{
 			get { return true; }
 		}
 
+        /// <summary>
+        /// The null value for this type
+        /// </summary>
+        /// <value></value>
         public override object NullValue
         {
             get { throw new InvalidCastException("ByteTypeHandler, could not cast a null value in byte field."); }

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/CharTypeHandler.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/CharTypeHandler.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/CharTypeHandler.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/CharTypeHandler.cs Sun Nov 19 08:07:45 2006
@@ -41,12 +41,12 @@
     public sealed class CharTypeHandler : BaseTypeHandler
 	{
 
-		/// <summary>
-		/// 
-		/// </summary>
-		/// <param name="mapping"></param>
-		/// <param name="dataReader"></param>
-		/// <returns></returns>
+        /// <summary>
+        /// Gets a column value by the name
+        /// </summary>
+        /// <param name="mapping"></param>
+        /// <param name="dataReader"></param>
+        /// <returns></returns>
 		public override object GetValueByName(ResultProperty mapping, IDataReader dataReader)
 		{
 			int index = dataReader.GetOrdinal(mapping.ColumnName);
@@ -61,6 +61,12 @@
 			}
 		}
 
+        /// <summary>
+        /// Gets a column value by the index
+        /// </summary>
+        /// <param name="mapping"></param>
+        /// <param name="dataReader"></param>
+        /// <returns></returns>
 		public override object GetValueByIndex(ResultProperty mapping, IDataReader dataReader) 
 		{
 			if (dataReader.IsDBNull(mapping.ColumnIndex) == true)
@@ -74,17 +80,34 @@
 			}
 		}
 
+        /// <summary>
+        /// Converts the String to the type that this handler deals with
+        /// </summary>
+        /// <param name="type">the tyepe of the property (used only for enum conversion)</param>
+        /// <param name="s">the String value</param>
+        /// <returns>the converted value</returns>
 		public override object ValueOf(Type type, string s)
 		{
 			return Convert.ToChar(s);
 		}
 
+        /// <summary>
+        /// Retrieve ouput database value of an output parameter
+        /// </summary>
+        /// <param name="outputValue">ouput database value</param>
+        /// <param name="parameterType">type used in EnumTypeHandler</param>
+        /// <returns></returns>
 		public override object GetDataBaseValue(object outputValue, Type parameterType )
 		{
 			return Convert.ToChar(outputValue);
 		}
 
 
+        /// <summary>
+        /// Tell us if ot is a 'primitive' type
+        /// </summary>
+        /// <value></value>
+        /// <returns></returns>
 		public override bool IsSimpleType
 		{
 			get { return true; }

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/CustomTypeHandler.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/CustomTypeHandler.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/CustomTypeHandler.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/CustomTypeHandler.cs Sun Nov 19 08:07:45 2006
@@ -40,11 +40,19 @@
 	{
 		private ITypeHandlerCallback _callback = null;
 
+        /// <summary>
+        /// Initializes a new instance of the <see cref="CustomTypeHandler"/> class.
+        /// </summary>
+        /// <param name="callback">The callback.</param>
 		public CustomTypeHandler(ITypeHandlerCallback callback)
 		{
 			_callback = callback;
 		}
 
+        /// <summary>
+        /// Gets or sets the callback.
+        /// </summary>
+        /// <value>The callback.</value>
 		public ITypeHandlerCallback Callback
 		{
 			get { return _callback; }
@@ -64,34 +72,68 @@
 			_callback.SetParameter(setter, parameterValue);
 		}
 
+        /// <summary>
+        /// Gets a column value by the name
+        /// </summary>
+        /// <param name="mapping"></param>
+        /// <param name="dataReader"></param>
+        /// <returns></returns>
 		public override object GetValueByName(ResultProperty mapping, IDataReader dataReader)
 		{
 			IResultGetter getter = new ResultGetterImpl(dataReader, mapping.ColumnName);
 			return _callback.GetResult(getter);
 		}
 
+        /// <summary>
+        /// Gets a column value by the index
+        /// </summary>
+        /// <param name="mapping"></param>
+        /// <param name="dataReader"></param>
+        /// <returns></returns>
 		public override object GetValueByIndex(ResultProperty mapping, IDataReader dataReader)
 		{
 			IResultGetter getter = new ResultGetterImpl(dataReader, mapping.ColumnIndex);
 			return _callback.GetResult(getter);		
 		}
 
+        /// <summary>
+        /// Converts the String to the type that this handler deals with
+        /// </summary>
+        /// <param name="type">the tyepe of the property (used only for enum conversion)</param>
+        /// <param name="s">the String value</param>
+        /// <returns>the converted value</returns>
 		public override object ValueOf(Type type, string s)
 		{
 			return _callback.ValueOf(s);
 		}
 
+        /// <summary>
+        /// Retrieve ouput database value of an output parameter
+        /// </summary>
+        /// <param name="outputValue">ouput database value</param>
+        /// <param name="parameterType">type used in EnumTypeHandler</param>
+        /// <returns></returns>
 		public override object GetDataBaseValue(object outputValue, Type parameterType)
 		{
 			IResultGetter getter = new ResultGetterImpl(outputValue);
 			return _callback.GetResult(getter);	
 		}
 
+        /// <summary>
+        /// Gets a value indicating whether this instance is simple type.
+        /// </summary>
+        /// <value>
+        /// 	<c>true</c> if this instance is simple type; otherwise, <c>false</c>.
+        /// </value>
 		public override bool IsSimpleType
 		{
 			get { return true; }
 		}
 
+        /// <summary>
+        /// The null value for this type
+        /// </summary>
+        /// <value></value>
         public override object NullValue
         {
             get { return _callback.NullValue; }

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/DBNullTypeHandler.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/DBNullTypeHandler.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/DBNullTypeHandler.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/DBNullTypeHandler.cs Sun Nov 19 08:07:45 2006
@@ -73,16 +73,34 @@
 			return DBNull.Value;
 		}
 
+        /// <summary>
+        /// Gets a value indicating whether this instance is simple type.
+        /// </summary>
+        /// <value>
+        /// 	<c>true</c> if this instance is simple type; otherwise, <c>false</c>.
+        /// </value>
 		public override bool IsSimpleType
 		{
 			get { return false; }
 		}
 
+        /// <summary>
+        /// Converts the String to the type that this handler deals with
+        /// </summary>
+        /// <param name="type">the tyepe of the property (used only for enum conversion)</param>
+        /// <param name="s">the String value</param>
+        /// <returns>the converted value</returns>
 		public override object ValueOf(Type type, string s)
 		{
 			return DBNull.Value;
 		}
 
+        /// <summary>
+        /// Sets a parameter on a IDbCommand
+        /// </summary>
+        /// <param name="dataParameter">the parameter</param>
+        /// <param name="parameterValue">the parameter value</param>
+        /// <param name="dbType">the dbType of the parameter</param>
 		public override void SetParameter(IDataParameter dataParameter, object parameterValue, string dbType)
 		{
 			dataParameter.Value = DBNull.Value;

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/DateTimeTypeHandler.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/DateTimeTypeHandler.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/DateTimeTypeHandler.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/DateTimeTypeHandler.cs Sun Nov 19 08:07:45 2006
@@ -41,12 +41,13 @@
     public sealed class DateTimeTypeHandler : BaseTypeHandler
 	{
 
-		/// <summary>
-		/// 
-		/// </summary>
-		/// <param name="mapping"></param>
-		/// <param name="dataReader"></param>
-		/// <returns></returns>
+
+        /// <summary>
+        /// Gets a column value by the name
+        /// </summary>
+        /// <param name="mapping"></param>
+        /// <param name="dataReader"></param>
+        /// <returns></returns>
 		public override object GetValueByName(ResultProperty mapping, IDataReader dataReader)
 		{
 			int index = dataReader.GetOrdinal(mapping.ColumnName);
@@ -61,6 +62,12 @@
 			}
 		}
 
+        /// <summary>
+        /// Gets a column value by the index
+        /// </summary>
+        /// <param name="mapping"></param>
+        /// <param name="dataReader"></param>
+        /// <returns></returns>
 		public override object GetValueByIndex(ResultProperty mapping, IDataReader dataReader) 
 		{
 			if (dataReader.IsDBNull(mapping.ColumnIndex) == true)
@@ -73,17 +80,34 @@
 			}
 		}
 
+        /// <summary>
+        /// Converts the String to the type that this handler deals with
+        /// </summary>
+        /// <param name="type">the tyepe of the property (used only for enum conversion)</param>
+        /// <param name="s">the String value</param>
+        /// <returns>the converted value</returns>
 		public override object ValueOf(Type type, string s)
 		{
 			return Convert.ToDateTime(s);
 		}
 
+        /// <summary>
+        /// Retrieve ouput database value of an output parameter
+        /// </summary>
+        /// <param name="outputValue">ouput database value</param>
+        /// <param name="parameterType">type used in EnumTypeHandler</param>
+        /// <returns></returns>
 		public override object GetDataBaseValue(object outputValue, Type parameterType )
 		{
 			return Convert.ToDateTime(outputValue);
 		}
 
 
+        /// <summary>
+        /// Tell us if ot is a 'primitive' type
+        /// </summary>
+        /// <value></value>
+        /// <returns></returns>
 		public override bool IsSimpleType
 		{
 			get { return true; }

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/DecimalTypeHandler.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/DecimalTypeHandler.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/DecimalTypeHandler.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/DecimalTypeHandler.cs Sun Nov 19 08:07:45 2006
@@ -60,6 +60,12 @@
 			}
 		}
 
+        /// <summary>
+        /// Gets a column value by the index
+        /// </summary>
+        /// <param name="mapping"></param>
+        /// <param name="dataReader"></param>
+        /// <returns></returns>
 		public override object GetValueByIndex(ResultProperty mapping, IDataReader dataReader) 
 		{
 			if (dataReader.IsDBNull(mapping.ColumnIndex) == true)
@@ -72,20 +78,40 @@
 			}
 		}
 
+        /// <summary>
+        /// Converts the String to the type that this handler deals with
+        /// </summary>
+        /// <param name="type">the tyepe of the property (used only for enum conversion)</param>
+        /// <param name="s">the String value</param>
+        /// <returns>the converted value</returns>
+        /// <remarks>
+        /// value decimal must be  in format ######.##
+        /// where . is separator for decimal
+        /// </remarks> 
 		public override object ValueOf(Type type, string s)
 		{
 			CultureInfo culture = new CultureInfo( "en-US" );
-			// value decimal must be  in format ######.##
-			// where . is separator for decimal
 			return decimal.Parse(s, culture);
 		}
 
+        /// <summary>
+        /// Retrieve ouput database value of an output parameter
+        /// </summary>
+        /// <param name="outputValue">ouput database value</param>
+        /// <param name="parameterType">type used in EnumTypeHandler</param>
+        /// <returns></returns>
 		public override object GetDataBaseValue(object outputValue, Type parameterType )
 		{
 			return Convert.ToDecimal(outputValue);
 		}
 
 
+        /// <summary>
+        /// Gets a value indicating whether this instance is simple type.
+        /// </summary>
+        /// <value>
+        /// 	<c>true</c> if this instance is simple type; otherwise, <c>false</c>.
+        /// </value>
 		public override bool IsSimpleType
 		{
 			get { return true; }

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/DoubleTypeHandler.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/DoubleTypeHandler.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/DoubleTypeHandler.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/DoubleTypeHandler.cs Sun Nov 19 08:07:45 2006
@@ -41,12 +41,12 @@
     public sealed class DoubleTypeHandler : BaseTypeHandler
 	{
 
-		/// <summary>
-		/// 
-		/// </summary>
-		/// <param name="mapping"></param>
-		/// <param name="dataReader"></param>
-		/// <returns></returns>
+        /// <summary>
+        /// Gets a column value by the name
+        /// </summary>
+        /// <param name="mapping"></param>
+        /// <param name="dataReader"></param>
+        /// <returns></returns>
 		public override object GetValueByName(ResultProperty mapping, IDataReader dataReader)
 		{
 			int index = dataReader.GetOrdinal(mapping.ColumnName);
@@ -61,6 +61,12 @@
 			}
 		}
 
+        /// <summary>
+        /// Gets a column value by the index
+        /// </summary>
+        /// <param name="mapping"></param>
+        /// <param name="dataReader"></param>
+        /// <returns></returns>
 		public override object GetValueByIndex(ResultProperty mapping, IDataReader dataReader) 
 		{
 			if (dataReader.IsDBNull(mapping.ColumnIndex) == true)
@@ -73,17 +79,36 @@
 			}
 		}
 
+        /// <summary>
+        /// Converts the String to the type that this handler deals with
+        /// </summary>
+        /// <param name="type">the tyepe of the property (used only for enum conversion)</param>
+        /// <param name="s">the String value</param>
+        /// <returns>the converted value</returns>
 		public override object ValueOf(Type type, string s)
 		{
 			return Convert.ToDouble(s);
 		}
 
+
+        /// <summary>
+        /// Retrieve ouput database value of an output parameter
+        /// </summary>
+        /// <param name="outputValue">ouput database value</param>
+        /// <param name="parameterType">type used in EnumTypeHandler</param>
+        /// <returns></returns>
 		public override object GetDataBaseValue(object outputValue, Type parameterType )
 		{
 			return Convert.ToDouble(outputValue);
 		}
 
 
+
+        /// <summary>
+        /// Tell us if ot is a 'primitive' type
+        /// </summary>
+        /// <value></value>
+        /// <returns></returns>
 		public override bool IsSimpleType
 		{
 			get { return true; }

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/EnumTypeHandler.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/EnumTypeHandler.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/EnumTypeHandler.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/EnumTypeHandler.cs Sun Nov 19 08:07:45 2006
@@ -71,6 +71,12 @@
 			}
 		}
 
+        /// <summary>
+        /// Gets a column value by the index
+        /// </summary>
+        /// <param name="mapping"></param>
+        /// <param name="dataReader"></param>
+        /// <returns></returns>
 		public override object GetValueByIndex(ResultProperty mapping, IDataReader dataReader) 
 		{
 			if (dataReader.IsDBNull(mapping.ColumnIndex) == true)
@@ -84,17 +90,35 @@
 		}
 
 
+        /// <summary>
+        /// Converts the String to the type that this handler deals with
+        /// </summary>
+        /// <param name="type">the tyepe of the property (used only for enum conversion)</param>
+        /// <param name="s">the String value</param>
+        /// <returns>the converted value</returns>
 		public override object ValueOf(Type type, string s)
 		{
 			return Enum.Parse(type, s);
 		}
 
+        /// <summary>
+        /// Retrieve ouput database value of an output parameter
+        /// </summary>
+        /// <param name="outputValue">ouput database value</param>
+        /// <param name="parameterType">type used in EnumTypeHandler</param>
+        /// <returns></returns>
 		public override object GetDataBaseValue(object outputValue, Type parameterType )
 		{
 			return Enum.Parse(parameterType, outputValue.ToString());
 		}
 
 
+        /// <summary>
+        /// Gets a value indicating whether this instance is simple type.
+        /// </summary>
+        /// <value>
+        /// 	<c>true</c> if this instance is simple type; otherwise, <c>false</c>.
+        /// </value>
 		public override bool IsSimpleType
 		{
 			get { return true; }

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/GuidTypeHandler.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/GuidTypeHandler.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/GuidTypeHandler.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/GuidTypeHandler.cs Sun Nov 19 08:07:45 2006
@@ -60,6 +60,12 @@
 			}
 		}
 
+        /// <summary>
+        /// Gets a column value by the index
+        /// </summary>
+        /// <param name="mapping"></param>
+        /// <param name="dataReader"></param>
+        /// <returns></returns>
 		public override object GetValueByIndex(ResultProperty mapping, IDataReader dataReader) 
 		{
 			if (dataReader.IsDBNull(mapping.ColumnIndex) == true)
@@ -72,17 +78,35 @@
 			}
 		}
 
+        /// <summary>
+        /// Converts the String to the type that this handler deals with
+        /// </summary>
+        /// <param name="type">the tyepe of the property (used only for enum conversion)</param>
+        /// <param name="s">the String value</param>
+        /// <returns>the converted value</returns>
 		public override object ValueOf(Type type, string s)
 		{
 			return new Guid(s);
 		}
 
+        /// <summary>
+        /// Retrieve ouput database value of an output parameter
+        /// </summary>
+        /// <param name="outputValue">ouput database value</param>
+        /// <param name="parameterType">type used in EnumTypeHandler</param>
+        /// <returns></returns>
 		public override object GetDataBaseValue(object outputValue, Type parameterType )
 		{
 			return new Guid(outputValue.ToString());
 		}
 
 
+        /// <summary>
+        /// Gets a value indicating whether this instance is simple type.
+        /// </summary>
+        /// <value>
+        /// 	<c>true</c> if this instance is simple type; otherwise, <c>false</c>.
+        /// </value>
 		public override bool IsSimpleType
 		{
 			get { return true; }

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Int16TypeHandler.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Int16TypeHandler.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Int16TypeHandler.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Int16TypeHandler.cs Sun Nov 19 08:07:45 2006
@@ -61,6 +61,12 @@
 			}
 		}
 
+        /// <summary>
+        /// Gets a column value by the index
+        /// </summary>
+        /// <param name="mapping"></param>
+        /// <param name="dataReader"></param>
+        /// <returns></returns>
 		public override object GetValueByIndex(ResultProperty mapping, IDataReader dataReader) 
 		{
 			if (dataReader.IsDBNull(mapping.ColumnIndex) == true)
@@ -74,16 +80,34 @@
 			}
 		}
 
+        /// <summary>
+        /// Retrieve ouput database value of an output parameter
+        /// </summary>
+        /// <param name="outputValue">ouput database value</param>
+        /// <param name="parameterType">type used in EnumTypeHandler</param>
+        /// <returns></returns>
 		public override object GetDataBaseValue(object outputValue, Type parameterType )
 		{
 			return Convert.ToInt16(outputValue);
 		}
 
+        /// <summary>
+        /// Converts the String to the type that this handler deals with
+        /// </summary>
+        /// <param name="type">the tyepe of the property (used only for enum conversion)</param>
+        /// <param name="s">the String value</param>
+        /// <returns>the converted value</returns>
 		public override object ValueOf(Type type, string s)
 		{
 			return Convert.ToInt16(s);
 		}
 
+        /// <summary>
+        /// Gets a value indicating whether this instance is simple type.
+        /// </summary>
+        /// <value>
+        /// 	<c>true</c> if this instance is simple type; otherwise, <c>false</c>.
+        /// </value>
 		public override bool IsSimpleType
 		{
 			get { return true; }

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Int32TypeHandler.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Int32TypeHandler.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Int32TypeHandler.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Int32TypeHandler.cs Sun Nov 19 08:07:45 2006
@@ -41,12 +41,13 @@
     public sealed class Int32TypeHandler : BaseTypeHandler
 	{
 
-		/// <summary>
-		/// 
-		/// </summary>
-		/// <param name="mapping"></param>
-		/// <param name="dataReader"></param>
-		/// <returns></returns>
+
+        /// <summary>
+        /// Gets a column value by the name
+        /// </summary>
+        /// <param name="mapping"></param>
+        /// <param name="dataReader"></param>
+        /// <returns></returns>
 		public override object GetValueByName(ResultProperty mapping, IDataReader dataReader)
 		{
 			int index = dataReader.GetOrdinal(mapping.ColumnName);
@@ -62,6 +63,12 @@
 			}
 		}
 
+        /// <summary>
+        /// Gets a column value by the index
+        /// </summary>
+        /// <param name="mapping"></param>
+        /// <param name="dataReader"></param>
+        /// <returns></returns>
 		public override object GetValueByIndex(ResultProperty mapping, IDataReader dataReader) 
 		{
 			if (dataReader.IsDBNull(mapping.ColumnIndex) == true)
@@ -75,17 +82,34 @@
 			}
 		}
 
+        /// <summary>
+        /// Retrieve ouput database value of an output parameter
+        /// </summary>
+        /// <param name="outputValue">ouput database value</param>
+        /// <param name="parameterType">type used in EnumTypeHandler</param>
+        /// <returns></returns>
 		public override object GetDataBaseValue(object outputValue, Type parameterType )
 		{
 			return Convert.ToInt32(outputValue);
 		}
 
+        /// <summary>
+        /// Converts the String to the type that this handler deals with
+        /// </summary>
+        /// <param name="type">the tyepe of the property (used only for enum conversion)</param>
+        /// <param name="s">the String value</param>
+        /// <returns>the converted value</returns>
 		public override object ValueOf(Type type, string s)
 		{
 			return Convert.ToInt32(s);
 		}
 
 
+        /// <summary>
+        /// Tell us if ot is a 'primitive' type
+        /// </summary>
+        /// <value></value>
+        /// <returns></returns>
 		public override bool IsSimpleType
 		{
 			get { return true; }

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Int64TypeHandler.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Int64TypeHandler.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Int64TypeHandler.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Int64TypeHandler.cs Sun Nov 19 08:07:45 2006
@@ -62,6 +62,12 @@
 			}
 		}
 
+        /// <summary>
+        /// Gets a column value by the index
+        /// </summary>
+        /// <param name="mapping"></param>
+        /// <param name="dataReader"></param>
+        /// <returns></returns>
 		public override object GetValueByIndex(ResultProperty mapping, IDataReader dataReader) 
 		{
 			if (dataReader.IsDBNull(mapping.ColumnIndex) == true)
@@ -75,17 +81,35 @@
 			}
 		}
 
+        /// <summary>
+        /// Retrieve ouput database value of an output parameter
+        /// </summary>
+        /// <param name="outputValue">ouput database value</param>
+        /// <param name="parameterType">type used in EnumTypeHandler</param>
+        /// <returns></returns>
 		public override object GetDataBaseValue(object outputValue, Type parameterType )
 		{
 			return Convert.ToInt64(outputValue);
 		}
 
+        /// <summary>
+        /// Converts the String to the type that this handler deals with
+        /// </summary>
+        /// <param name="type">the tyepe of the property (used only for enum conversion)</param>
+        /// <param name="s">the String value</param>
+        /// <returns>the converted value</returns>
 		public override object ValueOf(Type type, string s)
 		{
 			return Convert.ToInt64(s);
 		}
 
 
+        /// <summary>
+        /// Gets a value indicating whether this instance is simple type.
+        /// </summary>
+        /// <value>
+        /// 	<c>true</c> if this instance is simple type; otherwise, <c>false</c>.
+        /// </value>
 		public override bool IsSimpleType
 		{
 			get { return true; }

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Nullables/NullableBooleanTypeHandler.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Nullables/NullableBooleanTypeHandler.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Nullables/NullableBooleanTypeHandler.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Nullables/NullableBooleanTypeHandler.cs Sun Nov 19 08:07:45 2006
@@ -35,9 +35,18 @@
 
 namespace IBatisNet.DataMapper.TypeHandlers.Nullables
 {
+    /// <summary>
+    /// TypeHandler for Nullable Boolean Type
+    /// </summary>
     public sealed class NullableBooleanTypeHandler : BaseTypeHandler
 	{
 
+        /// <summary>
+        /// Sets a parameter on a IDbCommand
+        /// </summary>
+        /// <param name="dataParameter">the parameter</param>
+        /// <param name="parameterValue">the parameter value</param>
+        /// <param name="dbType">the dbType of the parameter</param>
         public override void SetParameter(IDataParameter dataParameter, object parameterValue, string dbType)
         {
             bool? nullableValue = (bool?)parameterValue;
@@ -52,12 +61,13 @@
             }
         }
 
-		/// <summary>
-		/// 
-		/// </summary>
-		/// <param name="mapping"></param>
-		/// <param name="dataReader"></param>
-		/// <returns></returns>
+
+        /// <summary>
+        /// Gets a column value by the name
+        /// </summary>
+        /// <param name="mapping"></param>
+        /// <param name="dataReader"></param>
+        /// <returns></returns>
 		public override object GetValueByName(ResultProperty mapping, IDataReader dataReader)
 		{
 			int index = dataReader.GetOrdinal(mapping.ColumnName);
@@ -73,6 +83,12 @@
 			}
 		}
 
+        /// <summary>
+        /// Gets a column value by the index
+        /// </summary>
+        /// <param name="mapping"></param>
+        /// <param name="dataReader"></param>
+        /// <returns></returns>
 		public override object GetValueByIndex(ResultProperty mapping, IDataReader dataReader) 
 		{
             if (dataReader.IsDBNull(mapping.ColumnIndex) == true)
@@ -85,23 +101,45 @@
             }
 		}
 
+        /// <summary>
+        /// Retrieve ouput database value of an output parameter
+        /// </summary>
+        /// <param name="outputValue">ouput database value</param>
+        /// <param name="parameterType">type used in EnumTypeHandler</param>
+        /// <returns></returns>
 		public override object GetDataBaseValue(object outputValue, Type parameterType )
 		{
             return new bool?(Convert.ToBoolean(outputValue));
 		}
 
+        /// <summary>
+        /// Converts the String to the type that this handler deals with
+        /// </summary>
+        /// <param name="type">the tyepe of the property (used only for enum conversion)</param>
+        /// <param name="s">the String value</param>
+        /// <returns>the converted value</returns>
 		public override object ValueOf(Type type, string s)
 		{
             return new bool?(Convert.ToBoolean(s));
 		}
 
 
+        /// <summary>
+        /// Gets a value indicating whether this instance is simple type.
+        /// </summary>
+        /// <value>
+        /// 	<c>true</c> if this instance is simple type; otherwise, <c>false</c>.
+        /// </value>
 		public override bool IsSimpleType
 		{
 			get { return true; }
 		}
 
 
+        /// <summary>
+        /// The null value for this type
+        /// </summary>
+        /// <value></value>
         public override object NullValue
         {
             get { return new bool?(); }

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Nullables/NullableByteTypeHandler.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Nullables/NullableByteTypeHandler.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Nullables/NullableByteTypeHandler.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Nullables/NullableByteTypeHandler.cs Sun Nov 19 08:07:45 2006
@@ -35,9 +35,18 @@
 
 namespace IBatisNet.DataMapper.TypeHandlers.Nullables
 {
+    /// <summary>
+    /// TypeHandler for  Nullable Byte Type
+    /// </summary>
     public sealed class NullableByteTypeHandler : BaseTypeHandler
     {
 
+        /// <summary>
+        /// Sets a parameter on a IDbCommand
+        /// </summary>
+        /// <param name="dataParameter">the parameter</param>
+        /// <param name="parameterValue">the parameter value</param>
+        /// <param name="dbType">the dbType of the parameter</param>
         public override void SetParameter(IDataParameter dataParameter, object parameterValue, string dbType)
         {
             byte? nullableValue = (byte?)parameterValue;
@@ -52,8 +61,9 @@
             }
         }
 
+
         /// <summary>
-        /// 
+        /// Gets a column value by the name
         /// </summary>
         /// <param name="mapping"></param>
         /// <param name="dataReader"></param>
@@ -72,6 +82,12 @@
             }
         }
 
+        /// <summary>
+        /// Gets a column value by the index
+        /// </summary>
+        /// <param name="mapping"></param>
+        /// <param name="dataReader"></param>
+        /// <returns></returns>
         public override object GetValueByIndex(ResultProperty mapping, IDataReader dataReader)
         {
             if (dataReader.IsDBNull(mapping.ColumnIndex) == true)
@@ -84,23 +100,45 @@
             }
         }
 
+        /// <summary>
+        /// Retrieve ouput database value of an output parameter
+        /// </summary>
+        /// <param name="outputValue">ouput database value</param>
+        /// <param name="parameterType">type used in EnumTypeHandler</param>
+        /// <returns></returns>
         public override object GetDataBaseValue(object outputValue, Type parameterType)
         {
             return new byte?(Convert.ToByte(outputValue));
         }
 
+        /// <summary>
+        /// Converts the String to the type that this handler deals with
+        /// </summary>
+        /// <param name="type">the tyepe of the property (used only for enum conversion)</param>
+        /// <param name="s">the String value</param>
+        /// <returns>the converted value</returns>
         public override object ValueOf(Type type, string s)
         {
             return new byte?(Convert.ToByte(s));
         }
 
 
+        /// <summary>
+        /// Gets a value indicating whether this instance is simple type.
+        /// </summary>
+        /// <value>
+        /// 	<c>true</c> if this instance is simple type; otherwise, <c>false</c>.
+        /// </value>
         public override bool IsSimpleType
         {
             get { return true; }
         }
 
 
+        /// <summary>
+        /// The null value for this type
+        /// </summary>
+        /// <value></value>
         public override object NullValue
         {
             get { return new byte?(); }

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Nullables/NullableCharTypeHandler.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Nullables/NullableCharTypeHandler.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Nullables/NullableCharTypeHandler.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Nullables/NullableCharTypeHandler.cs Sun Nov 19 08:07:45 2006
@@ -35,9 +35,18 @@
 
 namespace IBatisNet.DataMapper.TypeHandlers.Nullables
 {
+    /// <summary>
+    /// TypeHandler for Nullable char Type
+    /// </summary>
     public sealed class NullableCharTypeHandler : BaseTypeHandler
     {
 
+        /// <summary>
+        /// Sets a parameter on a IDbCommand
+        /// </summary>
+        /// <param name="dataParameter">the parameter</param>
+        /// <param name="parameterValue">the parameter value</param>
+        /// <param name="dbType">the dbType of the parameter</param>
         public override void SetParameter(IDataParameter dataParameter, object parameterValue, string dbType)
         {
             char? nullableValue = (char?)parameterValue;
@@ -52,8 +61,9 @@
             }
         }
 
+
         /// <summary>
-        /// 
+        /// Gets a column value by the name
         /// </summary>
         /// <param name="mapping"></param>
         /// <param name="dataReader"></param>
@@ -72,6 +82,12 @@
             }
         }
 
+        /// <summary>
+        /// Gets a column value by the index
+        /// </summary>
+        /// <param name="mapping"></param>
+        /// <param name="dataReader"></param>
+        /// <returns></returns>
         public override object GetValueByIndex(ResultProperty mapping, IDataReader dataReader)
         {
             if (dataReader.IsDBNull(mapping.ColumnIndex) == true)
@@ -84,23 +100,45 @@
             }
         }
 
+        /// <summary>
+        /// Retrieve ouput database value of an output parameter
+        /// </summary>
+        /// <param name="outputValue">ouput database value</param>
+        /// <param name="parameterType">type used in EnumTypeHandler</param>
+        /// <returns></returns>
         public override object GetDataBaseValue(object outputValue, Type parameterType)
         {
             return new char?(Convert.ToChar(outputValue));
         }
 
+        /// <summary>
+        /// Converts the String to the type that this handler deals with
+        /// </summary>
+        /// <param name="type">the tyepe of the property (used only for enum conversion)</param>
+        /// <param name="s">the String value</param>
+        /// <returns>the converted value</returns>
         public override object ValueOf(Type type, string s)
         {
             return new char?(Convert.ToChar(s));
         }
 
 
+        /// <summary>
+        /// Gets a value indicating whether this instance is simple type.
+        /// </summary>
+        /// <value>
+        /// 	<c>true</c> if this instance is simple type; otherwise, <c>false</c>.
+        /// </value>
         public override bool IsSimpleType
         {
             get { return true; }
         }
 
 
+        /// <summary>
+        /// The null value for this type
+        /// </summary>
+        /// <value></value>
         public override object NullValue
         {
             get { return new char?(); }

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Nullables/NullableDateTimeTypeHandler.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Nullables/NullableDateTimeTypeHandler.cs?view=diff&rev=476843&r1=476842&r2=476843
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Nullables/NullableDateTimeTypeHandler.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/Nullables/NullableDateTimeTypeHandler.cs Sun Nov 19 08:07:45 2006
@@ -79,6 +79,12 @@
             }
         }
 
+        /// <summary>
+        /// Gets a column value by the index
+        /// </summary>
+        /// <param name="mapping"></param>
+        /// <param name="dataReader"></param>
+        /// <returns></returns>
         public override object GetValueByIndex(ResultProperty mapping, IDataReader dataReader)
         {
             if (dataReader.IsDBNull(mapping.ColumnIndex) == true)
@@ -91,23 +97,45 @@
             }
         }
 
+        /// <summary>
+        /// Retrieve ouput database value of an output parameter
+        /// </summary>
+        /// <param name="outputValue">ouput database value</param>
+        /// <param name="parameterType">type used in EnumTypeHandler</param>
+        /// <returns></returns>
         public override object GetDataBaseValue(object outputValue, Type parameterType)
         {
             return new DateTime?(Convert.ToDateTime(outputValue));
         }
 
+        /// <summary>
+        /// Converts the String to the type that this handler deals with
+        /// </summary>
+        /// <param name="type">the tyepe of the property (used only for enum conversion)</param>
+        /// <param name="s">the String value</param>
+        /// <returns>the converted value</returns>
         public override object ValueOf(Type type, string s)
         {
             return new DateTime?( Convert.ToDateTime(s) );
         }
 
 
+        /// <summary>
+        /// Gets a value indicating whether this instance is simple type.
+        /// </summary>
+        /// <value>
+        /// 	<c>true</c> if this instance is simple type; otherwise, <c>false</c>.
+        /// </value>
         public override bool IsSimpleType
         {
             get { return true; }
         }
 
 
+        /// <summary>
+        /// The null value for this type
+        /// </summary>
+        /// <value></value>
         public override object NullValue
         {
             get { return new DateTime?(); }