Hi Steve, I created a similar solution CreateTypedDataset using standard NET methods and Firebird-SELECTs. My solution creates a DataSet, calls the table definitions of the database, saves the DataSet's contents as xsd file, and creates the MyDataSet.Designer.cs. Clearly, you have other aims. But perhaps you can use my source code for your own solution. The solution is published in http://www.mycsharp.de/wbb2/thread.php?threadid=27421. Please download the source files CreateTypedDataset.zip via http://www.mycsharp.de/wbb2/attachment.php?attachmentid=1661 and read DatabaseFirebird.cs, especially the SELECT-Commands. If you need English translation for the comments, please write direct to post(at)vs-polis(dot)de. Hope it helps a little bit, Juergen
Steve schrieb: > Hi All, > > I'm new to C# so I'm not sure I'm asking the correct question. Is it > possible to generate an object of type DataSet from the > FirebirdNETProvider FbDataAdapter? I see in the source where there's > a GenerateDataset method but the class is defined as internal. I'm > writing a DAL and I'd like the public members to be of type DataSet so > that if I ever have to switch database engines, I don't have to > rewrite my client code. > > Thanks for any enlightenment, > Steve > -- *_Juergen Thomas_* Verlags-Software Samlaendische Str. 3 13189 Berlin Germany Tel. (030) 94 39 96 38 oder (0700) VSāPOLIS /d.h. (0700) 87 07 65 47 /Fax (030) 94 39 96 40 http://www.vs-polis.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Firebird-net-provider mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
