Return-Path: Delivered-To: apmail-incubator-ibatis-commits-archive@www.apache.org Received: (qmail 68512 invoked from network); 10 May 2005 17:56:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 May 2005 17:56:14 -0000 Received: (qmail 36602 invoked by uid 500); 10 May 2005 17:59:45 -0000 Delivered-To: apmail-incubator-ibatis-commits-archive@incubator.apache.org Received: (qmail 36568 invoked by uid 500); 10 May 2005 17:59:45 -0000 Mailing-List: contact ibatis-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ibatis-dev@incubator.apache.org Delivered-To: mailing list ibatis-commits@incubator.apache.org Received: (qmail 36554 invoked by uid 500); 10 May 2005 17:59:45 -0000 Delivered-To: apmail-incubator-ibatis-cvs@incubator.apache.org Received: (qmail 36551 invoked by uid 99); 10 May 2005 17:59:45 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 10 May 2005 10:59:45 -0700 Received: (qmail 68495 invoked by uid 65534); 10 May 2005 17:56:11 -0000 Message-ID: <20050510175611.68494.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: svn commit: r169503 - in /incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration: ParamaterMapping/ParameterProperty.cs ResultMapping/ResultProperty.cs Date: Tue, 10 May 2005 17:56:11 -0000 To: ibatis-cvs@incubator.apache.org From: gbayon@apache.org X-Mailer: svnmailer-1.0.0-dev X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: gbayon Date: Tue May 10 10:56:10 2005 New Revision: 169503 URL: http://svn.apache.org/viewcvs?rev=3D169503&view=3Drev Log: - Cleaning code Modified: incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Par= amaterMapping/ParameterProperty.cs incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Res= ultMapping/ResultProperty.cs Modified: incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configurati= on/ParamaterMapping/ParameterProperty.cs URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/cs/mapper/IBatisN= et.DataMapper/Configuration/ParamaterMapping/ParameterProperty.cs?rev=3D169= 503&r1=3D169502&r2=3D169503&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Par= amaterMapping/ParameterProperty.cs (original) +++ incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Par= amaterMapping/ParameterProperty.cs Tue May 10 10:56:10 2005 @@ -304,7 +304,7 @@ _direction =3D (ParameterDirection)Enum.Parse( typeof(ParameterDirecti= on), _directionAttribute, true ); } =09 - errorContext.MoreInfo =3D "Intialize a parameter property '" + this.Pro= pertyName + "' ."; + errorContext.MoreInfo =3D "Intialize an inline parameter property '" + = this.PropertyName + "' ."; if (this.CLRType.Length =3D=3D 0 ) // Unknown { _typeHandler =3D TypeHandlerFactory.GetUnkownTypeHandler(); Modified: incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configurati= on/ResultMapping/ResultProperty.cs URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/cs/mapper/IBatisN= et.DataMapper/Configuration/ResultMapping/ResultProperty.cs?rev=3D169503&r1= =3D169502&r2=3D169503&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Res= ultMapping/ResultProperty.cs (original) +++ incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Res= ultMapping/ResultProperty.cs Tue May 10 10:56:10 2005 @@ -292,15 +292,7 @@ { _propertyInfo =3D propertyInfo; =20 - if ( propertyInfo !=3D null) - { - _typeHandler =3D TypeHandlerFactory.GetTypeHandler(propertyInfo.Prope= rtyType); - } - // If we specify a type, it can overrride=20 - if (this.CLRType.Length>0) - { - _typeHandler =3D TypeHandlerFactory.GetTypeHandler(Resources.TypeForNa= me(this.CLRType)); - } + _typeHandler =3D TypeHandlerFactory.GetTypeHandler(propertyInfo.Proper= tyType); } #endregion }