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 2005/04/19 19:38:12 UTC

svn commit: r161930 - incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ParamaterMapping/ParameterProperty.cs

Author: gbayon
Date: Tue Apr 19 10:38:11 2005
New Revision: 161930

URL: http://svn.apache.org/viewcvs?view=rev&rev=161930
Log:
Fixed JIRA 41

Modified:
    incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ParamaterMapping/ParameterProperty.cs

Modified: incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ParamaterMapping/ParameterProperty.cs
URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ParamaterMapping/ParameterProperty.cs?view=diff&r1=161929&r2=161930
==============================================================================
--- incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ParamaterMapping/ParameterProperty.cs (original)
+++ incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ParamaterMapping/ParameterProperty.cs Tue Apr 19 10:38:11 2005
@@ -52,7 +52,7 @@
 		[NonSerialized]
 		private ParameterDirection _direction = ParameterDirection.Input;
 		[NonSerialized]
-		private string _directionAttribut = string.Empty;
+		private string _directionAttribute = string.Empty;
 		[NonSerialized]
 		private string _dbType = string.Empty;
 		[NonSerialized]
@@ -157,8 +157,8 @@
 		[XmlAttribute("direction")]
 		public string DirectionAttribut
 		{
-			get { return _directionAttribut; }
-			set { _directionAttribut = value; }
+			get { return _directionAttribute; }
+			set { _directionAttribute = value; }
 		}
 
 		/// <summary>
@@ -172,7 +172,7 @@
 			set 
 			{ 
 				_direction = value;
-				_directionAttribut = _direction.ToString();
+				_directionAttribute = _direction.ToString();
 			}
 		}
 
@@ -230,9 +230,9 @@
 		/// </summary>
 		public void Initialize()
 		{
-			if(_directionAttribut.Length >0)
+			if(_directionAttribute.Length >0)
 			{
-				_direction = (ParameterDirection)Enum.Parse( typeof(ParameterDirection), _directionAttribut, true );
+				_direction = (ParameterDirection)Enum.Parse( typeof(ParameterDirection), _directionAttribute, true );
 			}
 			// If we specify a type, it can be set 
 			if (this.CLRType != string.Empty)