Author: atsushi
Date: 2005-04-13 05:10:43 -0400 (Wed, 13 Apr 2005)
New Revision: 42896

Modified:
   trunk/mcs/class/System.Data/System.Data/ChangeLog
   trunk/mcs/class/System.Data/System.Data/CustomDataClassGenerator.cs
Log:
2005-04-13  Atsushi Enomoto  <[EMAIL PROTECTED]>

        * CustomDataClassGenerator.cs : custom relation was not added to
          Relations property. The second entry of bug #69276 was fixed.
          Patch by Daniel Rodriguez.



Modified: trunk/mcs/class/System.Data/System.Data/ChangeLog
===================================================================
--- trunk/mcs/class/System.Data/System.Data/ChangeLog   2005-04-13 09:01:39 UTC 
(rev 42895)
+++ trunk/mcs/class/System.Data/System.Data/ChangeLog   2005-04-13 09:10:43 UTC 
(rev 42896)
@@ -1,3 +1,9 @@
+2005-04-13  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
+       * CustomDataClassGenerator.cs : custom relation was not added to
+         Relations property. The second entry of bug #69276 was fixed.
+         Patch by Daniel Rodriguez.
+
 2005-04-07  Lluis Sanchez Gual <[EMAIL PROTECTED]>
 
        * DataRowCollection.cs: Fix the signature of the Add method

Modified: trunk/mcs/class/System.Data/System.Data/CustomDataClassGenerator.cs
===================================================================
--- trunk/mcs/class/System.Data/System.Data/CustomDataClassGenerator.cs 
2005-04-13 09:01:39 UTC (rev 42895)
+++ trunk/mcs/class/System.Data/System.Data/CustomDataClassGenerator.cs 
2005-04-13 09:10:43 UTC (rev 42896)
@@ -781,6 +781,7 @@
                                        Const (false)
                                        )));
                                m.Statements.Add (Let (PropRef (FieldRef 
(fieldName), "Nested"), Const (rel.Nested)));
+                               m.Statements.Add (MethodInvoke (PropRef 
("Relations"), "Add", FieldRef (fieldName)));
                        }
 
                        return m;

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to