[Mono-bugs] [Bug 72421][Nor] New - DataRowView.CreateChildView is not fully implemented

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 9 Feb 2005 15:04:26 -0500 (EST)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by eto@shaw.ca.


--- shadow/72421	2005-02-09 15:04:26.000000000 -0500
+++ shadow/72421.tmp.31666	2005-02-09 15:04:26.000000000 -0500
@@ -0,0 +1,44 @@
+Bug#: 72421
+Product: Mono: Class Libraries
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: Gentoo
+Status: NEW   
+Priority: Normal
+Component: Sys.Data
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: eto@shaw.ca               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: DataRowView.CreateChildView is not fully implemented
+Description of Problem:
+If you have a dataset with a few relations, you cannot use 
+DataRowView.CreateChildView() to get the related records.  In 1.0.5 it is 
+not implemented, in SVN it is implemented, but does not work as expected.
+Steps to reproduce the problem:
+1. Create a dataset with two tables, and a relation between the tables
+2. Add some test records that relate to eachother
+3. Create a DataView on one table
+4. Get a DataRowView from the DataView
+5. Call DataRowView.CreateChildView(...) with the relation that was setup
+Actual Results:
+ALL records from the second table are returned in the dataview
+Expected Results:
+Only records that are related to the parent DataRowView should be shown
+How often does this happen? 
+Every Time
+Additional Information:
+This is used extensively in our product, and would require it to be 
+implemented in order to do a full port to mono.  I will investigate doing 
+it myself, but no guarantees. (: