Author: jordi
Date: 2005-04-20 09:44:26 -0400 (Wed, 20 Apr 2005)
New Revision: 43329

Modified:
   trunk/mcs/class/System.Data/System.Data/ChangeLog
   trunk/mcs/class/System.Data/System.Data/DataViewManager.cs
Log:
2005-04-20  Jordi Mas i Hernandez <[EMAIL PROTECTED]>

        * DataViewManager.cs: implements TypedList.GetListName used in SWF



Modified: trunk/mcs/class/System.Data/System.Data/ChangeLog
===================================================================
--- trunk/mcs/class/System.Data/System.Data/ChangeLog   2005-04-20 13:38:58 UTC 
(rev 43328)
+++ trunk/mcs/class/System.Data/System.Data/ChangeLog   2005-04-20 13:44:26 UTC 
(rev 43329)
@@ -1,3 +1,7 @@
+2005-04-20  Jordi Mas i Hernandez <[EMAIL PROTECTED]>
+
+       * DataViewManager.cs: implements TypedList.GetListName used in SWF
+
 2005-04-19  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
        * DataRowView.cs : indexer should access to DataRow with proper

Modified: trunk/mcs/class/System.Data/System.Data/DataViewManager.cs
===================================================================
--- trunk/mcs/class/System.Data/System.Data/DataViewManager.cs  2005-04-20 
13:38:58 UTC (rev 43328)
+++ trunk/mcs/class/System.Data/System.Data/DataViewManager.cs  2005-04-20 
13:44:26 UTC (rev 43329)
@@ -388,11 +388,16 @@
                                
                        throw new NotImplementedException ();
                }
-       
-               [MonoTODO]
+                       
                string ITypedList.GetListName (PropertyDescriptor[] 
listAccessors)
-               {
-                       throw new NotImplementedException ();
+               {                       
+                       if (dataSet != null) {                                  
                
+                               if (listAccessors == null || 
listAccessors.Length == 0) {
+                                       return  dataSet.DataSetName;
+                               }                               
+                       }                       
+                       
+                       return string.Empty;
                }
        
                protected virtual void OnListChanged (ListChangedEventArgs e) 

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

Reply via email to