ibatis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gba...@apache.org
Subject svn commit: r378084 - /ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Domain/Order.cs
Date Wed, 15 Feb 2006 20:27:15 GMT
Author: gbayon
Date: Wed Feb 15 12:27:14 2006
New Revision: 378084

URL: http://svn.apache.org/viewcvs?rev=378084&view=rev
Log:
- Fixed DataMapper test for .NET V2

Modified:
    ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Domain/Order.cs

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Domain/Order.cs
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Domain/Order.cs?rev=378084&r1=378083&r2=378084&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Domain/Order.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Domain/Order.cs Wed Feb 15 12:27:14 2006
@@ -25,6 +25,7 @@
 		private IList _lineItems;//LineItemCollection
 		private LineItem[] _lineItemsArray;
 		private LineItem _favouriteLineItem;
+#if dotnet2
         private IList<LineItem> _genericList;
 
         public IList<LineItem> LineItemsGenericList
@@ -32,8 +33,17 @@
             get { return _genericList; }
             set { _genericList = value; }
         }
+#else
+        private IList _genericList;
 
-		public LineItem FavouriteLineItem
+        public IList LineItemsGenericList
+        {
+            get { return _genericList; }
+            set { _genericList = value; }
+        }
+#endif
+
+        public LineItem FavouriteLineItem
 		{
 			get { return _favouriteLineItem; }
 			set { _favouriteLineItem = value; }



Mime
View raw message