*** empty log message ***
[mono.git] / doc / firebird
index 8e1f73ef12678ead91a5ef13e2a987d32a077fdf..9058c97088ff5073978e7cd9c61ac3536eee947a 100755 (executable)
@@ -1,18 +1,26 @@
 * Firebird and Interbase Data Provider
 
 <ul>
+       <li>ADO.NET Data Provider for Firebird and Interbase databases</li>
+
        <li>Does not exist in Mono, but is a separate project</li>
        
-       <li><a href="http://firebird.sourceforge.net/index.php">Firebird Relational Database</a> is 
-       an independent project which uses source code based on the Interbase source code released
+       <li>The <a href="http://firebird.sourceforge.net/index.php">Firebird Relational Database</a> is 
+       is an independent project which uses source code based on the Interbase source code released
        by Borland under the Interbase Public License</li>
        
        <li>Both the Firebird Relational Database and the Firebird .NET Data Provider can be
        downloaded from <a href="http://sourceforge.net/projects/firebird/">here</a></li>
        
        <li>The Firebird .NET Data provider has been made
- available by Carlos Guzmán Álvarez (aka "Carlos G.A."), who has also made a
- number of contributions to the OdbcJdbc code</li>
+    available by Carlos Guzmán Álvarez (aka "Carlos G.A."), who has also made a
+    number of contributions to the OdbcJdbc code</li>
+
+       <li>Bugs with Mono or the data provider should be reported 
+       in Mono's Bugzilla <a href="http://bugzilla.ximian.com/">here</a>.  If you
+       do not have Bugzilla user account, it is free 
+       and easy to 
+       create one <a href="http://bugzilla.ximian.com/createaccount.cgi">here</a>.</li>
        
 </ul>
 
 ** Testing
 
 <ul>
+       
        <li>Need a working mono and mcs</li>
+       
        <li>Need access to a Firebird Relational Database or you can download
        it from <a href="http://firebird.sourceforge.net">here</a></li>
+       
        <li>Get the Firebird .NET data provider from here as 
        <a href="http://lists.sourceforge.net/lists/listinfo/firebird-net-provider">firebird-net-provider</a>.  Make
        sure the Firebird .NET data provider binary assembly FirebirdSql.Data.Firebird.dll is
        installed in the same place as the mono class libraries.</li>
-               <li>C# Example for Mono's System.Data.OleDb:
+       
+       <li>Has a ConnectionString format:
+<pre>
+ "Database=databasefile.gdb;User=user;Password=pass;Dialect=3;Server=hostname"
+</pre>
+       
+       </li>
+       
+       <li>C# Example:
+       
 <pre>
  using System;
  using System.Data;
               "Dialect=3;" +\r
               "Server=localhost";\r
        IDbConnection dbcon = new FbConnection(connectionString);
+       dbcon.Open();
        IDbCommand dbcmd = dbcon.CreateCommand();
        string sql = "SELECT * FROM employee";
-       dbcmd.ConnectionString = sql;
+       dbcmd.CommandText = sql;
        IDataReader reader = dbcmd.ExecuteReader();
        while(reader.Read()) {
             object dataValue = myReader.GetValue(0);