You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ibatis.apache.org by rg...@apache.org on 2008/06/09 04:27:05 UTC

svn commit: r664605 - /ibatis/trunk/cs/V3/src/Apache.Ibatis.DataMapper/DataMapper.cs

Author: rgrabowski
Date: Sun Jun  8 19:27:04 2008
New Revision: 664605

URL: http://svn.apache.org/viewvc?rev=664605&view=rev
Log:
Changed private members to protected to allow more access to internal members in the rare case that DataMapper gets extended.

Modified:
    ibatis/trunk/cs/V3/src/Apache.Ibatis.DataMapper/DataMapper.cs

Modified: ibatis/trunk/cs/V3/src/Apache.Ibatis.DataMapper/DataMapper.cs
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/src/Apache.Ibatis.DataMapper/DataMapper.cs?rev=664605&r1=664604&r2=664605&view=diff
==============================================================================
--- ibatis/trunk/cs/V3/src/Apache.Ibatis.DataMapper/DataMapper.cs (original)
+++ ibatis/trunk/cs/V3/src/Apache.Ibatis.DataMapper/DataMapper.cs Sun Jun  8 19:27:04 2008
@@ -40,9 +40,9 @@
     /// </summary>
     public class DataMapper : IDataMapper, IModelStoreAccessor
     {
-        private readonly IModelStore modelStore = null;
-        private readonly ISessionStore sessionStore = null;
-        private readonly ISessionFactory sessionFactory = null;
+        protected readonly IModelStore modelStore = null;
+        protected readonly ISessionStore sessionStore = null;
+        protected readonly ISessionFactory sessionFactory = null;
 
         /// <summary>
         /// Initializes a new instance of the <see cref="DataMapper"/> class.



Re: svn commit: r664605 - /ibatis/trunk/cs/V3/src/Apache.Ibatis.DataMapper/DataMapper.cs

Posted by Gilles Bayon <ib...@gmail.com>.
Should rollback, cast the DataMapper to IModelStoreAccessor to access them.

-- 
Cheers,
Gilles