Moved more obsolete code
authorMiguel de Icaza <miguel@gnome.org>
Tue, 2 Mar 2010 20:44:22 +0000 (20:44 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Tue, 2 Mar 2010 20:44:22 +0000 (20:44 -0000)
svn path=/trunk/mcs/; revision=152874

56 files changed:
mcs/class/Mono.Data.SqliteClient/Assembly/AssemblyInfo.cs [deleted file]
mcs/class/Mono.Data.SqliteClient/Assembly/ChangeLog [deleted file]
mcs/class/Mono.Data.SqliteClient/ChangeLog [deleted file]
mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteBusyException.xml [deleted file]
mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteClientFactory.xml [deleted file]
mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteCommand.xml [deleted file]
mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteCommandBuilder.xml [deleted file]
mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteConnection.xml [deleted file]
mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteConnectionStringBuilder.xml [deleted file]
mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteDataAdapter.xml [deleted file]
mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteDataReader.xml [deleted file]
mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteDataSourceEnumerator.xml [deleted file]
mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteExecutionException.xml [deleted file]
mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteParameter.xml [deleted file]
mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteParameterCollection.xml [deleted file]
mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteRowUpdatedEventArgs.xml [deleted file]
mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteRowUpdatedEventHandler.xml [deleted file]
mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteRowUpdatingEventArgs.xml [deleted file]
mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteRowUpdatingEventHandler.xml [deleted file]
mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteSyntaxException.xml [deleted file]
mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteTransaction.xml [deleted file]
mcs/class/Mono.Data.SqliteClient/Documentation/en/index.xml [deleted file]
mcs/class/Mono.Data.SqliteClient/Documentation/en/ns-Mono.Data.SqliteClient.xml [deleted file]
mcs/class/Mono.Data.SqliteClient/Makefile [deleted file]
mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient.dll.sources [deleted file]
mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/ChangeLog [deleted file]
mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/Sqlite.cs [deleted file]
mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteClientFactory.cs [deleted file]
mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteCommand.cs [deleted file]
mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteCommandBuilder.cs [deleted file]
mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteConnection.cs [deleted file]
mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteConnectionFactory.cs [deleted file]
mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteConnectionStringBuilder.cs [deleted file]
mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteDataAdapter.cs [deleted file]
mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteDataReader.cs [deleted file]
mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteDataSourceEnumerator.cs [deleted file]
mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteExceptions.cs [deleted file]
mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteParameter.cs [deleted file]
mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteParameterCollection.cs [deleted file]
mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteRowUpdatedEventArgs.cs [deleted file]
mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteRowUpdatedEventHandler.cs [deleted file]
mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteRowUpdatingEventArgs.cs [deleted file]
mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteRowUpdatingEventHandler.cs [deleted file]
mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteTransaction.cs [deleted file]
mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient_test.dll.sources [deleted file]
mcs/class/Mono.Data.SqliteClient/THIS_IS_OBSOLETE [deleted file]
mcs/class/Mono.Data.SqliteClient/Test/ChangeLog [deleted file]
mcs/class/Mono.Data.SqliteClient/Test/SqliteCommandUnitTests.cs [deleted file]
mcs/class/Mono.Data.SqliteClient/Test/SqliteConnectionTest.cs [deleted file]
mcs/class/Mono.Data.SqliteClient/Test/SqliteDataAdapterUnitTests.cs [deleted file]
mcs/class/Mono.Data.SqliteClient/Test/SqliteDataReaderTest.cs [deleted file]
mcs/class/Mono.Data.SqliteClient/Test/SqliteExceptionUnitTests.cs [deleted file]
mcs/class/Mono.Data.SqliteClient/Test/SqliteParameterUnitTests.cs [deleted file]
mcs/class/Mono.Data.SqliteClient/Test/SqliteTest.cs [deleted file]
mcs/class/Mono.Data.SqliteClient/Test/test.sql [deleted file]
mcs/class/Mono.Data.SqliteClient/sources.list [deleted file]

diff --git a/mcs/class/Mono.Data.SqliteClient/Assembly/AssemblyInfo.cs b/mcs/class/Mono.Data.SqliteClient/Assembly/AssemblyInfo.cs
deleted file mode 100644 (file)
index e06154c..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-// AssemblyInfo.cs
-//
-// Author:
-//   Andreas Nahr (ClassDevelopment@A-SoftTech.com)
-//
-// (C) 2003 Ximian, Inc.  http://www.ximian.com
-// (C) 2004 Novell (http://www.novell.com)
-//
-
-using System;
-using System.Reflection;
-using System.Runtime.InteropServices;
-
-[assembly: AssemblyVersion (Consts.FxVersion)]
-
-/* TODO COMPLETE INFORMATION
-
-[assembly: AssemblyTitle ("")]
-[assembly: AssemblyDescription ("")]
-
-[assembly: CLSCompliant (true)]
-[assembly: AssemblyFileVersion ("0.0.0.1")]
-
-[assembly: ComVisible (false)]
-
-*/
-
-[assembly: AssemblyDelaySign (true)]
-[assembly: AssemblyKeyFile ("../mono.pub")]
-
diff --git a/mcs/class/Mono.Data.SqliteClient/Assembly/ChangeLog b/mcs/class/Mono.Data.SqliteClient/Assembly/ChangeLog
deleted file mode 100644 (file)
index 7b523e4..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-2004-04-30  Sebastien Pouliot  <sebastien@ximian.com>
-
-       * AssemblyInfo.cs: Added
-       * ChangeLog: Added
-       * Locale.cs: Added
diff --git a/mcs/class/Mono.Data.SqliteClient/ChangeLog b/mcs/class/Mono.Data.SqliteClient/ChangeLog
deleted file mode 100644 (file)
index a51accb..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-2008-10-20  Jonathan Pryor  <jpryor@novell.com>
-
-       * Documentation/index.xml, Documentation/Mono.Data.SqliteClient: Move
-         to Documentation/en.
-       * Documentation/Mono.Data.SqliteClient.xml: Move to 
-         Documentation/en/ns-Mono.Data.SqliteClient.xml.
-       * Documentation/en/**/*: Flush (update).
-
-2007-01-16  Marek Habersack  <grendello@gmail.com>
-
-       * Mono.Data.SqliteClient.dll.sources: Added
-       SqliteConnectionStringBuilder.cs
-
-2007-01-15  Marek Habersack  <grendello@gmail.com>
-
-       * Mono.Data.SqliteClient.dll.sources: Added new 2.0 files
-
-2006-01-29  Joshua Tauberer  <tauberer@for.net>
-
-       * Added new test sources.
-
-2006-01-20  Joshua Tauberer  <tauberer@for.net>
-
-       * Removed dependency on Mono.Posix.
-
-2006-01-02  Joshua Tauberer  <tauberer@for.net>
-
-       * Added Mono.Data.SqliteClient/SqliteExceptions.cs to
-         the sources files.
-
-2005-10-06  Chris Lahey  <clahey@localhost.localdomain>
-
-       * Makefile (LIB_MCS_FLAGS): Requires Mono.Posix.dll.
-
-2005-05-20  Sureshkumar T  <tsureshkumar@novell.com>
-           Raja R Harinath <rharinath@novell.com>
-
-       * Makefile:
-       - Test suite started.
-       - Create sqlite3 db testdb from script Test/test.sql.
-       * Mono.Data.SqliteClient_test.dll.sources: Added. Test files.
-
-2004-11-17  Geoff Norton  <gnorton@customerdna.com>
-
-       * Mono.Data.SqliteClient/Sqlite.cs:
-         Mono.Data.SqliteClient/SqliteCommand.cs:
-         Remove sqlite3Free as this doesn't exist and isn't used by sqlite3.
-
-2004-11-14  Geoff Norton  <gnorton@customerdna.com>
-
-       * Mono.Data.SqliteClient/SqliteConnection.cs:  Default to v2 not v3 if version
-       isn't specified in the connection string.  Fixes a bug in F-Spot reported by Miguel
-
-2004-11-11  Geoff Norton  <gnorton@customerdna.com>
-
-       * Mono.Data.SqliteClient/Sqlite.cs
-         Mono.Data.SqliteClient/SqliteConnection.cs
-         Mono.Data.SqliteClient/SqliteCommand.cs
-         Mono.Data.SqliteClient/SqliteDataReader.cs:
-         Initial sqlite v3 support.  Move sqlite v2 to using sqlite_step
-         instead of sqlite_exec, this makes Mono.Data.SqliteClient work on 
-         windows.
-
-2004-05-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
-
-       * Mono.Data.SqliteClient.dll.sources: added SqliteTransaction.cs
-
-       * Mono.Data.SqliteClient/SqliteConnection.cs:
-       * Mono.Data.SqliteClient/SqliteTransaction.cs: patch from
-       grompf@sublimeintervention.com that adds transactions support.
-
-2004-04-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
-
-       * Mono.Data.SqliteClient/SqliteCommand.cs: implement LastInsertRowId.
-       * Mono.Data.SqliteClient/SqliteDataReader.cs: remove dangling ^Ms.
-       Patch by Philipp <pixelpapst@users.sourceforge.net>.
-
-2003-10-17  Ettore Perazzoli  <ettore@ximian.com>
-
-       * Mono.Data.SqliteClient/SqliteConnection.cs
-       (SqliteConnection.LastInsertRowId): New property to bind the
-       sqlite_last_insert_rowid() call.
-
-2003-07-16  Peter Williams  <peter@newton.cx>
-
-       * Makefile (LIB_MCS_FLAGS): Add /r:System.dll here. Why wasn't
-       this necessary with MCS? (csc.exe needs it.)
-
-2002-11-16  Tim Coleman <tim@timcoleman.com>
-       * makefile.gnu:
-               Add MONO_PATH_PREFIX so build doesn't
-               fail if System.Data has not yet been installed.
-
-2002-11-01  Daniel Morgan <danmorg@sc.rr.com>
-
-       * Mono.Data.SqliteClient/SqliteDataReader.cs: redid the
-       implementation for GetSchemaTable() and
-       implemented IEnumerator IEnumerable.GetEnumerator ()
-
-2002-10-16  Miguel de Icaza  <miguel@ximian.com>
-
-       * Mono.Data.SqliteClient/SqliteCommand.cs: Reworked to return the
-       error from SqlLite.
-
-2002-10-12  Vladimir Vukicevic  <vladimir@pobox.com>
-
-       * sources.list: whoops, fix dir name
-
-2002-10-13  Daniel Morgan <danmorg@sc.rr.com>
-
-       * Test: added new directory to hold
-       tests for Mono.Data.SqliteClient
-       
-       * Test/SqliteTest.cs: added file
-       to test Mono.Data.SqliteClient.  
-
-2002-10-13  Daniel Morgan <danmorg@sc.rr.com>
-
-       * Mono.Data.SqliteClient: add file
-       to build on Windows
-       
-       * Mono.Data.SqliteClient/SqliteCommand.cs: modified
-       added unsafe { } around call to sqlite_exec() which calls
-       an unsafe method SqliteCallbackFunction
-
-2002-10-12  Vladimir Vukicevic  <vladimir@pobox.com>
-
-       * Mono.Data.SqlClient/SqliteCobmmand.cs, SqliteDataReader.cs,
-       SqliteParameterCollection.cs, SqliteConnection.cs,
-       SqliteParameter.cs:
-               Initial checkin
-       
diff --git a/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteBusyException.xml b/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteBusyException.xml
deleted file mode 100644 (file)
index 19299a0..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<Type Name="SqliteBusyException" FullName="Mono.Data.SqliteClient.SqliteBusyException">
-  <TypeSignature Language="C#" Value="public class SqliteBusyException : Mono.Data.SqliteClient.SqliteExecutionException" />
-  <AssemblyInfo>
-    <AssemblyName>Mono.Data.SqliteClient</AssemblyName>
-    <AssemblyVersion>2.0.0.0</AssemblyVersion>
-  </AssemblyInfo>
-  <Base>
-    <BaseTypeName>Mono.Data.SqliteClient.SqliteExecutionException</BaseTypeName>
-  </Base>
-  <Interfaces />
-  <Docs>
-    <summary>To be added.</summary>
-    <remarks>To be added.</remarks>
-  </Docs>
-  <Members>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteBusyException ();" />
-      <MemberType>Constructor</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteBusyException (string message);" />
-      <MemberType>Constructor</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <Parameters>
-        <Parameter Name="message" Type="System.String" />
-      </Parameters>
-      <Docs>
-        <param name="message">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteBusyException (string message, Exception cause);" />
-      <MemberType>Constructor</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <Parameters>
-        <Parameter Name="message" Type="System.String" />
-        <Parameter Name="cause" Type="System.Exception" />
-      </Parameters>
-      <Docs>
-        <param name="message">To be added.</param>
-        <param name="cause">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-  </Members>
-</Type>
diff --git a/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteClientFactory.xml b/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteClientFactory.xml
deleted file mode 100644 (file)
index 8a0b262..0000000
+++ /dev/null
@@ -1,172 +0,0 @@
-<Type Name="SqliteClientFactory" FullName="Mono.Data.SqliteClient.SqliteClientFactory">
-  <TypeSignature Language="C#" Value="public class SqliteClientFactory : System.Data.Common.DbProviderFactory" />
-  <AssemblyInfo>
-    <AssemblyName>Mono.Data.SqliteClient</AssemblyName>
-    <AssemblyVersion>2.0.0.0</AssemblyVersion>
-  </AssemblyInfo>
-  <Base>
-    <BaseTypeName>System.Data.Common.DbProviderFactory</BaseTypeName>
-  </Base>
-  <Interfaces />
-  <Docs>
-    <summary>To be added.</summary>
-    <remarks>To be added.</remarks>
-  </Docs>
-  <Members>
-    <Member MemberName="CanCreateDataSourceEnumerator">
-      <MemberSignature Language="C#" Value="public override bool CanCreateDataSourceEnumerator { get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Boolean</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="CreateCommand">
-      <MemberSignature Language="C#" Value="public override System.Data.Common.DbCommand CreateCommand ();" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbCommand</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="CreateCommandBuilder">
-      <MemberSignature Language="C#" Value="public override System.Data.Common.DbCommandBuilder CreateCommandBuilder ();" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbCommandBuilder</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="CreateConnection">
-      <MemberSignature Language="C#" Value="public override System.Data.Common.DbConnection CreateConnection ();" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbConnection</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="CreateConnectionStringBuilder">
-      <MemberSignature Language="C#" Value="public override System.Data.Common.DbConnectionStringBuilder CreateConnectionStringBuilder ();" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbConnectionStringBuilder</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="CreateDataAdapter">
-      <MemberSignature Language="C#" Value="public override System.Data.Common.DbDataAdapter CreateDataAdapter ();" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbDataAdapter</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="CreateDataSourceEnumerator">
-      <MemberSignature Language="C#" Value="public override System.Data.Common.DbDataSourceEnumerator CreateDataSourceEnumerator ();" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbDataSourceEnumerator</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="CreateParameter">
-      <MemberSignature Language="C#" Value="public override System.Data.Common.DbParameter CreateParameter ();" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbParameter</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="Instance">
-      <MemberSignature Language="C#" Value="public static Mono.Data.SqliteClient.SqliteClientFactory Instance;" />
-      <MemberType>Field</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>Mono.Data.SqliteClient.SqliteClientFactory</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="lockStatic">
-      <MemberSignature Language="C#" Value="public static object lockStatic;" />
-      <MemberType>Field</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Object</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-  </Members>
-</Type>
diff --git a/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteCommand.xml b/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteCommand.xml
deleted file mode 100644 (file)
index b6ac8c7..0000000
+++ /dev/null
@@ -1,464 +0,0 @@
-<Type Name="SqliteCommand" FullName="Mono.Data.SqliteClient.SqliteCommand">
-  <TypeSignature Language="C#" Value="public class SqliteCommand : System.Data.Common.DbCommand, ICloneable" />
-  <AssemblyInfo>
-    <AssemblyName>Mono.Data.SqliteClient</AssemblyName>
-    <AssemblyVersion>1.0.5000.0</AssemblyVersion>
-    <AssemblyVersion>2.0.0.0</AssemblyVersion>
-  </AssemblyInfo>
-  <Base>
-    <BaseTypeName>System.Data.Common.DbCommand</BaseTypeName>
-  </Base>
-  <Interfaces>
-    <Interface>
-      <InterfaceName>System.ICloneable</InterfaceName>
-    </Interface>
-  </Interfaces>
-  <Docs>
-    <summary>Represents a command to execute on the database.</summary>
-    <remarks>SqliteCommands are usually created through the <see cref="M:Mono.Data.SqliteClient.SqliteConnection.CreateCommand()" /> method.</remarks>
-  </Docs>
-  <Members>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteCommand ();" />
-      <MemberType>Constructor</MemberType>
-      <Parameters />
-      <Docs>
-        <summary>Creates a new empty command not associated with either a database or a transaction.</summary>
-        <remarks>Before accessing any properties or methods on this object, the <see cref="P:Mono.Data.SqliteClient.SqliteCommand.Connection" /> property must be set to a <see cref="T:Mono.Data.SqliteClient.SqliteConnection" />.  The command must be set with the <see cref="P:Mono.Data.SqliteClient.SqliteCommand.CommandText" /> property before executing the query.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteCommand (string sqlText);" />
-      <MemberType>Constructor</MemberType>
-      <Parameters>
-        <Parameter Name="sqlText" Type="System.String" />
-      </Parameters>
-      <Docs>
-        <param name="sqlText">The text of the SQL command to execute.</param>
-        <summary>Creates a new command not associated with either a database or a transaction..</summary>
-        <remarks>Before accessing any properties or methods on this object, the <see cref="P:Mono.Data.SqliteClient.SqliteCommand.Connection" /> property must be set to a <see cref="T:Mono.Data.SqliteClient.SqliteConnection" />. </remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteCommand (string sqlText, Mono.Data.SqliteClient.SqliteConnection dbConn);" />
-      <MemberType>Constructor</MemberType>
-      <Parameters>
-        <Parameter Name="sqlText" Type="System.String" />
-        <Parameter Name="dbConn" Type="Mono.Data.SqliteClient.SqliteConnection" />
-      </Parameters>
-      <Docs>
-        <param name="sqlText">The text of the SQL command to execute.</param>
-        <param name="dbConn">The database to execute the command on.</param>
-        <summary>Creates a new command with the given text and associated with the given connection.</summary>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteCommand (string sqlText, Mono.Data.SqliteClient.SqliteConnection dbConn, System.Data.IDbTransaction trans);" />
-      <MemberType>Constructor</MemberType>
-      <Parameters>
-        <Parameter Name="sqlText" Type="System.String" />
-        <Parameter Name="dbConn" Type="Mono.Data.SqliteClient.SqliteConnection" />
-        <Parameter Name="trans" Type="System.Data.IDbTransaction" />
-      </Parameters>
-      <Docs>
-        <param name="sqlText">The text of the SQL command to execute.</param>
-        <param name="dbConn">The database to execute the command on.</param>
-        <param name="trans">The transaction to associate the command with.</param>
-        <summary>Creates a new command with the given text and associated with the given connection and transaction.</summary>
-        <remarks>Transactions are not currently supported in the SqliteClient data adapter.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="BindParameters2">
-      <MemberSignature Language="C#" Value="public string BindParameters2 ();" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.String</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="Cancel">
-      <MemberSignature Language="C#" Value="public override void Cancel ();" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Void</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>This method does nothing.</summary>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="CommandText">
-      <MemberSignature Language="C#" Value="public override string CommandText { set; get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.String</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>Gets or sets the SQL command.</summary>
-        <value>The SQL command.</value>
-        <remarks>The syntax of the command is only checked when the command is executed.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="CommandTimeout">
-      <MemberSignature Language="C#" Value="public override int CommandTimeout { set; get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Int32</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>This property is not currently used.</summary>
-        <value>A timeout value.</value>
-        <remarks>This property is not currently used.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="CommandType">
-      <MemberSignature Language="C#" Value="public override System.Data.CommandType CommandType { set; get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Data.CommandType</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>This property is not currently used.</summary>
-        <value>A command type.</value>
-        <remarks>This property is not currently used.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="Connection">
-      <MemberSignature Language="C#" Value="public Mono.Data.SqliteClient.SqliteConnection Connection { set; get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>Mono.Data.SqliteClient.SqliteConnection</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>Gets or sets the connection associated with this command.</summary>
-        <value>A connection object.</value>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="CreateDbParameter">
-      <MemberSignature Language="C#" Value="protected override System.Data.Common.DbParameter CreateDbParameter ();" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbParameter</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="DbConnection">
-      <MemberSignature Language="C#" Value="protected override System.Data.Common.DbConnection DbConnection { set; get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbConnection</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="DbParameterCollection">
-      <MemberSignature Language="C#" Value="protected override System.Data.Common.DbParameterCollection DbParameterCollection { get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbParameterCollection</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="DbTransaction">
-      <MemberSignature Language="C#" Value="protected override System.Data.Common.DbTransaction DbTransaction { set; get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbTransaction</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="DesignTimeVisible">
-      <MemberSignature Language="C#" Value="public override bool DesignTimeVisible { set; get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Boolean</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="ExecuteDbDataReader">
-      <MemberSignature Language="C#" Value="protected override System.Data.Common.DbDataReader ExecuteDbDataReader (System.Data.CommandBehavior behavior);" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbDataReader</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="behavior" Type="System.Data.CommandBehavior" />
-      </Parameters>
-      <Docs>
-        <param name="behavior">To be added.</param>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="ExecuteNonQuery">
-      <MemberSignature Language="C#" Value="public override int ExecuteNonQuery ();" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Int32</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>Executes the command and returns the number of rows affected.</summary>
-        <returns>The number of rows affected by the command.</returns>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="ExecuteReader">
-      <MemberSignature Language="C#" Value="public Mono.Data.SqliteClient.SqliteDataReader ExecuteReader ();" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>Mono.Data.SqliteClient.SqliteDataReader</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>Executes the command and returns a DataReader with the resulting table.</summary>
-        <returns>A <see cref="T:Mono.Data.SqliteClient.SqliteDataReader" /> containing the resulting table.</returns>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="ExecuteReader">
-      <MemberSignature Language="C#" Value="public Mono.Data.SqliteClient.SqliteDataReader ExecuteReader (System.Data.CommandBehavior behavior);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>Mono.Data.SqliteClient.SqliteDataReader</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="behavior" Type="System.Data.CommandBehavior" />
-      </Parameters>
-      <Docs>
-        <param name="behavior">This parameter is currently ignored.</param>
-        <summary>Executes the command and returns a DataReader with the resulting table.</summary>
-        <returns>A <see cref="T:Mono.Data.SqliteClient.SqliteDataReader" /> containing the resulting table.</returns>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="ExecuteReader">
-      <MemberSignature Language="C#" Value="public Mono.Data.SqliteClient.SqliteDataReader ExecuteReader (System.Data.CommandBehavior behavior, bool want_results, out int rows_affected);" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>Mono.Data.SqliteClient.SqliteDataReader</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="behavior" Type="System.Data.CommandBehavior" />
-        <Parameter Name="want_results" Type="System.Boolean" />
-        <Parameter Name="rows_affected" Type="System.Int32&amp;" RefType="out" />
-      </Parameters>
-      <Docs>
-        <param name="behavior">To be added.</param>
-        <param name="want_results">To be added.</param>
-        <param name="rows_affected">To be added.</param>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="ExecuteScalar">
-      <MemberSignature Language="C#" Value="public override object ExecuteScalar ();" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Object</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>Executes the command and returns the first value.</summary>
-        <returns>Returns the value of the first column of the first row of the resulting table, or null if the command returned zero rows.</returns>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="LastInsertRowID">
-      <MemberSignature Language="C#" Value="public int LastInsertRowID ();" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Int32</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>Gets the ID of the most recently inserted row.</summary>
-        <returns>The ID of the most recently inserted row.</returns>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="Parameters">
-      <MemberSignature Language="C#" Value="public Mono.Data.SqliteClient.SqliteParameterCollection Parameters { get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>Mono.Data.SqliteClient.SqliteParameterCollection</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>Gets the collection of parameters used in this command.</summary>
-        <value>An instance of <see cref="T:Mono.Data.SqliteClient.SqliteParameterCollection" />.</value>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="Prepare">
-      <MemberSignature Language="C#" Value="public override void Prepare ();" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Void</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>Prepares the command for execution.</summary>
-        <remarks>This command does nothing of consequence to the user of this library.  Syntax exceptions in the command string, for instance, will be thrown only when the command is executed.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="System.ICloneable.Clone">
-      <MemberSignature Language="C#" Value="object ICloneable.Clone ();" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Object</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="Transaction">
-      <MemberSignature Language="C#" Value="public System.Data.Common.DbTransaction Transaction { set; get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbTransaction</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>This property is not currently used.</summary>
-        <value>A transaction object.</value>
-        <remarks>This property is not currently used.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <Attributes>
-        <Attribute>
-          <AttributeName>System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)</AttributeName>
-        </Attribute>
-        <Attribute>
-          <AttributeName>System.ComponentModel.DefaultValue(null)</AttributeName>
-        </Attribute>
-        <Attribute>
-          <AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
-        </Attribute>
-      </Attributes>
-    </Member>
-    <Member MemberName="UpdatedRowSource">
-      <MemberSignature Language="C#" Value="public override System.Data.UpdateRowSource UpdatedRowSource { set; get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Data.UpdateRowSource</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>This property is not currently used.</summary>
-        <value>Unknown.</value>
-        <remarks>This property is not currently used.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-  </Members>
-</Type>
diff --git a/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteCommandBuilder.xml b/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteCommandBuilder.xml
deleted file mode 100644 (file)
index 086553c..0000000
+++ /dev/null
@@ -1,254 +0,0 @@
-<Type Name="SqliteCommandBuilder" FullName="Mono.Data.SqliteClient.SqliteCommandBuilder">
-  <TypeSignature Language="C#" Value="public sealed class SqliteCommandBuilder : System.Data.Common.DbCommandBuilder" />
-  <AssemblyInfo>
-    <AssemblyName>Mono.Data.SqliteClient</AssemblyName>
-    <AssemblyVersion>2.0.0.0</AssemblyVersion>
-  </AssemblyInfo>
-  <Base>
-    <BaseTypeName>System.Data.Common.DbCommandBuilder</BaseTypeName>
-  </Base>
-  <Interfaces />
-  <Docs>
-    <summary>To be added.</summary>
-    <remarks>To be added.</remarks>
-  </Docs>
-  <Members>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteCommandBuilder ();" />
-      <MemberType>Constructor</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="ApplyParameterInfo">
-      <MemberSignature Language="C#" Value="protected override void ApplyParameterInfo (System.Data.Common.DbParameter dbParameter, System.Data.DataRow row, System.Data.StatementType statementType, bool whereClause);" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Void</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="dbParameter" Type="System.Data.Common.DbParameter" />
-        <Parameter Name="row" Type="System.Data.DataRow" />
-        <Parameter Name="statementType" Type="System.Data.StatementType" />
-        <Parameter Name="whereClause" Type="System.Boolean" />
-      </Parameters>
-      <Docs>
-        <param name="dbParameter">To be added.</param>
-        <param name="row">To be added.</param>
-        <param name="statementType">To be added.</param>
-        <param name="whereClause">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="DataAdapter">
-      <MemberSignature Language="C#" Value="public System.Data.Common.DbDataAdapter DataAdapter { set; get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbDataAdapter</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="Dispose">
-      <MemberSignature Language="C#" Value="protected override void Dispose (bool disposing);" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Void</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="disposing" Type="System.Boolean" />
-      </Parameters>
-      <Docs>
-        <param name="disposing">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="GetDeleteCommand">
-      <MemberSignature Language="C#" Value="public Mono.Data.SqliteClient.SqliteCommand GetDeleteCommand ();" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>Mono.Data.SqliteClient.SqliteCommand</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="GetInsertCommand">
-      <MemberSignature Language="C#" Value="public Mono.Data.SqliteClient.SqliteCommand GetInsertCommand ();" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>Mono.Data.SqliteClient.SqliteCommand</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="GetParameterName">
-      <MemberSignature Language="C#" Value="protected override string GetParameterName (int position);" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.String</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="position" Type="System.Int32" />
-      </Parameters>
-      <Docs>
-        <param name="position">To be added.</param>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="GetParameterName">
-      <MemberSignature Language="C#" Value="protected override string GetParameterName (string parameterName);" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.String</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="parameterName" Type="System.String" />
-      </Parameters>
-      <Docs>
-        <param name="parameterName">To be added.</param>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="GetParameterPlaceholder">
-      <MemberSignature Language="C#" Value="protected override string GetParameterPlaceholder (int position);" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.String</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="position" Type="System.Int32" />
-      </Parameters>
-      <Docs>
-        <param name="position">To be added.</param>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="GetUpdateCommand">
-      <MemberSignature Language="C#" Value="public Mono.Data.SqliteClient.SqliteCommand GetUpdateCommand ();" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>Mono.Data.SqliteClient.SqliteCommand</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="QuotePrefix">
-      <MemberSignature Language="C#" Value="public override string QuotePrefix { set; get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.String</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="QuoteSuffix">
-      <MemberSignature Language="C#" Value="public override string QuoteSuffix { set; get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.String</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="RefreshSchema">
-      <MemberSignature Language="C#" Value="public override void RefreshSchema ();" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Void</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="SetRowUpdatingHandler">
-      <MemberSignature Language="C#" Value="protected override void SetRowUpdatingHandler (System.Data.Common.DbDataAdapter adapter);" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Void</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="adapter" Type="System.Data.Common.DbDataAdapter" />
-      </Parameters>
-      <Docs>
-        <param name="adapter">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-  </Members>
-</Type>
diff --git a/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteConnection.xml b/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteConnection.xml
deleted file mode 100644 (file)
index 15b4fa0..0000000
+++ /dev/null
@@ -1,372 +0,0 @@
-<Type Name="SqliteConnection" FullName="Mono.Data.SqliteClient.SqliteConnection">
-  <TypeSignature Language="C#" Value="public class SqliteConnection : System.Data.Common.DbConnection, ICloneable" />
-  <AssemblyInfo>
-    <AssemblyName>Mono.Data.SqliteClient</AssemblyName>
-    <AssemblyVersion>1.0.5000.0</AssemblyVersion>
-    <AssemblyVersion>2.0.0.0</AssemblyVersion>
-  </AssemblyInfo>
-  <Base>
-    <BaseTypeName>System.Data.Common.DbConnection</BaseTypeName>
-  </Base>
-  <Interfaces>
-    <Interface>
-      <InterfaceName>System.ICloneable</InterfaceName>
-    </Interface>
-  </Interfaces>
-  <Docs>
-    <summary>Represents a connection to a database.</summary>
-    <remarks>
-      <para>Creating a connection is the starting point for accessing a Sqlite database.</para>
-      <example>
-        <code lang="C#">string connectionString = "URI=file:SqliteTest.db";
-IDbConnection dbcon = new SqliteConnection(connectionString);</code>
-      </example>
-    </remarks>
-  </Docs>
-  <Members>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteConnection ();" />
-      <MemberType>Constructor</MemberType>
-      <Parameters />
-      <Docs>
-        <summary>Creates a new connection object.</summary>
-        <remarks>The <see cref="P:Mono.Data.SqliteClient.SqliteConnection.ConnectionString" /> must be set and <see cref="M:Mono.Data.SqliteClient.SqliteConnection.Open()" /> must be called before accesses to a database can be made.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteConnection (string connstring);" />
-      <MemberType>Constructor</MemberType>
-      <Parameters>
-        <Parameter Name="connstring" Type="System.String" />
-      </Parameters>
-      <Docs>
-        <param name="connstring">A connection string.</param>
-        <summary>Creates a new connection object with a given connection string.</summary>
-        <remarks>See <see cref="P:Mono.Data.SqliteClient.SqliteConnection.ConnectionString" /> for the format expected for <paramref name="connString" />.  <see cref="M:Mono.Data.SqliteClient.SqliteConnection.Open()" /> must be called before accesses to the database can be made.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="BeginDbTransaction">
-      <MemberSignature Language="C#" Value="protected override System.Data.Common.DbTransaction BeginDbTransaction (System.Data.IsolationLevel il);" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbTransaction</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="il" Type="System.Data.IsolationLevel" />
-      </Parameters>
-      <Docs>
-        <param name="il">To be added.</param>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="BeginTransaction">
-      <MemberSignature Language="C#" Value="public System.Data.Common.DbTransaction BeginTransaction ();" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbTransaction</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="BeginTransaction">
-      <MemberSignature Language="C#" Value="public System.Data.Common.DbTransaction BeginTransaction (System.Data.IsolationLevel il);" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbTransaction</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="il" Type="System.Data.IsolationLevel" />
-      </Parameters>
-      <Docs>
-        <param name="il">To be added.</param>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="BusyTimeout">
-      <MemberSignature Language="C#" Value="public int BusyTimeout { set; get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Int32</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>Sets the number of milliseconds to wait before throwing a <see cref="T:Mono.Data.SqliteClient.SqliteBusyException" />.</summary>
-        <value>Zero to throw a <see cref="T:Mono.Data.SqliteClient.SqliteBusyException" /> immediately while executing a command if the database is locked by another executing command (possibly in another process), otherwise the number of milliseconds to wait until the database is free before throwing an exception.</value>
-        <remarks>The default value is zero.  Set this property before opening a connection, or use the busy_timeout connection string parameter.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="ChangeDatabase">
-      <MemberSignature Language="C#" Value="public override void ChangeDatabase (string databaseName);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Void</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="databaseName" Type="System.String" />
-      </Parameters>
-      <Docs>
-        <param name="databaseName">A new database name.</param>
-        <summary>This method is not implemented.</summary>
-        <remarks>This method is not implemented.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="Close">
-      <MemberSignature Language="C#" Value="public override void Close ();" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Void</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>Closes the current connection.</summary>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="ConnectionString">
-      <MemberSignature Language="C#" Value="public override string ConnectionString { set; get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.String</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>A connection string specifying how to connect to the database.</summary>
-        <value>See the remarks section below.</value>
-        <remarks>
-          <para>The format of a basic connection string is <c>URI=file:/path/to/file</c>, for example <c>URI=file:SqliteTest.db</c>.  That will use the database SqliteTest.db in the current directory. It will be created if it does not exist.</para>
-          <para>The ADO.NET adapter will use SQLite version 2 by default, but if version 2 is not found and version 3 is available, it will fall back to version 3. You can force the adapter to use version 3 by adding "version=3" to the connection string: <c>URI=file:SqliteTest.db,version=3</c>.</para>
-          <para>These are the available connection string parameters, which should be separated by semicolons:</para>
-          <list type="table">
-            <listheader>
-              <term>Name</term>
-              <description>Purpose</description>
-              <description>Example</description>
-            </listheader>
-            <item>
-              <term>URI</term>
-              <description>a file Universal Resource Identifier (only file:)</description>
-              <description>
-                <c>URI=file:SqliteTest.db</c>
-              </description>
-            </item>
-            <item>
-              <term>version</term>
-              <description>version of Sqlite to use: 2 or 3; the version must be installed on the system</description>
-              <description>
-                <c>version=3</c>
-              </description>
-            </item>
-            <item>
-              <term>busy_timeout</term>
-              <description>a timeout, in milliseconds, to wait when the database is locked before throwing a SqliteBusyException, or zero to timeout immediately (since Mono 1.1.14)n</description>
-              <description>
-                <c>busy_timeout=3000</c>
-              </description>
-            </item>
-          </list>
-          <para>The busy_timeout parameter is implemented as a call to sqlite(3)_busy_timeout (http://sqlite.org/capi3ref.html#sqlite3_busy_timeout). The default value is 0, which means the adapter should throw a SqliteBusyException immediately if the database is locked.</para>
-        </remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="ConnectionTimeout">
-      <MemberSignature Language="C#" Value="public override int ConnectionTimeout { get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Int32</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>This property is not used.</summary>
-        <value>Always zero.</value>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="CreateDbCommand">
-      <MemberSignature Language="C#" Value="protected override System.Data.Common.DbCommand CreateDbCommand ();" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbCommand</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="Database">
-      <MemberSignature Language="C#" Value="public override string Database { get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.String</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>Gets the URI of the database file specified in the last value set for the connection string.</summary>
-        <value>A  URI.</value>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="DataSource">
-      <MemberSignature Language="C#" Value="public override string DataSource { get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.String</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="Encoding">
-      <MemberSignature Language="C#" Value="public System.Text.Encoding Encoding { get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Text.Encoding</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>Gets the character encoding specified in the last value set for the connection string.</summary>
-        <value>An encoding, or null if the default encoding is used.</value>
-        <remarks>Encoding is only used when connecting to Sqlite version 2 databases.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="LastInsertRowId">
-      <MemberSignature Language="C#" Value="public int LastInsertRowId { get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Int32</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>Gets the ID of the last row inserted into the database during this connection.</summary>
-        <value>The ID of the last inserted row.</value>
-        <remarks>See sqlite[3]_last_insert_rowid.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="Open">
-      <MemberSignature Language="C#" Value="public override void Open ();" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Void</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>Opens the database connection.</summary>
-        <remarks>The <see cref="P:Mono.Data.SqliteClient.SqliteConnection.ConnectionString" /> must be set before calling this method.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="ServerVersion">
-      <MemberSignature Language="C#" Value="public override string ServerVersion { get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.String</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="State">
-      <MemberSignature Language="C#" Value="public override System.Data.ConnectionState State { get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Data.ConnectionState</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>Gets the state of the connection.</summary>
-        <value>The state of the connection.</value>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="System.ICloneable.Clone">
-      <MemberSignature Language="C#" Value="object ICloneable.Clone ();" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Object</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="Version">
-      <MemberSignature Language="C#" Value="public int Version { get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Int32</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>Gets the database version connected to.</summary>
-        <value>2 or 3</value>
-        <remarks>After the connection has been opened, this property returns the version of the database actually connected to.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-  </Members>
-</Type>
diff --git a/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteConnectionStringBuilder.xml b/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteConnectionStringBuilder.xml
deleted file mode 100644 (file)
index d061be2..0000000
+++ /dev/null
@@ -1,272 +0,0 @@
-<Type Name="SqliteConnectionStringBuilder" FullName="Mono.Data.SqliteClient.SqliteConnectionStringBuilder">
-  <TypeSignature Language="C#" Value="public sealed class SqliteConnectionStringBuilder : System.Data.Common.DbConnectionStringBuilder" />
-  <AssemblyInfo>
-    <AssemblyName>Mono.Data.SqliteClient</AssemblyName>
-    <AssemblyVersion>2.0.0.0</AssemblyVersion>
-  </AssemblyInfo>
-  <Base>
-    <BaseTypeName>System.Data.Common.DbConnectionStringBuilder</BaseTypeName>
-  </Base>
-  <Interfaces />
-  <Docs>
-    <summary>To be added.</summary>
-    <remarks>To be added.</remarks>
-  </Docs>
-  <Members>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteConnectionStringBuilder ();" />
-      <MemberType>Constructor</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteConnectionStringBuilder (string connectionString);" />
-      <MemberType>Constructor</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <Parameters>
-        <Parameter Name="connectionString" Type="System.String" />
-      </Parameters>
-      <Docs>
-        <param name="connectionString">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="BusyTimeout">
-      <MemberSignature Language="C#" Value="public int BusyTimeout { set; get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Int32</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="Clear">
-      <MemberSignature Language="C#" Value="public override void Clear ();" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Void</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="ContainsKey">
-      <MemberSignature Language="C#" Value="public override bool ContainsKey (string keyword);" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Boolean</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="keyword" Type="System.String" />
-      </Parameters>
-      <Docs>
-        <param name="keyword">To be added.</param>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="DataSource">
-      <MemberSignature Language="C#" Value="public string DataSource { set; get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.String</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="Encoding">
-      <MemberSignature Language="C#" Value="public System.Text.Encoding Encoding { set; get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Text.Encoding</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="IsFixedSize">
-      <MemberSignature Language="C#" Value="public override bool IsFixedSize { get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Boolean</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="Item">
-      <MemberSignature Language="C#" Value="public override object this[string keyword] { set; get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Object</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="keyword" Type="System.String" />
-      </Parameters>
-      <Docs>
-        <param name="keyword">To be added.</param>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="Keys">
-      <MemberSignature Language="C#" Value="public override System.Collections.ICollection Keys { get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Collections.ICollection</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="Mode">
-      <MemberSignature Language="C#" Value="public int Mode { set; get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Int32</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="Remove">
-      <MemberSignature Language="C#" Value="public override bool Remove (string keyword);" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Boolean</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="keyword" Type="System.String" />
-      </Parameters>
-      <Docs>
-        <param name="keyword">To be added.</param>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="TryGetValue">
-      <MemberSignature Language="C#" Value="public override bool TryGetValue (string keyword, out object value);" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Boolean</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="keyword" Type="System.String" />
-        <Parameter Name="value" Type="System.Object&amp;" RefType="out" />
-      </Parameters>
-      <Docs>
-        <param name="keyword">To be added.</param>
-        <param name="value">To be added.</param>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="Uri">
-      <MemberSignature Language="C#" Value="public string Uri { set; get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.String</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="Values">
-      <MemberSignature Language="C#" Value="public override System.Collections.ICollection Values { get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Collections.ICollection</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="Version">
-      <MemberSignature Language="C#" Value="public int Version { set; get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Int32</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-  </Members>
-</Type>
diff --git a/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteDataAdapter.xml b/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteDataAdapter.xml
deleted file mode 100644 (file)
index 1dd982e..0000000
+++ /dev/null
@@ -1,286 +0,0 @@
-<Type Name="SqliteDataAdapter" FullName="Mono.Data.SqliteClient.SqliteDataAdapter">
-  <TypeSignature Language="C#" Value="public class SqliteDataAdapter : System.Data.Common.DbDataAdapter" />
-  <AssemblyInfo>
-    <AssemblyName>Mono.Data.SqliteClient</AssemblyName>
-    <AssemblyVersion>1.0.5000.0</AssemblyVersion>
-    <AssemblyVersion>2.0.0.0</AssemblyVersion>
-  </AssemblyInfo>
-  <Base>
-    <BaseTypeName>System.Data.Common.DbDataAdapter</BaseTypeName>
-  </Base>
-  <Interfaces>
-  </Interfaces>
-  <Docs>
-    <summary>To be added.</summary>
-    <remarks>To be added.</remarks>
-  </Docs>
-  <Members>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteDataAdapter ();" />
-      <MemberType>Constructor</MemberType>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteDataAdapter (System.Data.Common.DbCommand selectCommand);" />
-      <MemberType>Constructor</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <Parameters>
-        <Parameter Name="selectCommand" Type="System.Data.Common.DbCommand" />
-      </Parameters>
-      <Docs>
-        <param name="selectCommand">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteDataAdapter (string selectCommandText, Mono.Data.SqliteClient.SqliteConnection connection);" />
-      <MemberType>Constructor</MemberType>
-      <Parameters>
-        <Parameter Name="selectCommandText" Type="System.String" />
-        <Parameter Name="connection" Type="Mono.Data.SqliteClient.SqliteConnection" />
-      </Parameters>
-      <Docs>
-        <param name="selectCommandText">To be added.</param>
-        <param name="connection">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteDataAdapter (string selectCommandText, string connectionString);" />
-      <MemberType>Constructor</MemberType>
-      <Parameters>
-        <Parameter Name="selectCommandText" Type="System.String" />
-        <Parameter Name="connectionString" Type="System.String" />
-      </Parameters>
-      <Docs>
-        <param name="selectCommandText">To be added.</param>
-        <param name="connectionString">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="CreateRowUpdatedEvent">
-      <MemberSignature Language="C#" Value="protected override System.Data.Common.RowUpdatedEventArgs CreateRowUpdatedEvent (System.Data.DataRow dataRow, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping);" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.RowUpdatedEventArgs</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="dataRow" Type="System.Data.DataRow" />
-        <Parameter Name="command" Type="System.Data.IDbCommand" />
-        <Parameter Name="statementType" Type="System.Data.StatementType" />
-        <Parameter Name="tableMapping" Type="System.Data.Common.DataTableMapping" />
-      </Parameters>
-      <Docs>
-        <param name="dataRow">To be added.</param>
-        <param name="command">To be added.</param>
-        <param name="statementType">To be added.</param>
-        <param name="tableMapping">To be added.</param>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="CreateRowUpdatingEvent">
-      <MemberSignature Language="C#" Value="protected override System.Data.Common.RowUpdatingEventArgs CreateRowUpdatingEvent (System.Data.DataRow dataRow, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping);" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.RowUpdatingEventArgs</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="dataRow" Type="System.Data.DataRow" />
-        <Parameter Name="command" Type="System.Data.IDbCommand" />
-        <Parameter Name="statementType" Type="System.Data.StatementType" />
-        <Parameter Name="tableMapping" Type="System.Data.Common.DataTableMapping" />
-      </Parameters>
-      <Docs>
-        <param name="dataRow">To be added.</param>
-        <param name="command">To be added.</param>
-        <param name="statementType">To be added.</param>
-        <param name="tableMapping">To be added.</param>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="DeleteCommand">
-      <MemberSignature Language="C#" Value="public System.Data.Common.DbCommand DeleteCommand { set; get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbCommand</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <Attributes>
-        <Attribute>
-          <AttributeName>System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)</AttributeName>
-        </Attribute>
-        <Attribute>
-          <AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
-        </Attribute>
-      </Attributes>
-    </Member>
-    <Member MemberName="InsertCommand">
-      <MemberSignature Language="C#" Value="public System.Data.Common.DbCommand InsertCommand { set; get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbCommand</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <Attributes>
-        <Attribute>
-          <AttributeName>System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)</AttributeName>
-        </Attribute>
-        <Attribute>
-          <AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
-        </Attribute>
-      </Attributes>
-    </Member>
-    <Member MemberName="OnRowUpdated">
-      <MemberSignature Language="C#" Value="protected override void OnRowUpdated (System.Data.Common.RowUpdatedEventArgs args);" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Void</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="args" Type="System.Data.Common.RowUpdatedEventArgs" />
-      </Parameters>
-      <Docs>
-        <param name="args">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="OnRowUpdating">
-      <MemberSignature Language="C#" Value="protected override void OnRowUpdating (System.Data.Common.RowUpdatingEventArgs args);" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Void</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="args" Type="System.Data.Common.RowUpdatingEventArgs" />
-      </Parameters>
-      <Docs>
-        <param name="args">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="RowUpdated">
-      <MemberSignature Language="C#" Value="public event Mono.Data.SqliteClient.SqliteRowUpdatedEventHandler RowUpdated;" />
-      <MemberType>Event</MemberType>
-      <ReturnValue>
-        <ReturnType>Mono.Data.SqliteClient.SqliteRowUpdatedEventHandler</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="RowUpdating">
-      <MemberSignature Language="C#" Value="public event Mono.Data.SqliteClient.SqliteRowUpdatingEventHandler RowUpdating;" />
-      <MemberType>Event</MemberType>
-      <ReturnValue>
-        <ReturnType>Mono.Data.SqliteClient.SqliteRowUpdatingEventHandler</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="SelectCommand">
-      <MemberSignature Language="C#" Value="public System.Data.Common.DbCommand SelectCommand { set; get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbCommand</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <Attributes>
-        <Attribute>
-          <AttributeName>System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)</AttributeName>
-        </Attribute>
-        <Attribute>
-          <AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
-        </Attribute>
-      </Attributes>
-    </Member>
-    <Member MemberName="UpdateCommand">
-      <MemberSignature Language="C#" Value="public System.Data.Common.DbCommand UpdateCommand { set; get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbCommand</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <Attributes>
-        <Attribute>
-          <AttributeName>System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)</AttributeName>
-        </Attribute>
-        <Attribute>
-          <AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
-        </Attribute>
-      </Attributes>
-    </Member>
-  </Members>
-</Type>
diff --git a/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteDataReader.xml b/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteDataReader.xml
deleted file mode 100644 (file)
index 80039de..0000000
+++ /dev/null
@@ -1,671 +0,0 @@
-<Type Name="SqliteDataReader" FullName="Mono.Data.SqliteClient.SqliteDataReader">
-  <TypeSignature Language="C#" Value="public class SqliteDataReader : System.Data.Common.DbDataReader" />
-  <AssemblyInfo>
-    <AssemblyName>Mono.Data.SqliteClient</AssemblyName>
-    <AssemblyVersion>1.0.5000.0</AssemblyVersion>
-    <AssemblyVersion>2.0.0.0</AssemblyVersion>
-  </AssemblyInfo>
-  <Base>
-    <BaseTypeName>System.Data.Common.DbDataReader</BaseTypeName>
-  </Base>
-  <Interfaces>
-  </Interfaces>
-  <Docs>
-    <summary>The DataReader represents a table of results returned from a query.</summary>
-    <remarks>
-      <para>A DataReader is returned from <see cref="M:Mono.Data.SqliteClient.SqliteCommand.ExecuteReader()" />.  The DataReader currently implemented preloads the entire into memory.</para>
-      <para>The DataReader is initially positioned before the first row of data.  <see cref="M:Mono.Data.SqliteClient.SqliteDataReader.Read()" /> must be called before accessing the data in the first row.</para>
-    </remarks>
-  </Docs>
-  <Members>
-    <Member MemberName="Close">
-      <MemberSignature Language="C#" Value="public override void Close ();" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Void</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>Closes the DataReader.</summary>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="Depth">
-      <MemberSignature Language="C#" Value="public override int Depth { get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Int32</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>Returns zero.</summary>
-        <value>Zero.</value>
-        <remarks>This method is not currently used.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="Dispose">
-      <MemberSignature Language="C#" Value="protected override void Dispose (bool disposing);" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Void</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="disposing" Type="System.Boolean" />
-      </Parameters>
-      <Docs>
-        <param name="disposing">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="FieldCount">
-      <MemberSignature Language="C#" Value="public override int FieldCount { get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Int32</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>Gets the number of columns in the table.</summary>
-        <value>The number of columns in the table.</value>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="GetBoolean">
-      <MemberSignature Language="C#" Value="public override bool GetBoolean (int i);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Boolean</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="i" Type="System.Int32" />
-      </Parameters>
-      <Docs>
-        <param name="i">The column index (zero-based).</param>
-        <summary>Get the value in a column converted to a boolean.</summary>
-        <returns>The boolean value in the <paramref name="i" />th column.</returns>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="GetByte">
-      <MemberSignature Language="C#" Value="public override byte GetByte (int i);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Byte</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="i" Type="System.Int32" />
-      </Parameters>
-      <Docs>
-        <param name="i">The column index (zero-based).</param>
-        <summary>Get the value in a column converted to a byte.</summary>
-        <returns>The byte value in the <paramref name="i" />th column.</returns>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="GetBytes">
-      <MemberSignature Language="C#" Value="public override long GetBytes (int i, long fieldOffset, byte[] buffer, int bufferOffset, int length);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Int64</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="i" Type="System.Int32" />
-        <Parameter Name="fieldOffset" Type="System.Int64" />
-        <Parameter Name="buffer" Type="System.Byte[]" />
-        <Parameter Name="bufferOffset" Type="System.Int32" />
-        <Parameter Name="length" Type="System.Int32" />
-      </Parameters>
-      <Docs>
-        <param name="i">The column index (zero-based).</param>
-        <param name="fieldOffset">The starting byte in the field data at which to get the data.</param>
-        <param name="buffer">The buffer to fill with field data.</param>
-        <param name="bufferOffset">The starting index in the buffer to put the data.</param>
-        <param name="length">The number of bytes to retrieve and put in the buffer.</param>
-        <summary>Gets the byte data within a binary field.</summary>
-        <returns>The number of bytes copied into the buffer.</returns>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="GetChar">
-      <MemberSignature Language="C#" Value="public override char GetChar (int i);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Char</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="i" Type="System.Int32" />
-      </Parameters>
-      <Docs>
-        <param name="i">The column index (zero-based).</param>
-        <summary>Get the value in a column converted to a char.</summary>
-        <returns>The char value in the <paramref name="i" />th column.</returns>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="GetChars">
-      <MemberSignature Language="C#" Value="public override long GetChars (int i, long fieldOffset, char[] buffer, int bufferOffset, int length);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Int64</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="i" Type="System.Int32" />
-        <Parameter Name="fieldOffset" Type="System.Int64" />
-        <Parameter Name="buffer" Type="System.Char[]" />
-        <Parameter Name="bufferOffset" Type="System.Int32" />
-        <Parameter Name="length" Type="System.Int32" />
-      </Parameters>
-      <Docs>
-        <param name="i">The column index (zero-based).</param>
-        <param name="fieldOffset">To be added.</param>
-        <param name="buffer">To be added.</param>
-        <param name="bufferOffset">To be added.</param>
-        <param name="length">To be added.</param>
-        <summary>This method is not implemented.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="GetDataTypeName">
-      <MemberSignature Language="C#" Value="public override string GetDataTypeName (int i);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.String</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="i" Type="System.Int32" />
-      </Parameters>
-      <Docs>
-        <param name="i">The column index (zero-based).</param>
-        <summary>Gets the name of the SQL data type for the given column.</summary>
-        <returns>The name of a SQL data type, such as "text."</returns>
-        <remarks>For Sqlite2 databases, "text" is always the return value.  For Sqlite3, the return value may be the data type used to create the column.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="GetDateTime">
-      <MemberSignature Language="C#" Value="public override DateTime GetDateTime (int i);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.DateTime</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="i" Type="System.Int32" />
-      </Parameters>
-      <Docs>
-        <param name="i">The column index (zero-based).</param>
-        <summary>Get the value in a column converted to a DateTime.</summary>
-        <returns>The DateTime value in the <paramref name="i" />th column.</returns>
-        <remarks>In Sqlite 3 databases, if the column is typed as DATE or DATETIME and an integer value was put into the field, then SqliteClient will convert the integer value to a DateTime struct using <see cref="M:System.DateTime.FromFileTime(int)" />.  For Sqlite 2 and 3, if a string value was put into the field, then the string will be converted to a DateTime using <see cref="M:System.DateTime.Parse(string)" />.  Any other data type in the column may throw an exception.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="GetDecimal">
-      <MemberSignature Language="C#" Value="public override decimal GetDecimal (int i);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Decimal</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="i" Type="System.Int32" />
-      </Parameters>
-      <Docs>
-        <param name="i">The column index (zero-based).</param>
-        <summary>Get the value in a column converted to a Decimal.</summary>
-        <returns>The decimal value in the <paramref name="i" />th column.</returns>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="GetDouble">
-      <MemberSignature Language="C#" Value="public override double GetDouble (int i);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Double</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="i" Type="System.Int32" />
-      </Parameters>
-      <Docs>
-        <param name="i">The column index (zero-based).</param>
-        <summary>Get the value in a column converted to a double.</summary>
-        <returns>The double value in the <paramref name="i" />th column.</returns>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="GetEnumerator">
-      <MemberSignature Language="C#" Value="public override System.Collections.IEnumerator GetEnumerator ();" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Collections.IEnumerator</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="GetFieldType">
-      <MemberSignature Language="C#" Value="public override Type GetFieldType (int i);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Type</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="i" Type="System.Int32" />
-      </Parameters>
-      <Docs>
-        <param name="i">The column index (zero-based).</param>
-        <summary>Gets a Type representing the type of data in the field.</summary>
-        <returns>Gets the type of data in the <paramref name="i" />th column for the current row of the DataReader.</returns>
-        <remarks>
-          <para>If the DataReader is positioned before the first row and a row of data is available, GetFieldType returns the data type for the first row.  If no rows of data are available, GetFieldType returns <see cref="T:System.String" />.</para>
-          <para>If the <paramref name="i" />th column contains NULL, then GetFieldType returns <see cref="T:System.String" />.</para>
-        </remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="GetFloat">
-      <MemberSignature Language="C#" Value="public override float GetFloat (int i);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Single</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="i" Type="System.Int32" />
-      </Parameters>
-      <Docs>
-        <param name="i">The column index (zero-based).</param>
-        <summary>Get the value in a column converted to a float.</summary>
-        <returns>The float value in the <paramref name="i" />th column.</returns>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="GetGuid">
-      <MemberSignature Language="C#" Value="public override Guid GetGuid (int i);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Guid</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="i" Type="System.Int32" />
-      </Parameters>
-      <Docs>
-        <param name="i">The column index (zero-based).</param>
-        <summary>Get the value in a column converted to a GUID.</summary>
-        <returns>The GUID value in the <paramref name="i" />th column.</returns>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="GetInt16">
-      <MemberSignature Language="C#" Value="public override short GetInt16 (int i);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Int16</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="i" Type="System.Int32" />
-      </Parameters>
-      <Docs>
-        <param name="i">The column index (zero-based).</param>
-        <summary>Get the value in a column converted to a short.</summary>
-        <returns>The short value in the <paramref name="i" />th column.</returns>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="GetInt32">
-      <MemberSignature Language="C#" Value="public override int GetInt32 (int i);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Int32</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="i" Type="System.Int32" />
-      </Parameters>
-      <Docs>
-        <param name="i">The column index (zero-based).</param>
-        <summary>Get the value in a column converted to an int.</summary>
-        <returns>The int value in the <paramref name="i" />th column.</returns>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="GetInt64">
-      <MemberSignature Language="C#" Value="public override long GetInt64 (int i);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Int64</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="i" Type="System.Int32" />
-      </Parameters>
-      <Docs>
-        <param name="i">The column index (zero-based).</param>
-        <summary>Get the value in a column converted to a long.</summary>
-        <returns>The long value in the <paramref name="i" />th column.</returns>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="GetName">
-      <MemberSignature Language="C#" Value="public override string GetName (int i);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.String</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="i" Type="System.Int32" />
-      </Parameters>
-      <Docs>
-        <param name="i">The column index (zero-based).</param>
-        <summary>Gets the name of a column.</summary>
-        <returns>The name of the column, as given in the SQL query or the source table.</returns>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="GetOrdinal">
-      <MemberSignature Language="C#" Value="public override int GetOrdinal (string name);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Int32</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="name" Type="System.String" />
-      </Parameters>
-      <Docs>
-        <param name="name">The name of a column.</param>
-        <summary>Gets the index of a column by name.</summary>
-        <returns>The index of the column.</returns>
-        <remarks>This method throws an ArgumentException if the name is not the name of a column.  The name is treated case-insensitively.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="GetSchemaTable">
-      <MemberSignature Language="C#" Value="public override System.Data.DataTable GetSchemaTable ();" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Data.DataTable</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="GetString">
-      <MemberSignature Language="C#" Value="public override string GetString (int i);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.String</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="i" Type="System.Int32" />
-      </Parameters>
-      <Docs>
-        <param name="i">The column index (zero-based).</param>
-        <summary>Gets the value in a column converted to a string.</summary>
-        <returns>The value in the <paramref name="i" />th column converted to a string.</returns>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="GetValue">
-      <MemberSignature Language="C#" Value="public override object GetValue (int i);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Object</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="i" Type="System.Int32" />
-      </Parameters>
-      <Docs>
-        <param name="i">The column index (zero-based).</param>
-        <summary>Gets the value in the table by column index.</summary>
-        <returns>The value in the table at the given column and in the row the DataReader is currently positioned on.</returns>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="GetValues">
-      <MemberSignature Language="C#" Value="public override int GetValues (object[] values);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Int32</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="values" Type="System.Object[]" />
-      </Parameters>
-      <Docs>
-        <param name="values">An array, usually the size of <see cref="P:Mono.Data.SqliteClient.SqliteDataReader.FieldCount" />.</param>
-        <summary>Fills an array with values in the current row of the table.</summary>
-        <returns>The number of values put into <paramref name="values" />, which is the minimum of the array's length and FieldCount.</returns>
-        <remarks>
-          <para>
-            <paramref name="values" /> is filled with the values in the current row of the table, starting with the first column and going to the last column or until the end of <paramref name="values" />.</para>
-          <para>Unusually, null values in the database are put into <paramref name="values" /> as <see cref="P:System.DBNull.Value" />.</para>
-        </remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="HasRows">
-      <MemberSignature Language="C#" Value="public override bool HasRows { get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Boolean</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="IsClosed">
-      <MemberSignature Language="C#" Value="public override bool IsClosed { get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Boolean</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>Gets whether the DataReader has been closed.</summary>
-        <value>
-          <see langword="true" /> if Close or Dispose has been called on the DataReader.</value>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="IsDBNull">
-      <MemberSignature Language="C#" Value="public override bool IsDBNull (int i);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Boolean</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="i" Type="System.Int32" />
-      </Parameters>
-      <Docs>
-        <param name="i">The column index (zero-based).</param>
-        <summary>Returns whether the value in the given column was null in the database.</summary>
-        <returns>Whether the value of the field in the database was null.</returns>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="Item">
-      <MemberSignature Language="C#" Value="public override object this[int i] { get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Object</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="i" Type="System.Int32" />
-      </Parameters>
-      <Docs>
-        <param name="i">The column to retrieve (zero-based).</param>
-        <summary>Gets the value in the table by column index.</summary>
-        <value>The value in the table at the given column and in the row the DataReader is currently positioned on.</value>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="Item">
-      <MemberSignature Language="C#" Value="public override object this[string name] { get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Object</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="name" Type="System.String" />
-      </Parameters>
-      <Docs>
-        <param name="name">The name of the column, as given in the SQL query.</param>
-        <summary>Gets the value in the table by column name.</summary>
-        <value>The value in the table at the given column and in the row the DataReader is currently positioned on.</value>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="NextResult">
-      <MemberSignature Language="C#" Value="public override bool NextResult ();" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Boolean</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>This method should not currently be used.</summary>
-        <returns>N/A.</returns>
-        <remarks>This method currently has the same behavior of Read(), but its behavior will be changed in a future release to match the behavior of other data adapters.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="Read">
-      <MemberSignature Language="C#" Value="public override bool Read ();" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Boolean</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>Positions the reader on the next row in the table.</summary>
-        <returns>
-          <see langword="true" /> if the move to the next row was successful, i.e. if another row existed in the table; <see langword="false" /> otherwise.</returns>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="RecordsAffected">
-      <MemberSignature Language="C#" Value="public override int RecordsAffected { get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Int32</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>Gets the number of rows in the source table modified by the query.</summary>
-        <value>The number of rows in the source table modified by the query.</value>
-        <remarks>None.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="VisibleFieldCount">
-      <MemberSignature Language="C#" Value="public override int VisibleFieldCount { get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Int32</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-  </Members>
-</Type>
diff --git a/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteDataSourceEnumerator.xml b/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteDataSourceEnumerator.xml
deleted file mode 100644 (file)
index 8bd326a..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<Type Name="SqliteDataSourceEnumerator" FullName="Mono.Data.SqliteClient.SqliteDataSourceEnumerator">
-  <TypeSignature Language="C#" Value="public sealed class SqliteDataSourceEnumerator : System.Data.Common.DbDataSourceEnumerator" />
-  <AssemblyInfo>
-    <AssemblyName>Mono.Data.SqliteClient</AssemblyName>
-    <AssemblyVersion>2.0.0.0</AssemblyVersion>
-  </AssemblyInfo>
-  <Base>
-    <BaseTypeName>System.Data.Common.DbDataSourceEnumerator</BaseTypeName>
-  </Base>
-  <Interfaces />
-  <Docs>
-    <summary>To be added.</summary>
-    <remarks>To be added.</remarks>
-  </Docs>
-  <Members>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteDataSourceEnumerator ();" />
-      <MemberType>Constructor</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="GetDataSources">
-      <MemberSignature Language="C#" Value="public override System.Data.DataTable GetDataSources ();" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Data.DataTable</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-  </Members>
-</Type>
diff --git a/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteExecutionException.xml b/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteExecutionException.xml
deleted file mode 100644 (file)
index 20479df..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<Type Name="SqliteExecutionException" FullName="Mono.Data.SqliteClient.SqliteExecutionException">
-  <TypeSignature Language="C#" Value="public class SqliteExecutionException : ApplicationException" />
-  <AssemblyInfo>
-    <AssemblyName>Mono.Data.SqliteClient</AssemblyName>
-    <AssemblyVersion>2.0.0.0</AssemblyVersion>
-  </AssemblyInfo>
-  <Base>
-    <BaseTypeName>System.ApplicationException</BaseTypeName>
-  </Base>
-  <Interfaces />
-  <Docs>
-    <summary>To be added.</summary>
-    <remarks>To be added.</remarks>
-  </Docs>
-  <Members>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteExecutionException ();" />
-      <MemberType>Constructor</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteExecutionException (string message);" />
-      <MemberType>Constructor</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <Parameters>
-        <Parameter Name="message" Type="System.String" />
-      </Parameters>
-      <Docs>
-        <param name="message">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteExecutionException (string message, Exception cause);" />
-      <MemberType>Constructor</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <Parameters>
-        <Parameter Name="message" Type="System.String" />
-        <Parameter Name="cause" Type="System.Exception" />
-      </Parameters>
-      <Docs>
-        <param name="message">To be added.</param>
-        <param name="cause">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-  </Members>
-</Type>
diff --git a/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteParameter.xml b/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteParameter.xml
deleted file mode 100644 (file)
index 6564fe5..0000000
+++ /dev/null
@@ -1,285 +0,0 @@
-<Type Name="SqliteParameter" FullName="Mono.Data.SqliteClient.SqliteParameter">
-  <TypeSignature Language="C#" Value="public class SqliteParameter : System.Data.Common.DbParameter" />
-  <AssemblyInfo>
-    <AssemblyName>Mono.Data.SqliteClient</AssemblyName>
-    <AssemblyVersion>1.0.5000.0</AssemblyVersion>
-    <AssemblyVersion>2.0.0.0</AssemblyVersion>
-  </AssemblyInfo>
-  <Base>
-    <BaseTypeName>System.Data.Common.DbParameter</BaseTypeName>
-  </Base>
-  <Interfaces>
-  </Interfaces>
-  <Docs>
-    <summary>To be added.</summary>
-    <remarks>To be added.</remarks>
-  </Docs>
-  <Members>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteParameter ();" />
-      <MemberType>Constructor</MemberType>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteParameter (string name, System.Data.DbType type);" />
-      <MemberType>Constructor</MemberType>
-      <Parameters>
-        <Parameter Name="name" Type="System.String" />
-        <Parameter Name="type" Type="System.Data.DbType" />
-      </Parameters>
-      <Docs>
-        <param name="name">To be added.</param>
-        <param name="type">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteParameter (string name, object value);" />
-      <MemberType>Constructor</MemberType>
-      <Parameters>
-        <Parameter Name="name" Type="System.String" />
-        <Parameter Name="value" Type="System.Object" />
-      </Parameters>
-      <Docs>
-        <param name="name">To be added.</param>
-        <param name="value">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteParameter (string name, System.Data.DbType type, int size);" />
-      <MemberType>Constructor</MemberType>
-      <Parameters>
-        <Parameter Name="name" Type="System.String" />
-        <Parameter Name="type" Type="System.Data.DbType" />
-        <Parameter Name="size" Type="System.Int32" />
-      </Parameters>
-      <Docs>
-        <param name="name">To be added.</param>
-        <param name="type">To be added.</param>
-        <param name="size">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteParameter (string name, System.Data.DbType type, int size, string src_column);" />
-      <MemberType>Constructor</MemberType>
-      <Parameters>
-        <Parameter Name="name" Type="System.String" />
-        <Parameter Name="type" Type="System.Data.DbType" />
-        <Parameter Name="size" Type="System.Int32" />
-        <Parameter Name="src_column" Type="System.String" />
-      </Parameters>
-      <Docs>
-        <param name="name">To be added.</param>
-        <param name="type">To be added.</param>
-        <param name="size">To be added.</param>
-        <param name="src_column">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="DbType">
-      <MemberSignature Language="C#" Value="public override System.Data.DbType DbType { set; get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Data.DbType</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="Direction">
-      <MemberSignature Language="C#" Value="public override System.Data.ParameterDirection Direction { set; get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Data.ParameterDirection</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="IsNullable">
-      <MemberSignature Language="C#" Value="public override bool IsNullable { set; get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Boolean</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="ParameterName">
-      <MemberSignature Language="C#" Value="public override string ParameterName { set; get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.String</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="Precision">
-      <MemberSignature Language="C#" Value="public byte Precision { set; get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Byte</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="ResetDbType">
-      <MemberSignature Language="C#" Value="public override void ResetDbType ();" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Void</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="Scale">
-      <MemberSignature Language="C#" Value="public byte Scale { set; get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Byte</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="Size">
-      <MemberSignature Language="C#" Value="public override int Size { set; get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Int32</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="SourceColumn">
-      <MemberSignature Language="C#" Value="public override string SourceColumn { set; get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.String</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="SourceColumnNullMapping">
-      <MemberSignature Language="C#" Value="public override bool SourceColumnNullMapping { set; get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Boolean</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="SourceVersion">
-      <MemberSignature Language="C#" Value="public override System.Data.DataRowVersion SourceVersion { set; get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Data.DataRowVersion</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="Value">
-      <MemberSignature Language="C#" Value="public override object Value { set; get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Object</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-  </Members>
-</Type>
diff --git a/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteParameterCollection.xml b/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteParameterCollection.xml
deleted file mode 100644 (file)
index 5685ab8..0000000
+++ /dev/null
@@ -1,577 +0,0 @@
-<Type Name="SqliteParameterCollection" FullName="Mono.Data.SqliteClient.SqliteParameterCollection">
-  <TypeSignature Language="C#" Value="public class SqliteParameterCollection : System.Data.Common.DbParameterCollection" />
-  <AssemblyInfo>
-    <AssemblyName>Mono.Data.SqliteClient</AssemblyName>
-    <AssemblyVersion>1.0.5000.0</AssemblyVersion>
-    <AssemblyVersion>2.0.0.0</AssemblyVersion>
-  </AssemblyInfo>
-  <Base>
-    <BaseTypeName>System.Data.Common.DbParameterCollection</BaseTypeName>
-  </Base>
-  <Interfaces>
-  </Interfaces>
-  <Docs>
-    <summary>To be added.</summary>
-    <remarks>To be added.</remarks>
-  </Docs>
-  <Members>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteParameterCollection ();" />
-      <MemberType>Constructor</MemberType>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="Add">
-      <MemberSignature Language="C#" Value="public Mono.Data.SqliteClient.SqliteParameter Add (Mono.Data.SqliteClient.SqliteParameter param);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>Mono.Data.SqliteClient.SqliteParameter</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="param" Type="Mono.Data.SqliteClient.SqliteParameter" />
-      </Parameters>
-      <Docs>
-        <param name="param">To be added.</param>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="Add">
-      <MemberSignature Language="C#" Value="public override int Add (object value);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Int32</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="value" Type="System.Object" />
-      </Parameters>
-      <Docs>
-        <param name="value">To be added.</param>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="Add">
-      <MemberSignature Language="C#" Value="public Mono.Data.SqliteClient.SqliteParameter Add (string name, System.Data.DbType type);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>Mono.Data.SqliteClient.SqliteParameter</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="name" Type="System.String" />
-        <Parameter Name="type" Type="System.Data.DbType" />
-      </Parameters>
-      <Docs>
-        <param name="name">To be added.</param>
-        <param name="type">To be added.</param>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="Add">
-      <MemberSignature Language="C#" Value="public Mono.Data.SqliteClient.SqliteParameter Add (string name, object value);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>Mono.Data.SqliteClient.SqliteParameter</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="name" Type="System.String" />
-        <Parameter Name="value" Type="System.Object" />
-      </Parameters>
-      <Docs>
-        <param name="name">To be added.</param>
-        <param name="value">To be added.</param>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="AddRange">
-      <MemberSignature Language="C#" Value="public override void AddRange (Array values);" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Void</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="values" Type="System.Array" />
-      </Parameters>
-      <Docs>
-        <param name="values">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="Clear">
-      <MemberSignature Language="C#" Value="public override void Clear ();" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Void</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="Contains">
-      <MemberSignature Language="C#" Value="public bool Contains (Mono.Data.SqliteClient.SqliteParameter param);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Boolean</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="param" Type="Mono.Data.SqliteClient.SqliteParameter" />
-      </Parameters>
-      <Docs>
-        <param name="param">To be added.</param>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="Contains">
-      <MemberSignature Language="C#" Value="public override bool Contains (object value);" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Boolean</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="value" Type="System.Object" />
-      </Parameters>
-      <Docs>
-        <param name="value">To be added.</param>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="Contains">
-      <MemberSignature Language="C#" Value="public override bool Contains (string parameterName);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Boolean</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="parameterName" Type="System.String" />
-      </Parameters>
-      <Docs>
-        <param name="parameterName">To be added.</param>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="CopyTo">
-      <MemberSignature Language="C#" Value="public override void CopyTo (Array array, int index);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Void</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="array" Type="System.Array" />
-        <Parameter Name="index" Type="System.Int32" />
-      </Parameters>
-      <Docs>
-        <param name="array">To be added.</param>
-        <param name="index">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="Count">
-      <MemberSignature Language="C#" Value="public override int Count { get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Int32</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="GetEnumerator">
-      <MemberSignature Language="C#" Value="public override System.Collections.IEnumerator GetEnumerator ();" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Collections.IEnumerator</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="GetParameter">
-      <MemberSignature Language="C#" Value="protected override System.Data.Common.DbParameter GetParameter (int parameterIndex);" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbParameter</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="parameterIndex" Type="System.Int32" />
-      </Parameters>
-      <Docs>
-        <param name="parameterIndex">To be added.</param>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="GetParameter">
-      <MemberSignature Language="C#" Value="protected override System.Data.Common.DbParameter GetParameter (string parameterName);" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbParameter</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="parameterName" Type="System.String" />
-      </Parameters>
-      <Docs>
-        <param name="parameterName">To be added.</param>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="IndexOf">
-      <MemberSignature Language="C#" Value="public int IndexOf (Mono.Data.SqliteClient.SqliteParameter param);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Int32</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="param" Type="Mono.Data.SqliteClient.SqliteParameter" />
-      </Parameters>
-      <Docs>
-        <param name="param">To be added.</param>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="IndexOf">
-      <MemberSignature Language="C#" Value="public override int IndexOf (object param);" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Int32</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="param" Type="System.Object" />
-      </Parameters>
-      <Docs>
-        <param name="param">To be added.</param>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="IndexOf">
-      <MemberSignature Language="C#" Value="public override int IndexOf (string parameterName);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Int32</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="parameterName" Type="System.String" />
-      </Parameters>
-      <Docs>
-        <param name="parameterName">To be added.</param>
-        <summary>To be added.</summary>
-        <returns>To be added.</returns>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="Insert">
-      <MemberSignature Language="C#" Value="public override void Insert (int index, object value);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Void</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="index" Type="System.Int32" />
-        <Parameter Name="value" Type="System.Object" />
-      </Parameters>
-      <Docs>
-        <param name="index">To be added.</param>
-        <param name="value">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="IsFixedSize">
-      <MemberSignature Language="C#" Value="public override bool IsFixedSize { get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Boolean</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="IsReadOnly">
-      <MemberSignature Language="C#" Value="public override bool IsReadOnly { get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Boolean</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="IsSynchronized">
-      <MemberSignature Language="C#" Value="public override bool IsSynchronized { get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Boolean</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="Item">
-      <MemberSignature Language="C#" Value="public System.Data.Common.DbParameter this[int index] { set; get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbParameter</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="index" Type="System.Int32" />
-      </Parameters>
-      <Docs>
-        <param name="index">To be added.</param>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="Item">
-      <MemberSignature Language="C#" Value="public System.Data.Common.DbParameter this[string parameterName] { set; get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbParameter</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="parameterName" Type="System.String" />
-      </Parameters>
-      <Docs>
-        <param name="parameterName">To be added.</param>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="Remove">
-      <MemberSignature Language="C#" Value="public override void Remove (object value);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Void</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="value" Type="System.Object" />
-      </Parameters>
-      <Docs>
-        <param name="value">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="RemoveAt">
-      <MemberSignature Language="C#" Value="public void RemoveAt (Mono.Data.SqliteClient.SqliteParameter param);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Void</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="param" Type="Mono.Data.SqliteClient.SqliteParameter" />
-      </Parameters>
-      <Docs>
-        <param name="param">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="RemoveAt">
-      <MemberSignature Language="C#" Value="public override void RemoveAt (int index);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Void</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="index" Type="System.Int32" />
-      </Parameters>
-      <Docs>
-        <param name="index">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="RemoveAt">
-      <MemberSignature Language="C#" Value="public override void RemoveAt (string parameterName);" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Void</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="parameterName" Type="System.String" />
-      </Parameters>
-      <Docs>
-        <param name="parameterName">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="SetParameter">
-      <MemberSignature Language="C#" Value="protected override void SetParameter (int parameterIndex, System.Data.Common.DbParameter parameter);" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Void</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="parameterIndex" Type="System.Int32" />
-        <Parameter Name="parameter" Type="System.Data.Common.DbParameter" />
-      </Parameters>
-      <Docs>
-        <param name="parameterIndex">To be added.</param>
-        <param name="parameter">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="SetParameter">
-      <MemberSignature Language="C#" Value="protected override void SetParameter (string parameterName, System.Data.Common.DbParameter parameter);" />
-      <MemberType>Method</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Void</ReturnType>
-      </ReturnValue>
-      <Parameters>
-        <Parameter Name="parameterName" Type="System.String" />
-        <Parameter Name="parameter" Type="System.Data.Common.DbParameter" />
-      </Parameters>
-      <Docs>
-        <param name="parameterName">To be added.</param>
-        <param name="parameter">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="SyncRoot">
-      <MemberSignature Language="C#" Value="public override object SyncRoot { get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Object</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-  </Members>
-</Type>
diff --git a/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteRowUpdatedEventArgs.xml b/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteRowUpdatedEventArgs.xml
deleted file mode 100644 (file)
index 62f616f..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<Type Name="SqliteRowUpdatedEventArgs" FullName="Mono.Data.SqliteClient.SqliteRowUpdatedEventArgs">
-  <TypeSignature Language="C#" Value="public sealed class SqliteRowUpdatedEventArgs : System.Data.Common.RowUpdatedEventArgs" />
-  <AssemblyInfo>
-    <AssemblyName>Mono.Data.SqliteClient</AssemblyName>
-    <AssemblyVersion>1.0.5000.0</AssemblyVersion>
-    <AssemblyVersion>2.0.0.0</AssemblyVersion>
-  </AssemblyInfo>
-  <Base>
-    <BaseTypeName>System.Data.Common.RowUpdatedEventArgs</BaseTypeName>
-  </Base>
-  <Interfaces />
-  <Docs>
-    <summary>To be added.</summary>
-    <remarks>To be added.</remarks>
-  </Docs>
-  <Members>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteRowUpdatedEventArgs (System.Data.DataRow row, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping);" />
-      <MemberType>Constructor</MemberType>
-      <Parameters>
-        <Parameter Name="row" Type="System.Data.DataRow" />
-        <Parameter Name="command" Type="System.Data.IDbCommand" />
-        <Parameter Name="statementType" Type="System.Data.StatementType" />
-        <Parameter Name="tableMapping" Type="System.Data.Common.DataTableMapping" />
-      </Parameters>
-      <Docs>
-        <param name="row">To be added.</param>
-        <param name="command">To be added.</param>
-        <param name="statementType">To be added.</param>
-        <param name="tableMapping">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-  </Members>
-</Type>
diff --git a/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteRowUpdatedEventHandler.xml b/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteRowUpdatedEventHandler.xml
deleted file mode 100644 (file)
index cb732d7..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<Type Name="SqliteRowUpdatedEventHandler" FullName="Mono.Data.SqliteClient.SqliteRowUpdatedEventHandler">
-  <TypeSignature Language="C#" Value="public delegate void SqliteRowUpdatedEventHandler(object sender, RowUpdatedEventArgs e);" />
-  <AssemblyInfo>
-    <AssemblyName>Mono.Data.SqliteClient</AssemblyName>
-    <AssemblyVersion>1.0.5000.0</AssemblyVersion>
-    <AssemblyVersion>2.0.0.0</AssemblyVersion>
-  </AssemblyInfo>
-  <Base>
-    <BaseTypeName>System.Delegate</BaseTypeName>
-  </Base>
-  <Parameters>
-    <Parameter Name="sender" Type="System.Object" />
-    <Parameter Name="e" Type="System.Data.Common.RowUpdatedEventArgs" />
-  </Parameters>
-  <ReturnValue>
-    <ReturnType>System.Void</ReturnType>
-  </ReturnValue>
-  <Docs>
-    <param name="sender">To be added.</param>
-    <param name="e">To be added.</param>
-    <summary>To be added.</summary>
-    <remarks>To be added.</remarks>
-  </Docs>
-</Type>
diff --git a/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteRowUpdatingEventArgs.xml b/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteRowUpdatingEventArgs.xml
deleted file mode 100644 (file)
index c73e1ff..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<Type Name="SqliteRowUpdatingEventArgs" FullName="Mono.Data.SqliteClient.SqliteRowUpdatingEventArgs">
-  <TypeSignature Language="C#" Value="public sealed class SqliteRowUpdatingEventArgs : System.Data.Common.RowUpdatingEventArgs" />
-  <AssemblyInfo>
-    <AssemblyName>Mono.Data.SqliteClient</AssemblyName>
-    <AssemblyVersion>1.0.5000.0</AssemblyVersion>
-    <AssemblyVersion>2.0.0.0</AssemblyVersion>
-  </AssemblyInfo>
-  <Base>
-    <BaseTypeName>System.Data.Common.RowUpdatingEventArgs</BaseTypeName>
-  </Base>
-  <Interfaces />
-  <Docs>
-    <summary>To be added.</summary>
-    <remarks>To be added.</remarks>
-  </Docs>
-  <Members>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteRowUpdatingEventArgs (System.Data.DataRow row, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping);" />
-      <MemberType>Constructor</MemberType>
-      <Parameters>
-        <Parameter Name="row" Type="System.Data.DataRow" />
-        <Parameter Name="command" Type="System.Data.IDbCommand" />
-        <Parameter Name="statementType" Type="System.Data.StatementType" />
-        <Parameter Name="tableMapping" Type="System.Data.Common.DataTableMapping" />
-      </Parameters>
-      <Docs>
-        <param name="row">To be added.</param>
-        <param name="command">To be added.</param>
-        <param name="statementType">To be added.</param>
-        <param name="tableMapping">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-  </Members>
-</Type>
diff --git a/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteRowUpdatingEventHandler.xml b/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteRowUpdatingEventHandler.xml
deleted file mode 100644 (file)
index 5cc17b5..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<Type Name="SqliteRowUpdatingEventHandler" FullName="Mono.Data.SqliteClient.SqliteRowUpdatingEventHandler">
-  <TypeSignature Language="C#" Value="public delegate void SqliteRowUpdatingEventHandler(object sender, RowUpdatingEventArgs e);" />
-  <AssemblyInfo>
-    <AssemblyName>Mono.Data.SqliteClient</AssemblyName>
-    <AssemblyVersion>1.0.5000.0</AssemblyVersion>
-    <AssemblyVersion>2.0.0.0</AssemblyVersion>
-  </AssemblyInfo>
-  <Base>
-    <BaseTypeName>System.Delegate</BaseTypeName>
-  </Base>
-  <Parameters>
-    <Parameter Name="sender" Type="System.Object" />
-    <Parameter Name="e" Type="System.Data.Common.RowUpdatingEventArgs" />
-  </Parameters>
-  <ReturnValue>
-    <ReturnType>System.Void</ReturnType>
-  </ReturnValue>
-  <Docs>
-    <param name="sender">To be added.</param>
-    <param name="e">To be added.</param>
-    <summary>To be added.</summary>
-    <remarks>To be added.</remarks>
-  </Docs>
-</Type>
diff --git a/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteSyntaxException.xml b/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteSyntaxException.xml
deleted file mode 100644 (file)
index bcea75d..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<Type Name="SqliteSyntaxException" FullName="Mono.Data.SqliteClient.SqliteSyntaxException">
-  <TypeSignature Language="C#" Value="public class SqliteSyntaxException : ApplicationException" />
-  <AssemblyInfo>
-    <AssemblyName>Mono.Data.SqliteClient</AssemblyName>
-    <AssemblyVersion>2.0.0.0</AssemblyVersion>
-  </AssemblyInfo>
-  <Base>
-    <BaseTypeName>System.ApplicationException</BaseTypeName>
-  </Base>
-  <Interfaces />
-  <Docs>
-    <summary>To be added.</summary>
-    <remarks>To be added.</remarks>
-  </Docs>
-  <Members>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteSyntaxException ();" />
-      <MemberType>Constructor</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteSyntaxException (string message);" />
-      <MemberType>Constructor</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <Parameters>
-        <Parameter Name="message" Type="System.String" />
-      </Parameters>
-      <Docs>
-        <param name="message">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName=".ctor">
-      <MemberSignature Language="C#" Value="public SqliteSyntaxException (string message, Exception cause);" />
-      <MemberType>Constructor</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <Parameters>
-        <Parameter Name="message" Type="System.String" />
-        <Parameter Name="cause" Type="System.Exception" />
-      </Parameters>
-      <Docs>
-        <param name="message">To be added.</param>
-        <param name="cause">To be added.</param>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-  </Members>
-</Type>
diff --git a/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteTransaction.xml b/mcs/class/Mono.Data.SqliteClient/Documentation/en/Mono.Data.SqliteClient/SqliteTransaction.xml
deleted file mode 100644 (file)
index 313b3c6..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-<Type Name="SqliteTransaction" FullName="Mono.Data.SqliteClient.SqliteTransaction">
-  <TypeSignature Language="C#" Value="public sealed class SqliteTransaction : System.Data.Common.DbTransaction" />
-  <AssemblyInfo>
-    <AssemblyName>Mono.Data.SqliteClient</AssemblyName>
-    <AssemblyVersion>1.0.5000.0</AssemblyVersion>
-    <AssemblyVersion>2.0.0.0</AssemblyVersion>
-  </AssemblyInfo>
-  <Base>
-    <BaseTypeName>System.Data.Common.DbTransaction</BaseTypeName>
-  </Base>
-  <Interfaces>
-  </Interfaces>
-  <Docs>
-    <summary>To be added.</summary>
-    <remarks>To be added.</remarks>
-  </Docs>
-  <Members>
-    <Member MemberName="Commit">
-      <MemberSignature Language="C#" Value="public override void Commit ();" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Void</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="Connection">
-      <MemberSignature Language="C#" Value="public System.Data.Common.DbConnection Connection { get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbConnection</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="DbConnection">
-      <MemberSignature Language="C#" Value="protected override System.Data.Common.DbConnection DbConnection { get; }" />
-      <MemberType>Property</MemberType>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-      <ReturnValue>
-        <ReturnType>System.Data.Common.DbConnection</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-    </Member>
-    <Member MemberName="IsolationLevel">
-      <MemberSignature Language="C#" Value="public override System.Data.IsolationLevel IsolationLevel { get; }" />
-      <MemberType>Property</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Data.IsolationLevel</ReturnType>
-      </ReturnValue>
-      <Docs>
-        <summary>To be added.</summary>
-        <value>To be added.</value>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-    <Member MemberName="Rollback">
-      <MemberSignature Language="C#" Value="public override void Rollback ();" />
-      <MemberType>Method</MemberType>
-      <ReturnValue>
-        <ReturnType>System.Void</ReturnType>
-      </ReturnValue>
-      <Parameters />
-      <Docs>
-        <summary>To be added.</summary>
-        <remarks>To be added.</remarks>
-      </Docs>
-      <AssemblyInfo>
-        <AssemblyVersion>2.0.0.0</AssemblyVersion>
-      </AssemblyInfo>
-    </Member>
-  </Members>
-</Type>
diff --git a/mcs/class/Mono.Data.SqliteClient/Documentation/en/index.xml b/mcs/class/Mono.Data.SqliteClient/Documentation/en/index.xml
deleted file mode 100644 (file)
index 6e14654..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<Overview>
-  <Assemblies>
-    <Assembly Name="Mono.Data.SqliteClient" Version="2.0.0.0">
-      <Attributes>
-        <Attribute>
-          <AttributeName>System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true)</AttributeName>
-        </Attribute>
-      </Attributes>
-    </Assembly>
-  </Assemblies>
-  <Remarks>To be added.</Remarks>
-  <Copyright>To be added.</Copyright>
-  <Types>
-    <Namespace Name="Mono.Data.SqliteClient">
-      <Type Name="SqliteBusyException" Kind="Class" />
-      <Type Name="SqliteClientFactory" Kind="Class" />
-      <Type Name="SqliteCommand" Kind="Class" />
-      <Type Name="SqliteCommandBuilder" Kind="Class" />
-      <Type Name="SqliteConnection" Kind="Class" />
-      <Type Name="SqliteConnectionStringBuilder" Kind="Class" />
-      <Type Name="SqliteDataAdapter" Kind="Class" />
-      <Type Name="SqliteDataReader" Kind="Class" />
-      <Type Name="SqliteDataSourceEnumerator" Kind="Class" />
-      <Type Name="SqliteExecutionException" Kind="Class" />
-      <Type Name="SqliteParameter" Kind="Class" />
-      <Type Name="SqliteParameterCollection" Kind="Class" />
-      <Type Name="SqliteRowUpdatedEventArgs" Kind="Class" />
-      <Type Name="SqliteRowUpdatedEventHandler" Kind="Delegate" />
-      <Type Name="SqliteRowUpdatingEventArgs" Kind="Class" />
-      <Type Name="SqliteRowUpdatingEventHandler" Kind="Delegate" />
-      <Type Name="SqliteSyntaxException" Kind="Class" />
-      <Type Name="SqliteTransaction" Kind="Class" />
-    </Namespace>
-  </Types>
-  <Title>Mono.Data.SqliteClient</Title>
-</Overview>
diff --git a/mcs/class/Mono.Data.SqliteClient/Documentation/en/ns-Mono.Data.SqliteClient.xml b/mcs/class/Mono.Data.SqliteClient/Documentation/en/ns-Mono.Data.SqliteClient.xml
deleted file mode 100644 (file)
index e1be22b..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-<Namespace Name="Mono.Data.SqliteClient">
-  <Docs>
-    <summary>The Mono.Data.SqliteClient provides a data adapter for the Sqlite (www.sqlite.org) database, versions 2 and 3.</summary>
-    <remarks><para>This assemby provides a wrapper around the native Sqlite library from www.sqlite.org.  The Sqlite library must be separately installed to access Sqlite databases.</para>
-
-<para>
-SQLite has a notable oddity: table cell data does not retain what kind of data it was. Everything is stored as either a long, double, string, or blob. And in SQLite version 2, everything is stored as a string. So you need to be careful about avoiding casting values returned by SQLite without checking the type of the value returned.</para>
-
-<para>See <see cref="P:Mono.Data.SqliteClient.SqliteConnection.ConnectionString" /> for information on the connection string format for this data provider.</para>
-
-
-<example>
-  <code lang="C#">using System;
- using System.Data;
- using Mono.Data.SqliteClient;
- public class Test
- {
-    public static void Main(string[] args)
-    {
-       string connectionString = "URI=file:SqliteTest.db";
-       IDbConnection dbcon;
-       dbcon = (IDbConnection) new SqliteConnection(connectionString);
-       dbcon.Open();
-       IDbCommand dbcmd = dbcon.CreateCommand();
-       // requires a table to be created named employee
-       // with columns firstname and lastname
-       // such as,
-       //        CREATE TABLE employee (
-       //           firstname varchar(32),
-       //           lastname varchar(32));
-       string sql =
-          "SELECT firstname, lastname " +
-          "FROM employee";
-       dbcmd.CommandText = sql;
-       IDataReader reader = dbcmd.ExecuteReader();
-       while(reader.Read()) {
-            string FirstName = reader.GetString (0);
-            string LastName = reader.GetString (1);
-            Console.WriteLine("Name: " +
-                FirstName + " " + LastName);
-       }
-       // clean up
-       reader.Close();
-       reader = null;
-       dbcmd.Dispose();
-       dbcmd = null;
-       dbcon.Close();
-       dbcon = null;
-    }
- }</code>
-</example>
-
-<para>To build and run the example:</para>
-<list type="bullet">
-  <item>
-    <term>Save the example to a file, such as, TestExample.cs</term>
-  </item>
-  <item>
-    <term>Build using Mono C# compiler: <code>mcs TestExample.cs -r:System.Data.dll -r:Mono.Data.SqliteClient.dll</code></term>
-  </item>
-  <item>
-    <term>To run the example: <code>mono TestExample.exe</code></term>
-  </item>
-</list>
-
-
-
-</remarks>
-  </Docs>
-</Namespace>
diff --git a/mcs/class/Mono.Data.SqliteClient/Makefile b/mcs/class/Mono.Data.SqliteClient/Makefile
deleted file mode 100644 (file)
index e5745d8..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-thisdir = class/Mono.Data.SqliteClient
-SUBDIRS =
-include ../../build/rules.make
-
-LIBRARY = Mono.Data.SqliteClient.dll
-LIB_MCS_FLAGS = /unsafe /r:System.dll /r:System.Data.dll
-
-TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) /nowarn:618
-
-EXTRA_DISTFILES = Test/SqliteTest.cs \
-       Test/test.sql
-
-run-test-local: test.db 
-
-test.db: Test/test.sql
-       rm -f $@
-       sqlite3 $@ < $< || :
-
-include ../../build/library.make
diff --git a/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient.dll.sources b/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient.dll.sources
deleted file mode 100644 (file)
index 3374b7f..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-Assembly/AssemblyInfo.cs
-../../build/common/Consts.cs
-../../build/common/Locale.cs
-../../build/common/MonoTODOAttribute.cs
-Mono.Data.SqliteClient/SqliteClientFactory.cs
-Mono.Data.SqliteClient/SqliteCommandBuilder.cs
-Mono.Data.SqliteClient/SqliteCommand.cs
-Mono.Data.SqliteClient/SqliteConnection.cs
-Mono.Data.SqliteClient/SqliteConnectionStringBuilder.cs
-Mono.Data.SqliteClient/Sqlite.cs
-Mono.Data.SqliteClient/SqliteDataAdapter.cs
-Mono.Data.SqliteClient/SqliteDataReader.cs
-Mono.Data.SqliteClient/SqliteDataSourceEnumerator.cs
-Mono.Data.SqliteClient/SqliteExceptions.cs
-Mono.Data.SqliteClient/SqliteParameterCollection.cs
-Mono.Data.SqliteClient/SqliteParameter.cs
-Mono.Data.SqliteClient/SqliteRowUpdatedEventArgs.cs
-Mono.Data.SqliteClient/SqliteRowUpdatedEventHandler.cs
-Mono.Data.SqliteClient/SqliteRowUpdatingEventArgs.cs
-Mono.Data.SqliteClient/SqliteRowUpdatingEventHandler.cs
-Mono.Data.SqliteClient/SqliteTransaction.cs
diff --git a/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/ChangeLog b/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/ChangeLog
deleted file mode 100644 (file)
index 1159904..0000000
+++ /dev/null
@@ -1,257 +0,0 @@
-2009-05-01 Gonzalo Paniagua Javier <gonzalo@novell.com>
-
-       * SqliteConnection.cs: implement Dispose for 2.0. It was leaking an fd
-       in using().
-       Bug #499864 fixed.
-
-2008-07-06  Sebastien Pouliot  <sebastien@ximian.com> 
-
-       * SqliteDataSourceEnumerator.cs: Replace a few Type.GetType by typeof
-       [Found using Gendarme AvoidTypeGetTypeForConstantStringsRule]
-
-2008-06-20  Veerapuram Varadhan  <vvaradhan@novell.com>
-
-       * SqliteDataReader.cs: Use case-insensitive comparer for the
-       case-insensitive column names hashtable
-       
-2007-01-26  Miguel de Icaza  <miguel@novell.com>
-
-       * SqliteParameterCollection.cs: If the parameter is prefixed,
-       ignore the prefix when we do the lookup.   Replicates the behavior
-       in GetParameter 
-
-       The code paths changed recently with the 2.0-ification of
-       Mono.Data.SqliteClient 
-
-2007-01-16  Marek Habersack  <grendello@gmail.com>
-
-       * SqliteCommandBuilder.cs: Nothing-to-do implementation of the
-       ApplyParameterInfo method.
-
-       * SqliteDataReader.cs: Implemented the GetChars, GetData, GetGuid
-       methods.
-
-       * SqliteConnection.cs: Support the DataSource in addition to Uri
-       field in the connection string for 2.0.
-       Use non-variant, case insensitive Uri/DataSource value
-       comparisons.
-       Implemented the ChangeDatabase method.
-
-       * SqliteConnectionStringBuilder.cs: Implementation
-
-       * SqliteClientFactory.cs: Added the CreateConnectionStringBuilder
-       method.
-
-2007-01-15  Marek Habersack  <grendello@gmail.com>
-
-       * SqliteCommandBuilder.cs: new file, ADO.NET 2.0 command builder
-       for generic Db* support
-
-       * SqliteTransaction.cs: ADO.NET 2.0 support
-
-       * SqliteParameter.cs: ADO.NET 2.0 support
-       Implement SourceColumnNullMapping.
-       Implement ResetDbType.
-
-       * SqliteCommand.cs: ADO.NET 2.0 support
-       Implement the ICloneable interface.
-       Implement parameterless ExecuteReader.
-       Implement the DesignTimeVisible property.
-
-       * SqliteDataAdapter.cs: ADO.NET 2.0 support
-
-       * SqliteConnection.cs: ADO.NET 2.0 support
-       Implement ServerVersion.
-       Implement the ICloneable interface.
-
-       * SqliteDataReader.cs: ADO.NET 2.0 support
-       Add a few interfaces to the class signature.
-
-       * SqliteParameterCollection.cs: ADO.NET 2.0 support
-       Implement AddRange.
-
-       * SqliteDataSourceEnumerator.cs: ADO.NET 2.0 data support.
-
-       * SqliteClientFactory.cs: new file, ADO.NET 2.0 factory for
-       generic Db* support.
-
-2007-01-07  Miguel de Icaza  <miguel@novell.com>
-
-       * SqliteConnection.cs: Automatically try version 3 if this fails.
-
-2006-09-14  Mart Roosmaa <roosmaa@gmail.com> 
-
-       * SqliteCommand.cs: Handle enums by their underliying type.
-
-2006-09-13  Mart Roosmaa <roosmaa@gmail.com> 
-
-       * SqliteDataReader.cs: Implemented GetBytes ().
-       * SqliteCommand.cs: Automatically convert enums to Int32.
-
-2006-08-20  Joshua Tauberer  <jt@occams.info>
-
-       * SqliteConnection.cs: Changed Version property (which is
-         read-only) from internal to public so users can know
-         which version of Sqlite was actually connected to.
-
-2006-05-25  Joshua Tauberer  <tauberer@for.net>
-
-       * SqliteCommand.cs: Unnamed parameters by index weren't
-         implemented.
-
-2006-05-13  Joshua Tauberer  <tauberer@for.net>
-
-       Reported by Sebastian Dröge <slomo@ubuntu.com>.
-       * Sqlite.cs: The binding for sqlite3_last_insert_rowid had
-         the wrong type for the return (int vs long).
-       * SqliteConnection: LastInsertRowId: I didn't want to break
-         the public API, so it casts the long return from that
-         to an int.
-       * SqliteCommand: LastInsertRowID(): Wrap the above property.
-
-2006-03-14  Kamil Skalski  <nazgul@nemerle.org>
-
-       * SqliteConnection.cs, Sqlite.cs: Add option for specifying busy
-       timeout in underlying sqlite structure. It allows enabling
-       automatic waiting for lock cleanup in multithreaded usage.
-       
-
-2006-03-11  Joshua Tauberer  <tauberer@for.net>
-
-       * Use HGlobal rather than CoTaskMem String-To-Ptr functions in
-         Marshal class.  StringToCoTaskMemAnsi is broken (pending it
-         being fixed): it actually uses Ansi, instead of UTF-8.  Now,
-         Sqlite2 with no encoding parameter uses UTF-8 encoding.  Any
-         Sqlite2 DB since Jan. 20 was encoded in ANSI but unreadable
-         back.
-
-2006-03-07  Kamil Skalski  <nazgul@nemerle.org>
-
-       * SqliteDataReader.cs: Handle null values in result as having
-       string type
-
-2006-02-10  Joshua Tauberer  <tauberer@for.net>
-
-       * SqliteDataReader: Made 64bit clean.  Patch from
-         Joe Shaw <joeshaw@novell.com>.
-
-2006-01-22  Joshua Tauberer  <tauberer@for.net>
-
-       Most of the below fixes (in previous changes too) are thanks
-       to Thomas Zoechling and Tom Surace, and the byte[]->blob
-       parameter binding is thanks to <pablosantosluac@terra.es>.
-       
-       * SqliteCommand.cs:
-         - Don't use a regex for finding parameters in v2.
-         It didn't work when there were no parameters in
-         the query (infinite loop of some sort -- should be filed
-         as a Mono bug I guess).  Just scan for parameters names
-         that aren't within quotes.
-         - That wasn't even being called.  Now it is.
-         - Marshaling for sqlite3_bind_parameter_name was wrong, as
-         was the unicode call to bind_text16 which was looking for
-         byte length of string while we were providing char length.
-         - Bind byte[] parameters as blobs.
-         - Trim the SQL string.  Trailing spaces makes it think
-         another statement is coming along.
-       * SqliteDataReader.cs: When DATE/DATETIME columns come
-         back as Int64s, return them using DateTime.FromFileTime.
-         And don't return Int64s as ints if they aren't in the
-         range of an int.
-         - Check column names case-insensitively (bug 77272).
-       * SqliteParameter.cs: Public parameter names made nicer.
-       * SqliteParameterCollection.cs: Allow users to set parameter
-         names with or without the : prefix that Sqlite wants.
-       * Sqlite.cs: Supporting changes.
-       * SqliteDataReader, SqliteConnection: ToLower with the
-         invariant culture (bug 77372).
-
-2006-01-20  Joshua Tauberer  <tauberer@for.net>
-
-       * Sqlite3 calls now use unicode encoding.  Sqlite2
-         calls use ANSI encoding (a superset of the default
-         expected encoding ISO8859-1), unless the new
-         encoding= connection string argument is used,
-         in which case that encoding is used.  But that encoding
-         must use a single-byte null terminator, so only
-         UTF-8 is recommended.  This removes the dependency
-         on Mono.Posix.  If UTF-8 encoding is used, Sqlite2's
-         LIKE, GLOB, LENGTH, and SUBSTR aren't going to respect
-         multibyte chars unless Sqlite was specifically compiled
-         to do so.
-       * SqliteDataReader.this[] is fixed to wrap GetValue.
-
-2006-01-06  Joshua Tauberer  <tauberer@for.net>
-
-       * SqliteDataReader.cs: GetFieldType can be called
-         before the reader is positioned on a row.  In that
-         case, return the types for the first row.
-
-2006-01-02  Joshua Tauberer  <tauberer@for.net>
-
-       * SqliteCommand.cs: It was revealed that preparing
-         statements ahead of time was not possible as table
-         schema changes lead to errors.  This needed serious
-         reorganization.  SQL syntax errors and BUSY errors
-         are now raised in nice exceptions.
-       * SqliteDataReader.cs:
-               * Use object[] in place of ArrayList for each row.
-               * For Sqlite3, which remembers whether a value was
-                 an integer, text, real, or blob, actually return
-                 longs, strings, doubles, and byte[]s.
-               * GetDataTypeName() works where possible (Sqlite3).
-               * INT/INTEGER columns are now returned as ints,
-                 rather than longs, for Sqlite3.  Similarly for
-                 DATE and DATETIME columns, now returning DateTimes.
-       * SqliteConnection.cs.cs: BeginTransaction(IsolationLevel)
-         throws InvalidOperationException per the MS docs.
-       * SqliteExceptions.cs: New file with SqliteSyntaxException,
-         SqliteExecutionException, and its subclass SqliteBusyException.
-
-2005-12-27  Jonathan Pryor  <jonpryor@vt.edu>
-
-       * SqliteCommand.cs: Use non-obsolete UnixMarshal members.
-
-2005-10-06  Chris Lahey  <clahey@localhost.localdomain>
-
-       * SqliteCommand.cs (Prepare): Use UnixMarshal here to get proper
-       utf8 behavior.
-
-2005-07-28  Joshua Tauberer <tauberer@for.net>
-
-       * Sqlite.cs, SqliteCommand.cs: Report string error messages
-       in prepare, for version 3.
-
-2005-07-26  Joshua Tauberer <tauberer@for.net>
-
-       SQL commands can have multiple statements within them (i.e.
-       separated by semicolons).  Sqlite has to be instructed to
-       process each command.
-       
-       * Sqlite.cs: Pass the sql command as an IntPtr so we can
-         see where pzTail takes us.
-       * SqliteCommand.cs: Lazily load sql_params for good measure.
-         Iterate compile/prepare until each statement in the string
-         has been processed, and retain pointers to each compiled
-         statement.  When executing, run all of the statements.
-
-2005-06-14  Thomas Zoechling <thomas.zoechling@gmx.at>
-
-       * Sqlite.cs:
-       - Added sqlite3_bind_* for native Sqlite3 Parameters
-       * SqliteCommand.cs
-       - Added methods for parameter processing/binding (sqlite3 uses bind / sqlite2 uses regEx to extract parameters)
-       - Sqlite uses ':' as delimeter!
-       * SqliteParameterCollection.cs
-       - Chris Turchin fixed a problem in the Parameter Hashmap
-       * SqliteTransaction.cs
-       - The CommandText for the Rollback Command was "COMMIT" ! ->changed :)
-
-2005-05-20  Sureshkumar T  <tsureshkumar@novell.com>
-
-       * SqliteConnection.cs:
-       - SetConnectionString: trim white spaces, ignore empty connection
-       string options.
-       - SetConnectionString: if file://,db_file starts from pos 7 not 6.
-
-
diff --git a/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/Sqlite.cs b/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/Sqlite.cs
deleted file mode 100644 (file)
index b9f0137..0000000
+++ /dev/null
@@ -1,285 +0,0 @@
-//
-// Mono.Data.SqliteClient.Sqlite.cs
-//
-// Provides C# bindings to the library sqlite.dll
-//
-//             Everaldo Canuto  <everaldo_canuto@yahoo.com.br>
-//                     Chris Turchin <chris@turchin.net>
-//                     Jeroen Zwartepoorte <jeroen@xs4all.nl>
-//                     Thomas Zoechling <thomas.zoechling@gmx.at>
-//
-// Copyright (C) 2004  Everaldo Canuto
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Security;
-using System.Runtime.InteropServices;
-using System.Text;
-
-namespace Mono.Data.SqliteClient
-{
-       /// <summary>
-       /// Represents the return values for sqlite_exec() and sqlite_step()
-       /// </summary>
-       internal enum SqliteError : int {
-               /// <value>Successful result</value>
-               OK        =  0,
-               /// <value>SQL error or missing database</value>
-               ERROR     =  1,
-               /// <value>An internal logic error in SQLite</value>
-               INTERNAL  =  2,
-               /// <value>Access permission denied</value>
-               PERM      =  3,
-               /// <value>Callback routine requested an abort</value>
-               ABORT     =  4,
-               /// <value>The database file is locked</value>
-               BUSY      =  5,
-               /// <value>A table in the database is locked</value>
-               LOCKED    =  6,
-               /// <value>A malloc() failed</value>
-               NOMEM     =  7,
-               /// <value>Attempt to write a readonly database</value>
-               READONLY  =  8,
-               /// <value>Operation terminated by public const int interrupt()</value>
-               INTERRUPT =  9,
-               /// <value>Some kind of disk I/O error occurred</value>
-               IOERR     = 10,
-               /// <value>The database disk image is malformed</value>
-               CORRUPT   = 11,
-               /// <value>(Internal Only) Table or record not found</value>
-               NOTFOUND  = 12,
-               /// <value>Insertion failed because database is full</value>
-               FULL      = 13,
-               /// <value>Unable to open the database file</value>
-               CANTOPEN  = 14,
-               /// <value>Database lock protocol error</value>
-               PROTOCOL  = 15,
-               /// <value>(Internal Only) Database table is empty</value>
-               EMPTY     = 16,
-               /// <value>The database schema changed</value>
-               SCHEMA    = 17,
-               /// <value>Too much data for one row of a table</value>
-               TOOBIG    = 18,
-               /// <value>Abort due to contraint violation</value>
-               CONSTRAINT= 19,
-               /// <value>Data type mismatch</value>
-               MISMATCH  = 20,
-               /// <value>Library used incorrectly</value>
-               MISUSE    = 21,
-               /// <value>Uses OS features not supported on host</value>
-               NOLFS     = 22,
-               /// <value>Authorization denied</value>
-               AUTH      = 23,
-               /// <value>Auxiliary database format error</value>
-               FORMAT    = 24,
-               /// <value>2nd parameter to sqlite_bind out of range</value>
-               RANGE     = 25,
-               /// <value>File opened that is not a database file</value>
-               NOTADB    = 26,
-               /// <value>sqlite_step() has another row ready</value>
-               ROW       = 100,
-               /// <value>sqlite_step() has finished executing</value>
-               DONE      = 101
-       }
-
-       /// <summary>
-       /// Provides the core of C# bindings to the library sqlite.dll
-       /// </summary>
-       internal sealed class Sqlite {
-
-               #region PInvoke Functions
-               
-               [DllImport("sqlite")]
-               internal static extern IntPtr sqlite_open (string dbname, int db_mode, out IntPtr errstr);
-
-               [DllImport("sqlite")]
-               internal static extern void sqlite_close (IntPtr sqlite_handle);
-
-               [DllImport("sqlite")]
-               internal static extern int sqlite_changes (IntPtr handle);
-
-               [DllImport("sqlite")]
-               internal static extern int sqlite_last_insert_rowid (IntPtr sqlite_handle);
-
-               [DllImport ("sqlite")]
-               internal static extern void sqliteFree (IntPtr ptr);
-               
-               [DllImport ("sqlite")]
-               internal static extern SqliteError sqlite_compile (IntPtr sqlite_handle, IntPtr zSql, out IntPtr pzTail, out IntPtr pVm, out IntPtr errstr);
-
-               [DllImport ("sqlite")]
-               internal static extern SqliteError sqlite_step (IntPtr pVm, out int pN, out IntPtr pazValue, out IntPtr pazColName);
-
-               [DllImport ("sqlite")]
-               internal static extern SqliteError sqlite_finalize (IntPtr pVm, out IntPtr pzErrMsg);
-
-               [DllImport ("sqlite")]
-               internal static extern SqliteError sqlite_exec (IntPtr handle, string sql, IntPtr callback, IntPtr user_data, out IntPtr errstr_ptr);
-               
-               [DllImport ("sqlite")]
-               internal static extern void sqlite_busy_timeout (IntPtr handle, int ms);
-
-               [DllImport("sqlite3", CharSet = CharSet.Unicode)]
-               internal static extern int sqlite3_open16 (string dbname, out IntPtr handle);
-
-               [DllImport("sqlite3")]
-               internal static extern void sqlite3_close (IntPtr sqlite_handle);
-
-               [DllImport("sqlite3")]
-               internal static extern IntPtr sqlite3_errmsg16 (IntPtr sqlite_handle);
-
-               [DllImport("sqlite3")]
-               internal static extern int sqlite3_changes (IntPtr handle);
-
-               [DllImport("sqlite3")]
-               internal static extern long sqlite3_last_insert_rowid (IntPtr sqlite_handle);
-
-               [DllImport ("sqlite3")]
-               internal static extern SqliteError sqlite3_prepare16 (IntPtr sqlite_handle, IntPtr zSql, int zSqllen, out IntPtr pVm, out IntPtr pzTail);
-
-               [DllImport ("sqlite3")]
-               internal static extern SqliteError sqlite3_step (IntPtr pVm);
-
-               [DllImport ("sqlite3")]
-               internal static extern SqliteError sqlite3_finalize (IntPtr pVm);
-
-               [DllImport ("sqlite3")]
-               internal static extern SqliteError sqlite3_exec (IntPtr handle, string sql, IntPtr callback, IntPtr user_data, out IntPtr errstr_ptr);
-       
-               [DllImport ("sqlite3")]
-               internal static extern IntPtr sqlite3_column_name16 (IntPtr pVm, int col);
-               
-               [DllImport ("sqlite3")]
-               internal static extern IntPtr sqlite3_column_text16 (IntPtr pVm, int col);
-               
-               [DllImport ("sqlite3")]
-               internal static extern IntPtr sqlite3_column_blob (IntPtr pVm, int col);
-               
-               [DllImport ("sqlite3")]
-               internal static extern int sqlite3_column_bytes16 (IntPtr pVm, int col);
-               
-               [DllImport ("sqlite3")]
-               internal static extern int sqlite3_column_count (IntPtr pVm);
-               
-               [DllImport ("sqlite3")]
-               internal static extern int sqlite3_column_type (IntPtr pVm, int col);
-               
-               [DllImport ("sqlite3")]
-               internal static extern Int64 sqlite3_column_int64 (IntPtr pVm, int col);
-               
-               [DllImport ("sqlite3")]
-               internal static extern double sqlite3_column_double (IntPtr pVm, int col);
-               
-               [DllImport ("sqlite3")]
-               internal static extern IntPtr sqlite3_column_decltype16 (IntPtr pVm, int col);
-
-               [DllImport ("sqlite3")]
-               internal static extern int sqlite3_bind_parameter_count (IntPtr pStmt);
-
-               [DllImport ("sqlite3")]
-               internal static extern IntPtr sqlite3_bind_parameter_name (IntPtr pStmt, int n); // UTF-8 encoded return
-
-               [DllImport ("sqlite3")]
-               internal static extern SqliteError sqlite3_bind_blob (IntPtr pStmt, int n, byte[] blob, int length, IntPtr freetype);
-
-               [DllImport ("sqlite3")]
-               internal static extern SqliteError sqlite3_bind_double (IntPtr pStmt, int n, double value);
-
-               [DllImport ("sqlite3")]
-               internal static extern SqliteError sqlite3_bind_int (IntPtr pStmt, int n, int value);
-
-               [DllImport ("sqlite3")]
-               internal static extern SqliteError sqlite3_bind_int64 (IntPtr pStmt, int n, long value);
-
-               [DllImport ("sqlite3")]
-               internal static extern SqliteError sqlite3_bind_null (IntPtr pStmt, int n);
-
-               [DllImport ("sqlite3", CharSet = CharSet.Unicode)]
-               internal static extern SqliteError sqlite3_bind_text16 (IntPtr pStmt, int n, string value, int length, IntPtr freetype);
-               
-               [DllImport ("sqlite3")]
-               internal static extern void sqlite3_busy_timeout (IntPtr handle, int ms);
-
-               #endregion
-               
-               // These are adapted from Mono.Unix.  When encoding is null,
-               // use Ansi encoding, which is a superset of the default
-               // expected encoding (ISO-8859-1).
-
-               public static IntPtr StringToHeap (string s, Encoding encoding)
-               {
-                       if (encoding == null)
-                               return Marshal.StringToHGlobalAnsi (s);
-                               
-                       int min_byte_count = encoding.GetMaxByteCount(1);
-                       char[] copy = s.ToCharArray ();
-                       byte[] marshal = new byte [encoding.GetByteCount (copy) + min_byte_count];
-
-                       int bytes_copied = encoding.GetBytes (copy, 0, copy.Length, marshal, 0);
-
-                       if (bytes_copied != (marshal.Length-min_byte_count))
-                               throw new NotSupportedException ("encoding.GetBytes() doesn't equal encoding.GetByteCount()!");
-
-                       IntPtr mem = Marshal.AllocHGlobal (marshal.Length);
-                       if (mem == IntPtr.Zero)
-                               throw new OutOfMemoryException ();
-
-                       bool copied = false;
-                       try {
-                               Marshal.Copy (marshal, 0, mem, marshal.Length);
-                               copied = true;
-                       }
-                       finally {
-                               if (!copied)
-                                       Marshal.FreeHGlobal (mem);
-                       }
-
-                       return mem;
-               }
-
-               public static unsafe string HeapToString (IntPtr p, Encoding encoding)
-               {
-                       if (encoding == null)
-                               return Marshal.PtrToStringAnsi (p);
-               
-                       if (p == IntPtr.Zero)
-                               return null;
-                               
-                       // This assumes a single byte terminates the string.
-
-                       int len = 0;
-                       while (Marshal.ReadByte (p, len) != 0)
-                               checked {++len;}
-
-                       string s = new string ((sbyte*) p, 0, len, encoding);
-                       len = s.Length;
-                       while (len > 0 && s [len-1] == 0)
-                               --len;
-                       if (len == s.Length) 
-                               return s;
-                       return s.Substring (0, len);
-               }
-
-
-
-       }
-}
diff --git a/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteClientFactory.cs b/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteClientFactory.cs
deleted file mode 100644 (file)
index 82cdc79..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-//
-// Mono.Data.SqliteClient.SqliteClientFactory.cs
-//
-// Author:
-//   Chris Toshok (toshok@ximian.com)
-//
-//
-// Copyright (C) 2006 Novell, Inc (http://www.novell.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-#if NET_2_0
-
-using System;
-using System.Data;
-using System.Data.Common;
-
-namespace Mono.Data.SqliteClient
-{
-       public class SqliteClientFactory : DbProviderFactory
-       {
-                public static SqliteClientFactory Instance = null;
-                public static object lockStatic = new object ();
-
-               private SqliteClientFactory ()
-               {
-               }
-
-                static SqliteClientFactory ()
-                {
-                        lock (lockStatic) {
-                                if (Instance == null)
-                                        Instance = new SqliteClientFactory ();
-                        }
-                }
-
-               public override bool CanCreateDataSourceEnumerator {
-                       get { return false; }
-               }
-
-                public override DbCommand CreateCommand ()
-                {
-                        return new SqliteCommand ();
-                }
-
-                public override DbCommandBuilder CreateCommandBuilder ()
-                {
-                       return new SqliteCommandBuilder ();
-                }
-
-                public override DbConnection CreateConnection ()
-                {
-                        return new SqliteConnection ();
-                }
-                
-                public override DbDataAdapter CreateDataAdapter ()
-                {
-                        return new SqliteDataAdapter ();
-                }
-                
-                public override DbDataSourceEnumerator CreateDataSourceEnumerator ()
-                {
-                        return new SqliteDataSourceEnumerator ();
-                }
-                
-                public override DbParameter CreateParameter ()
-                {
-                        return new SqliteParameter ();
-                }
-
-               public override DbConnectionStringBuilder CreateConnectionStringBuilder ()
-               {
-                       return new SqliteConnectionStringBuilder ();
-               }
-       }
-
-}
-
-#endif
diff --git a/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteCommand.cs b/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteCommand.cs
deleted file mode 100644 (file)
index 5fcd242..0000000
+++ /dev/null
@@ -1,645 +0,0 @@
-//
-// Mono.Data.SqliteClient.SqliteCommand.cs
-//
-// Represents a Transact-SQL statement or stored procedure to execute against 
-// a Sqlite database file.
-//
-// Author(s):  Vladimir Vukicevic  <vladimir@pobox.com>
-//             Everaldo Canuto  <everaldo_canuto@yahoo.com.br>
-//             Chris Turchin <chris@turchin.net>
-//             Jeroen Zwartepoorte <jeroen@xs4all.nl>
-//             Thomas Zoechling <thomas.zoechling@gmx.at>
-//             Joshua Tauberer <tauberer@for.net>
-//
-// Copyright (C) 2002  Vladimir Vukicevic
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections;
-using System.Text;
-using System.Runtime.InteropServices;
-using System.Text.RegularExpressions;
-using System.Data;
-#if NET_2_0
-using System.Data.Common;
-#endif
-using System.Diagnostics; 
-using Group = System.Text.RegularExpressions.Group;
-
-namespace Mono.Data.SqliteClient 
-{
-#if NET_2_0
-       public class SqliteCommand : DbCommand, ICloneable
-#else
-       public class SqliteCommand : IDbCommand, ICloneable
-#endif
-       {
-               #region Fields
-               
-               private SqliteConnection parent_conn;
-               //private SqliteTransaction transaction;
-               private IDbTransaction transaction;
-               private string sql;
-               private int timeout;
-               private CommandType type;
-               private UpdateRowSource upd_row_source;
-               private SqliteParameterCollection sql_params;
-               private bool prepared = false;
-               private bool _designTimeVisible = true;
-               
-               #endregion
-
-               #region Constructors and destructors
-               
-               public SqliteCommand ()
-               {
-                       sql = "";
-               }
-                               
-               public SqliteCommand (string sqlText)
-               {
-                       sql = sqlText;
-               }
-               
-               public SqliteCommand (string sqlText, SqliteConnection dbConn)
-               {
-                       sql = sqlText;
-                       parent_conn = dbConn;
-               }
-               
-               public SqliteCommand (string sqlText, SqliteConnection dbConn, IDbTransaction trans)
-               {
-                       sql = sqlText;
-                       parent_conn = dbConn;
-                       transaction = trans;
-               }
-               
-#if !NET_2_0
-               public void Dispose ()
-               {
-               }
-#endif
-               
-               #endregion
-
-               #region Properties
-               
-#if NET_2_0
-               override
-#endif
-               public string CommandText 
-               {
-                       get { return sql; }
-                       set { sql = value; prepared = false; }
-               }
-       
-#if NET_2_0
-               override
-#endif
-               public int CommandTimeout
-               {
-                       get { return timeout; }
-                       set { timeout = value; }
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public CommandType CommandType 
-               {
-                       get { return type; }
-                       set { type = value; }
-               }
-               
-#if NET_2_0
-               protected override DbConnection DbConnection
-               {
-                       get { return parent_conn; }
-                       set { parent_conn = (SqliteConnection)value; }
-               }
-#endif
-               public SqliteConnection Connection
-               {
-                       get { return parent_conn; }
-                       set { parent_conn = (SqliteConnection)value; }
-               }
-               
-#if !NET_2_0
-               IDbConnection IDbCommand.Connection 
-               {
-                       get 
-                       { 
-                               return parent_conn; 
-                       }
-                       set 
-                       {
-                               if (!(value is SqliteConnection)) 
-                               {
-                                       throw new InvalidOperationException ("Can't set Connection to something other than a SqliteConnection");
-                               }
-                               parent_conn = (SqliteConnection) value;
-                       }
-               }
-#endif
-
-               public
-#if NET_2_0
-               new
-#endif
-               SqliteParameterCollection Parameters 
-
-               {
-                       get
-                       {
-                               if (sql_params == null)
-                                       sql_params = new SqliteParameterCollection();
-                               return sql_params;
-                       }
-               }
-
-#if NET_2_0
-               protected override DbParameterCollection DbParameterCollection
-                {
-                        get { return (DbParameterCollection) Parameters; }
-                }
-#endif
-               
-#if !NET_2_0
-               IDataParameterCollection IDbCommand.Parameters 
-               {
-                       get { return Parameters; }
-               }
-               
-#endif
-               
-#if NET_2_0
-               protected override DbTransaction DbTransaction
-#else
-               public IDbTransaction Transaction 
-#endif
-               {
-                       get {
-#if NET_2_0
-                               return (DbTransaction)transaction;
-#else
-                               return transaction;
-#endif
-                       }
-                       set { transaction = value; }
-               }
-               
-#if NET_2_0
-               public override bool DesignTimeVisible
-               {
-                       get { return _designTimeVisible; }
-                       set { _designTimeVisible = value; }
-               }
-#endif
-
-#if NET_2_0
-               override
-#endif
-               public UpdateRowSource UpdatedRowSource 
-               {
-                       get { return upd_row_source; }
-                       set { upd_row_source = value; }
-               }
-                               
-               #endregion
-
-               #region Internal Methods
-               
-               internal int NumChanges () 
-               {
-                       if (parent_conn.Version == 3)
-                               return Sqlite.sqlite3_changes(parent_conn.Handle);
-                       else
-                               return Sqlite.sqlite_changes(parent_conn.Handle);
-               }
-               
-               private void BindParameters3 (IntPtr pStmt)
-               {
-                       if (sql_params == null) return;
-                       if (sql_params.Count == 0) return;
-                       
-                       int pcount = Sqlite.sqlite3_bind_parameter_count (pStmt);
-
-                       for (int i = 1; i <= pcount; i++) 
-                       {
-                               String name = Sqlite.HeapToString (Sqlite.sqlite3_bind_parameter_name (pStmt, i), Encoding.UTF8);
-
-                               SqliteParameter param = null;
-                               if (name != null)
-                                       param = sql_params[name] as SqliteParameter;
-                               else
-                                       param = sql_params[i-1] as SqliteParameter;
-                               
-                               if (param.Value == null) {
-                                       Sqlite.sqlite3_bind_null (pStmt, i);
-                                       continue;
-                               }
-                                       
-                               Type ptype = param.Value.GetType ();
-                               if (ptype.IsEnum)
-                                       ptype = Enum.GetUnderlyingType (ptype);
-                               
-                               SqliteError err;
-                               
-                               if (ptype.Equals (typeof (String))) 
-                               {
-                                       String s = (String)param.Value;
-                                       err = Sqlite.sqlite3_bind_text16 (pStmt, i, s, -1, (IntPtr)(-1));
-                               } 
-                               else if (ptype.Equals (typeof (DBNull))) 
-                               {
-                                       err = Sqlite.sqlite3_bind_null (pStmt, i);
-                               }
-                               else if (ptype.Equals (typeof (Boolean))) 
-                               {
-                                       bool b = (bool)param.Value;
-                                       err = Sqlite.sqlite3_bind_int (pStmt, i, b ? 1 : 0);
-                               } else if (ptype.Equals (typeof (Byte))) 
-                               {
-                                       err = Sqlite.sqlite3_bind_int (pStmt, i, (Byte)param.Value);
-                               }
-                               else if (ptype.Equals (typeof (Char))) 
-                               {
-                                       err = Sqlite.sqlite3_bind_int (pStmt, i, (Char)param.Value);
-                               } 
-                               else if (ptype.IsEnum) 
-                               {
-                                       err = Sqlite.sqlite3_bind_int (pStmt, i, (Int32)param.Value);
-                               }
-                               else if (ptype.Equals (typeof (Int16))) 
-                               {
-                                       err = Sqlite.sqlite3_bind_int (pStmt, i, (Int16)param.Value);
-                               } 
-                               else if (ptype.Equals (typeof (Int32))) 
-                               {
-                                       err = Sqlite.sqlite3_bind_int (pStmt, i, (Int32)param.Value);
-                               }
-                               else if (ptype.Equals (typeof (SByte))) 
-                               {
-                                       err = Sqlite.sqlite3_bind_int (pStmt, i, (SByte)param.Value);
-                               } 
-                               else if (ptype.Equals (typeof (UInt16))) 
-                               {
-                                       err = Sqlite.sqlite3_bind_int (pStmt, i, (UInt16)param.Value);
-                               }
-                               else if (ptype.Equals (typeof (DateTime))) 
-                               {
-                                       DateTime dt = (DateTime)param.Value;
-                                       err = Sqlite.sqlite3_bind_int64 (pStmt, i, dt.ToFileTime ());
-                               } 
-                               else if (ptype.Equals (typeof (Double))) 
-                               {
-                                       err = Sqlite.sqlite3_bind_double (pStmt, i, (Double)param.Value);
-                               }
-                               else if (ptype.Equals (typeof (Single))) 
-                               {
-                                       err = Sqlite.sqlite3_bind_double (pStmt, i, (Single)param.Value);
-                               } 
-                               else if (ptype.Equals (typeof (UInt32))) 
-                               {
-                                       err = Sqlite.sqlite3_bind_int64 (pStmt, i, (UInt32)param.Value);
-                               }
-                               else if (ptype.Equals (typeof (Int64))) 
-                               {
-                                       err = Sqlite.sqlite3_bind_int64 (pStmt, i, (Int64)param.Value);
-                               } 
-                               else if (ptype.Equals (typeof (Byte[]))) 
-                               {
-                                       err = Sqlite.sqlite3_bind_blob (pStmt, i, (Byte[])param.Value, ((Byte[])param.Value).Length, (IntPtr)(-1));
-                               } 
-                               else 
-                               {
-                                       throw new ApplicationException("Unkown Parameter Type");
-                               }
-                               if (err != SqliteError.OK) 
-                               {
-                                       throw new ApplicationException ("Sqlite error in bind " + err);
-                               }
-                       }
-               }
-
-               private void GetNextStatement (IntPtr pzStart, out IntPtr pzTail, out IntPtr pStmt)
-               {
-                       if (parent_conn.Version == 3)
-                       {
-                               SqliteError err = Sqlite.sqlite3_prepare16 (parent_conn.Handle, pzStart, -1, out pStmt, out pzTail);
-                               if (err != SqliteError.OK)
-                                       throw new SqliteSyntaxException (GetError3());
-                       }
-                       else
-                       {
-                               IntPtr errMsg;
-                               SqliteError err = Sqlite.sqlite_compile (parent_conn.Handle, pzStart, out pzTail, out pStmt, out errMsg);
-                               
-                               if (err != SqliteError.OK) 
-                               {
-                                       string msg = "unknown error";
-                                       if (errMsg != IntPtr.Zero) 
-                                       {
-                                               msg = Marshal.PtrToStringAnsi (errMsg);
-                                               Sqlite.sqliteFree (errMsg);
-                                       }
-                                       throw new SqliteSyntaxException (msg);
-                               }
-                       }
-               }
-               
-               // Executes a statement and ignores its result.
-               private void ExecuteStatement (IntPtr pStmt) {
-                       int cols;
-                       IntPtr pazValue, pazColName;
-                       ExecuteStatement (pStmt, out cols, out pazValue, out pazColName);
-               }
-
-               // Executes a statement and returns whether there is more data available.
-               internal bool ExecuteStatement (IntPtr pStmt, out int cols, out IntPtr pazValue, out IntPtr pazColName) {
-                       SqliteError err;
-                       
-                       if (parent_conn.Version == 3) 
-                       {
-                               err = Sqlite.sqlite3_step (pStmt);
-                               if (err == SqliteError.ERROR)
-                                       throw new SqliteExecutionException (GetError3());
-                               pazValue = IntPtr.Zero; pazColName = IntPtr.Zero; // not used for v=3
-                               cols = Sqlite.sqlite3_column_count (pStmt);
-                       }
-                       else 
-                       {
-                               err = Sqlite.sqlite_step (pStmt, out cols, out pazValue, out pazColName);
-                               if (err == SqliteError.ERROR)
-                                       throw new SqliteExecutionException ();
-                       }
-                       
-                       if (err == SqliteError.BUSY)
-                               throw new SqliteBusyException();
-                       
-                       if (err == SqliteError.MISUSE)
-                               throw new SqliteExecutionException();
-                               
-                       // err is either ROW or DONE.
-                       return err == SqliteError.ROW;
-               }
-               
-               #endregion
-
-               #region Public Methods
-               
-               object ICloneable.Clone ()
-               {
-                       return new SqliteCommand (sql, parent_conn, transaction);
-               }
-#if NET_2_0
-               override
-#endif
-               public void Cancel ()
-               {
-               }
-               
-               public string BindParameters2()
-               {
-                       string text = sql;
-                       
-                       // There used to be a crazy regular expression here, but it caused Mono
-                       // to go into an infinite loop of some sort when there were no parameters
-                       // in the SQL string.  That was too complicated anyway.
-                       
-                       // Here we search for substrings of the form [:?]wwwww where w is a letter or digit
-                       // (not sure what a legitimate Sqlite3 identifier is), except those within quotes.
-                       
-                       char inquote = (char)0;
-                       int counter = 0;
-                       for (int i = 0; i < text.Length; i++) {
-                               char c = text[i];
-                               if (c == inquote) {
-                                       inquote = (char)0;
-                               } else if (inquote == (char)0 && (c == '\'' || c == '"')) {
-                                       inquote = c;
-                               } else if (inquote == (char)0 && (c == ':' || c == '?')) {
-                                       int start = i;
-                                       while (++i < text.Length && char.IsLetterOrDigit(text[i])) { } // scan to end
-                                       string name = text.Substring(start, i-start);
-                                       SqliteParameter p;
-                                       if (name.Length > 1)
-                                               p = Parameters[name] as SqliteParameter;
-                                       else
-                                               p = Parameters[counter] as SqliteParameter;
-                                       string value = "'" + Convert.ToString(p.Value).Replace("'", "''") + "'";
-                                       text = text.Remove(start, name.Length).Insert(start, value);
-                                       i += value.Length - name.Length - 1;
-                                       counter++;
-                               }
-                       }
-                       
-                       return text;
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public void Prepare ()
-               {
-                       // There isn't much we can do here.  If a table schema
-                       // changes after preparing a statement, Sqlite bails,
-                       // so we can only compile statements right before we
-                       // want to run them.
-                       
-                       if (prepared) return;           
-               
-                       if (Parameters.Count > 0 && parent_conn.Version == 2)
-                       {
-                               sql = BindParameters2();
-                       }
-                       
-                       prepared = true;
-               }
-               
-#if !NET_2_0
-               IDbDataParameter IDbCommand.CreateParameter()
-               {
-                       return CreateParameter ();
-               }
-#endif
-               
-#if NET_2_0
-               protected override DbParameter CreateDbParameter ()
-#else
-               public SqliteParameter CreateParameter ()
-#endif
-               {
-                       return new SqliteParameter ();
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public int ExecuteNonQuery ()
-               {
-                       int rows_affected;
-                       ExecuteReader (CommandBehavior.Default, false, out rows_affected);
-                       return rows_affected;
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public object ExecuteScalar ()
-               {
-                       SqliteDataReader r = (SqliteDataReader)ExecuteReader ();
-                       if (r == null || !r.Read ()) {
-                               return null;
-                       }
-                       object o = r[0];
-                       r.Close ();
-                       return o;
-               }
-               
-#if !NET_2_0
-               IDataReader IDbCommand.ExecuteReader ()
-               {
-                       return ExecuteReader ();
-               }
-               
-               IDataReader IDbCommand.ExecuteReader (CommandBehavior behavior)
-               {
-                       return ExecuteReader (behavior);
-               }
-               
-               public SqliteDataReader ExecuteReader ()
-               {
-                       return ExecuteReader (CommandBehavior.Default);
-               }
-#endif
-               
-               public new SqliteDataReader ExecuteReader (CommandBehavior behavior)
-               {
-                       int r;
-                       return ExecuteReader (behavior, true, out r);
-               }
-               
-#if NET_2_0
-               public new SqliteDataReader ExecuteReader ()
-               {
-                       return ExecuteReader (CommandBehavior.Default);
-               }
-               
-               protected override DbDataReader ExecuteDbDataReader (CommandBehavior behavior)
-               {
-                       return (DbDataReader) ExecuteReader (behavior);
-               }
-#endif
-
-               public SqliteDataReader ExecuteReader (CommandBehavior behavior, bool want_results, out int rows_affected)
-               {
-                       Prepare ();
-                       
-                       // The SQL string may contain multiple sql commands, so the main
-                       // thing to do is have Sqlite iterate through the commands.
-                       // If want_results, only the last command is returned as a
-                       // DataReader.  Otherwise, no command is returned as a
-                       // DataReader.
-               
-                       IntPtr psql; // pointer to SQL command
-                       
-                       // Sqlite 2 docs say this: By default, SQLite assumes that all data uses a fixed-size 8-bit 
-                       // character (iso8859).  But if you give the --enable-utf8 option to the configure script, then the 
-                       // library assumes UTF-8 variable sized characters. This makes a difference for the LIKE and GLOB 
-                       // operators and the LENGTH() and SUBSTR() functions. The static string sqlite_encoding will be set 
-                       // to either "UTF-8" or "iso8859" to indicate how the library was compiled. In addition, the sqlite.h 
-                       // header file will define one of the macros SQLITE_UTF8 or SQLITE_ISO8859, as appropriate.
-                       // 
-                       // We have no way of knowing whether Sqlite 2 expects ISO8859 or UTF-8, but ISO8859 seems to be the
-                       // default.  Therefore, we need to use an ISO8859(-1) compatible encoding, like ANSI.
-                       // OTOH, the user may want to specify the encoding of the bytes stored in the database, regardless
-                       // of what Sqlite is treating them as, 
-                       
-                       // For Sqlite 3, we use the UTF-16 prepare function, so we need a UTF-16 string.
-                       
-                       if (parent_conn.Version == 2)
-                               psql = Sqlite.StringToHeap (sql.Trim(), parent_conn.Encoding);
-                       else
-                               psql = Marshal.StringToHGlobalUni (sql.Trim());
-
-                       IntPtr pzTail = psql;
-                       IntPtr errMsgPtr;
-                       
-                       parent_conn.StartExec ();
-
-                       rows_affected = 0;
-                       
-                       try {
-                               while (true) {
-                                       IntPtr pStmt;
-                                        
-                                       GetNextStatement(pzTail, out pzTail, out pStmt);
-                                       
-                                       if (pStmt == IntPtr.Zero)
-                                               throw new Exception();
-                                       
-                                       // pzTail is positioned after the last byte in the
-                                       // statement, which will be the NULL character if
-                                       // this was the last statement.
-                                       bool last = Marshal.ReadByte(pzTail) == 0;
-
-                                       try {
-                                               if (parent_conn.Version == 3)
-                                                       BindParameters3 (pStmt);
-                                               
-                                               if (last && want_results)
-                                                       return new SqliteDataReader (this, pStmt, parent_conn.Version);
-
-                                               ExecuteStatement(pStmt);
-                                               
-                                               if (last) // rows_affected is only used if !want_results
-                                                       rows_affected = NumChanges ();
-                                               
-                                       } finally {
-                                               if (parent_conn.Version == 3) 
-                                                       Sqlite.sqlite3_finalize (pStmt);
-                                               else
-                                                       Sqlite.sqlite_finalize (pStmt, out errMsgPtr);
-                                       }
-                                       
-                                       if (last) break;
-                               }
-
-                               return null;
-                       } finally {
-                               parent_conn.EndExec ();
-                               Marshal.FreeHGlobal (psql);
-                       }
-               }
-
-               public int LastInsertRowID () 
-               {
-                       return parent_conn.LastInsertRowId;
-               }
-               
-               private string GetError3() {
-                       return Marshal.PtrToStringUni (Sqlite.sqlite3_errmsg16 (parent_conn.Handle));
-               }
-       #endregion
-       }
-}
diff --git a/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteCommandBuilder.cs b/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteCommandBuilder.cs
deleted file mode 100644 (file)
index 0f3bc69..0000000
+++ /dev/null
@@ -1,523 +0,0 @@
-//
-// Mono.Data.SqliteClient.SqliteCommandBuilder.cs
-//
-// Author(s): Tim Coleman (tim@timcoleman.com)
-//            Marek Habersack (grendello@gmail.com)
-//
-// Copyright (C) Tim Coleman, 2002
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-// Copyright (C) 2007 Marek Habersack
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-#if NET_2_0
-using System;
-using System.Data;
-using System.Data.Common;
-using System.Text;
-
-namespace Mono.Data.SqliteClient
-{
-       public sealed class SqliteCommandBuilder : DbCommandBuilder
-       {
-               static readonly string clause1 = "({0} = 1 AND {1} IS NULL)";
-                static readonly string clause2 = "({0} = {1})";
-
-               DataTable _schemaTable;
-               SqliteDataAdapter _dataAdapter;
-               SqliteCommand _insertCommand;
-               SqliteCommand _updateCommand;
-               SqliteCommand _deleteCommand;
-               bool _disposed;
-               string _quotePrefix = "'";
-               string _quoteSuffix = "'";
-               string _tableName;
-               SqliteRowUpdatingEventHandler rowUpdatingHandler;
-               
-               public new DbDataAdapter DataAdapter {
-                       get { return _dataAdapter; }
-                       set {
-                               if (_dataAdapter != null)
-                                       _dataAdapter.RowUpdating -= new SqliteRowUpdatingEventHandler (RowUpdatingHandler);
-                               _dataAdapter = value as SqliteDataAdapter;
-                               if (_dataAdapter != null)
-                                       _dataAdapter.RowUpdating += new SqliteRowUpdatingEventHandler (RowUpdatingHandler);
-                       }
-               }
-
-               public override string QuotePrefix {
-                       get { return _quotePrefix; }
-                       
-                       set {
-                               if (_schemaTable != null)
-                                       throw new InvalidOperationException ("The QuotePrefix and QuoteSuffix properties cannot be changed once an Insert, Update or Delete commands have been generated.");
-                               _quotePrefix = value;
-                       }
-               }
-
-               public override string QuoteSuffix {
-                       get { return _quoteSuffix; }
-                       
-                       set {
-                               if (_schemaTable != null)
-                                       throw new InvalidOperationException ("The QuotePrefix and QuoteSuffix properties cannot be changed once an Insert, Update or Delete commands have been generated.");
-                               _quoteSuffix = value;
-                       }
-               }
-
-               private SqliteCommand SourceCommand {
-                       get  {
-                               if (_dataAdapter != null)
-                                       return _dataAdapter.SelectCommand as SqliteCommand;
-                               return null;
-                       }
-               }
-
-               private string QuotedTableName {
-                        get { return GetQuotedString (_tableName); }
-                }
-
-               public new SqliteCommand GetDeleteCommand ()
-                {
-                        BuildCache (true);
-                        if (_deleteCommand == null)
-                                return CreateDeleteCommand (false);
-                        return _deleteCommand;
-                }
-
-               public new SqliteCommand GetInsertCommand ()
-               {
-                       BuildCache (true);
-                        if (_insertCommand == null)
-                                return CreateInsertCommand (false);
-                        return _insertCommand;
-               }
-
-               public new SqliteCommand GetUpdateCommand ()
-                {
-                        BuildCache (true);
-                        if (_updateCommand == null)
-                                return CreateUpdateCommand (false);
-                        return _updateCommand;
-                }
-
-               public override void RefreshSchema () 
-                {
-                        // FIXME: "Figure out what else needs to be cleaned up when we refresh."
-                        _tableName = String.Empty;
-                        _schemaTable = null;
-                        CreateNewCommand (ref _deleteCommand);
-                        CreateNewCommand (ref _updateCommand);
-                        CreateNewCommand (ref _insertCommand);
-                }
-
-               protected override void SetRowUpdatingHandler (DbDataAdapter adapter)
-                {
-                        if (!(adapter is SqliteDataAdapter)) {
-                                throw new InvalidOperationException ("Adapter needs to be a SqliteDataAdapter");
-                        }
-                        rowUpdatingHandler = new SqliteRowUpdatingEventHandler (RowUpdatingHandler);
-                        ((SqliteDataAdapter) adapter).RowUpdating += rowUpdatingHandler;
-                }
-               
-                protected override void ApplyParameterInfo (DbParameter dbParameter,
-                                                            DataRow row,
-                                                            StatementType statementType,
-                                                            bool whereClause)
-                {
-                        // Nothing to do here
-                }
-
-               protected override string GetParameterName (int position)
-                {
-                        return String.Format ("?p{0}", position);
-                }
-
-                protected override string GetParameterName (string parameterName)
-                {
-                        if (String.IsNullOrEmpty (parameterName))
-                               throw new ArgumentException ("parameterName cannot be null or empty");
-                       if (parameterName [0] == '?')
-                               return parameterName;
-                       return String.Format ("?{0}", parameterName);
-                }
-                
-
-                protected override string GetParameterPlaceholder (int position)
-                {
-                       return String.Format ("?p{0}", position);
-                }
-               
-               protected override void Dispose (bool disposing)
-                {
-                        if (!_disposed) {
-                                if (disposing) {
-                                        if (_insertCommand != null)
-                                                _insertCommand.Dispose ();
-                                        if (_deleteCommand != null)
-                                                _deleteCommand.Dispose ();
-                                        if (_updateCommand != null)
-                                                _updateCommand.Dispose ();
-                                        if (_schemaTable != null)
-                                                _schemaTable.Dispose ();
-                                }
-                                _disposed = true;
-                        }
-                }
-
-               private void BuildCache (bool closeConnection)
-               {
-                       SqliteCommand sourceCommand = SourceCommand;
-                        if (sourceCommand == null)
-                                throw new InvalidOperationException ("The DataAdapter.SelectCommand property needs to be initialized.");
-                        SqliteConnection connection = sourceCommand.Connection as SqliteConnection;
-                        if (connection == null)
-                                throw new InvalidOperationException ("The DataAdapter.SelectCommand.Connection property needs to be initialized.");
-                                
-                        if (_schemaTable == null) {
-                                if (connection.State == ConnectionState.Open)
-                                        closeConnection = false;        
-                                else
-                                        connection.Open ();
-        
-                                SqliteDataReader reader = sourceCommand.ExecuteReader (CommandBehavior.SchemaOnly |
-                                                                                      CommandBehavior.KeyInfo);
-                                _schemaTable = reader.GetSchemaTable ();
-                                reader.Close ();
-                                if (closeConnection)
-                                        connection.Close ();    
-                                BuildInformation (_schemaTable);
-                        }
-               }
-
-               private void BuildInformation (DataTable schemaTable)
-                {
-                        _tableName = String.Empty;
-                        foreach (DataRow schemaRow in schemaTable.Rows) {
-                                if (schemaRow.IsNull ("BaseTableName") ||
-                                    (string) schemaRow ["BaseTableName"] == String.Empty)
-                                        continue;
-
-                                if (_tableName == String.Empty) 
-                                        _tableName = (string) schemaRow ["BaseTableName"];
-                                else if (_tableName != (string) schemaRow["BaseTableName"])
-                                        throw new InvalidOperationException ("Dynamic SQL generation is not supported against multiple base tables.");
-                        }
-                        if (_tableName == String.Empty)
-                                throw new InvalidOperationException ("Dynamic SQL generation is not supported with no base table.");
-                        _schemaTable = schemaTable;
-                }
-
-               private SqliteCommand CreateInsertCommand (bool option)
-                {
-                        if (QuotedTableName == String.Empty)
-                                return null;
-
-                        CreateNewCommand (ref _insertCommand);
-
-                        string command = String.Format ("INSERT INTO {0}", QuotedTableName);
-                        string sql;
-                        StringBuilder columns = new StringBuilder ();
-                        StringBuilder values = new StringBuilder ();
-
-                        int parmIndex = 1;
-                        foreach (DataRow schemaRow in _schemaTable.Rows) {
-                                if (!IncludedInInsert (schemaRow))
-                                        continue;
-
-                                if (parmIndex > 1) {
-                                        columns.Append (", ");
-                                        values.Append (", ");
-                                }
-
-                                SqliteParameter parameter = null;
-                                if (option) {
-                                        parameter = _insertCommand.Parameters.Add (CreateParameter (schemaRow));
-                                } else {
-                                        parameter = _insertCommand.Parameters.Add (CreateParameter (parmIndex++, schemaRow));
-                                }
-                                parameter.SourceVersion = DataRowVersion.Current;
-                                columns.Append (GetQuotedString (parameter.SourceColumn));
-                                values.Append (parameter.ParameterName);
-                        }
-
-                        sql = String.Format ("{0} ({1}) VALUES ({2})", command, columns.ToString (), values.ToString ());
-                        _insertCommand.CommandText = sql;
-                        return _insertCommand;
-                }
-               
-               private SqliteCommand CreateDeleteCommand (bool option)
-                {
-                        // If no table was found, then we can't do an delete
-                        if (QuotedTableName == String.Empty)
-                                return null;
-
-                        CreateNewCommand (ref _deleteCommand);
-
-                        string command = String.Format ("DELETE FROM {0}", QuotedTableName);
-                        StringBuilder whereClause = new StringBuilder ();
-                        bool keyFound = false;
-                        int parmIndex = 1;
-
-                        foreach (DataRow schemaRow in _schemaTable.Rows) {
-                                if ((bool)schemaRow["IsExpression"] == true)
-                                        continue;
-                                if (!IncludedInWhereClause (schemaRow)) 
-                                        continue;
-
-                                if (whereClause.Length > 0) 
-                                        whereClause.Append (" AND ");
-
-                                bool isKey = (bool) schemaRow ["IsKey"];
-                                SqliteParameter parameter = null;
-
-                                if (isKey)
-                                        keyFound = true;
-
-                                bool allowNull = (bool) schemaRow ["AllowDBNull"];
-                                if (!isKey && allowNull) {
-                                        if (option) {
-                                                parameter = _deleteCommand.Parameters.Add (
-                                                       String.Format ("@{0}", schemaRow ["BaseColumnName"]), DbType.Int32);
-                                        } else {
-                                                parameter = _deleteCommand.Parameters.Add (
-                                                       String.Format ("@p{0}", parmIndex++), DbType.Int32);
-                                        }
-                                        String sourceColumnName = (string) schemaRow ["BaseColumnName"];
-                                        parameter.Value = 1;
-
-                                        whereClause.Append ("(");
-                                       whereClause.Append (String.Format (clause1, parameter.ParameterName, 
-                                                                          GetQuotedString (sourceColumnName)));
-                                        whereClause.Append (" OR ");
-                                }
-
-                                if (option) {
-                                        parameter = _deleteCommand.Parameters.Add (CreateParameter (schemaRow));
-                                } else {
-                                        parameter = _deleteCommand.Parameters.Add (CreateParameter (parmIndex++, schemaRow));
-                                }
-                                parameter.SourceVersion = DataRowVersion.Original;
-
-                                whereClause.Append (String.Format (clause2, GetQuotedString (parameter.SourceColumn),
-                                                                  parameter.ParameterName));
-
-                                if (!isKey && allowNull)
-                                        whereClause.Append (")");
-                        }
-                        if (!keyFound)
-                                throw new InvalidOperationException ("Dynamic SQL generation for the DeleteCommand is not supported against a SelectCommand that does not return any key column information.");
-
-                        string sql = String.Format ("{0} WHERE ({1})", command, whereClause.ToString ());
-                        _deleteCommand.CommandText = sql;
-                        return _deleteCommand;
-                }
-
-               private SqliteCommand CreateUpdateCommand (bool option)
-                {
-                        if (QuotedTableName == String.Empty)
-                                return null;
-
-                        CreateNewCommand (ref _updateCommand);
-
-                        string command = String.Format ("UPDATE {0} SET ", QuotedTableName);
-                        StringBuilder columns = new StringBuilder ();
-                        StringBuilder whereClause = new StringBuilder ();
-                        int parmIndex = 1;
-                        bool keyFound = false;
-
-                        foreach (DataRow schemaRow in _schemaTable.Rows) {
-                                if (!IncludedInUpdate (schemaRow))
-                                        continue;
-                                if (columns.Length > 0) 
-                                        columns.Append (", ");
-
-                                SqliteParameter parameter = null;
-                                if (option) {
-                                        parameter = _updateCommand.Parameters.Add (CreateParameter (schemaRow));
-                                } else {
-                                        parameter = _updateCommand.Parameters.Add (CreateParameter (parmIndex++, schemaRow));
-                                }
-                                parameter.SourceVersion = DataRowVersion.Current;
-
-                                columns.Append (String.Format ("{0} = {1}", GetQuotedString (parameter.SourceColumn),
-                                                              parameter.ParameterName));
-                        }
-
-                        foreach (DataRow schemaRow in _schemaTable.Rows) {
-                                if ((bool)schemaRow["IsExpression"] == true)
-                                        continue;
-
-                                if (!IncludedInWhereClause (schemaRow)) 
-                                        continue;
-
-                                if (whereClause.Length > 0) 
-                                        whereClause.Append (" AND ");
-
-                                bool isKey = (bool) schemaRow ["IsKey"];
-                               SqliteParameter parameter = null;
-
-                                if (isKey)
-                                        keyFound = true;
-
-                                bool allowNull = (bool) schemaRow ["AllowDBNull"];
-                                if (!isKey && allowNull) {
-                                        if (option) {
-                                                parameter = _updateCommand.Parameters.Add (
-                                                       String.Format ("@{0}", schemaRow ["BaseColumnName"]), SqlDbType.Int);
-                                        } else {
-                                                parameter = _updateCommand.Parameters.Add (
-                                                       String.Format ("@p{0}", parmIndex++), SqlDbType.Int);
-                                        }
-                                        parameter.Value = 1;
-                                        whereClause.Append ("(");
-                                        whereClause.Append (String.Format (clause1, parameter.ParameterName,
-                                                                          GetQuotedString ((string) schemaRow ["BaseColumnName"])));
-                                        whereClause.Append (" OR ");
-                                }
-
-                                if (option) {
-                                        parameter = _updateCommand.Parameters.Add (CreateParameter (schemaRow));
-                                } else {
-                                        parameter = _updateCommand.Parameters.Add (CreateParameter (parmIndex++, schemaRow));
-                                }
-                                parameter.SourceVersion = DataRowVersion.Original;
-                                whereClause.Append (String.Format (clause2, GetQuotedString (parameter.SourceColumn),
-                                                                  parameter.ParameterName));
-
-                                if (!isKey && allowNull)
-                                        whereClause.Append (")");
-                        }
-                        if (!keyFound)
-                                throw new InvalidOperationException ("Dynamic SQL generation for the UpdateCommand is not supported against a SelectCommand that does not return any key column information.");
-
-                        string sql = String.Format ("{0}{1} WHERE ({2})", command, columns.ToString (), whereClause.ToString ());
-                        _updateCommand.CommandText = sql;
-                        return _updateCommand;
-               }
-               
-               private void CreateNewCommand (ref SqliteCommand command)
-                {
-                        SqliteCommand sourceCommand = SourceCommand;
-                        if (command == null) {
-                                command = sourceCommand.Connection.CreateCommand () as SqliteCommand;
-                                command.CommandTimeout = sourceCommand.CommandTimeout;
-                                command.Transaction = sourceCommand.Transaction;
-                        }
-                        command.CommandType = CommandType.Text;
-                        command.UpdatedRowSource = UpdateRowSource.None;
-                        command.Parameters.Clear ();
-                }
-               
-               private bool IncludedInWhereClause (DataRow schemaRow)
-                {
-                        if ((bool) schemaRow ["IsLong"])
-                                return false;
-                        return true;
-                }
-
-               private bool IncludedInInsert (DataRow schemaRow)
-                {
-                       // not all of the below are supported by Sqlite, but we leave them here anyway, since some day Sqlite may
-                       // support some of them.
-                        if (!schemaRow.IsNull ("IsAutoIncrement") && (bool) schemaRow ["IsAutoIncrement"])
-                                return false;
-                        if (!schemaRow.IsNull ("IsHidden") && (bool) schemaRow ["IsHidden"])
-                                return false;
-                        if (!schemaRow.IsNull ("IsExpression") && (bool) schemaRow ["IsExpression"])
-                                return false;
-                        if (!schemaRow.IsNull ("IsRowVersion") && (bool) schemaRow ["IsRowVersion"])
-                                return false;
-                        if (!schemaRow.IsNull ("IsReadOnly") && (bool) schemaRow ["IsReadOnly"])
-                                return false;
-                        return true;
-                }
-
-                private bool IncludedInUpdate (DataRow schemaRow)
-                {
-                       // not all of the below are supported by Sqlite, but we leave them here anyway, since some day Sqlite may
-                       // support some of them.
-                        if (!schemaRow.IsNull ("IsAutoIncrement") && (bool) schemaRow ["IsAutoIncrement"])
-                                return false;
-                        if (!schemaRow.IsNull ("IsHidden") && (bool) schemaRow ["IsHidden"])
-                                return false;
-                        if (!schemaRow.IsNull ("IsRowVersion") && (bool) schemaRow ["IsRowVersion"])
-                                return false;
-                        if (!schemaRow.IsNull ("IsExpression") && (bool) schemaRow ["IsExpression"])
-                                return false;
-                        if (!schemaRow.IsNull ("IsReadOnly") && (bool) schemaRow ["IsReadOnly"])
-                                return false;
-
-                        return true;
-                }
-               
-               private SqliteParameter CreateParameter (DataRow schemaRow)
-                {
-                        string sourceColumn = (string) schemaRow ["BaseColumnName"];
-                        string name = String.Format ("@{0}", sourceColumn);
-                        DbType dbType = (DbType) schemaRow ["ProviderType"];
-                        int size = (int) schemaRow ["ColumnSize"];
-
-                        return new SqliteParameter (name, dbType, size, sourceColumn);
-                }
-
-                private SqliteParameter CreateParameter (int parmIndex, DataRow schemaRow)
-                {
-                        string name = String.Format ("@p{0}", parmIndex);
-                        string sourceColumn = (string) schemaRow ["BaseColumnName"];
-                        DbType dbType = (DbType) schemaRow ["ProviderType"];
-                        int size = (int) schemaRow ["ColumnSize"];
-
-                        return new SqliteParameter (name, dbType, size, sourceColumn);
-                }
-
-               private string GetQuotedString (string value)
-                {
-                        if (value == String.Empty || value == null)
-                                return value;
-                        if (String.IsNullOrEmpty (_quotePrefix) && String.IsNullOrEmpty (_quoteSuffix))
-                                return value;
-                        return String.Format ("{0}{1}{2}", _quotePrefix, value, _quoteSuffix);
-                }
-
-               private void RowUpdatingHandler (object sender, RowUpdatingEventArgs args)
-                {
-                        if (args.Command != null)
-                                return;
-                        try {
-                                switch (args.StatementType) {
-                                case StatementType.Insert:
-                                        args.Command = GetInsertCommand ();
-                                        break;
-                                case StatementType.Update:
-                                        args.Command = GetUpdateCommand ();
-                                        break;
-                                case StatementType.Delete:
-                                        args.Command = GetDeleteCommand ();
-                                        break;
-                                }
-                        } catch (Exception e) {
-                                args.Errors = e;
-                                args.Status = UpdateStatus.ErrorsOccurred;
-                        }
-                }
-       }
-}
-#endif
diff --git a/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteConnection.cs b/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteConnection.cs
deleted file mode 100644 (file)
index a4e7b02..0000000
+++ /dev/null
@@ -1,414 +0,0 @@
-//
-// Mono.Data.SqliteClient.SqliteConnection.cs
-//
-// Represents an open connection to a Sqlite database file.
-//
-// Author(s): Vladimir Vukicevic  <vladimir@pobox.com>
-//            Everaldo Canuto  <everaldo_canuto@yahoo.com.br>
-//
-// Copyright (C) 2002  Vladimir Vukicevic
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Runtime.InteropServices;
-using System.Data;
-#if NET_2_0
-using System.Data.Common;
-#endif
-using System.IO;
-using System.Text;
-
-namespace Mono.Data.SqliteClient
-{
-#if NET_2_0
-       public class SqliteConnection : DbConnection, ICloneable
-#else
-               public class SqliteConnection : IDbConnection, ICloneable
-#endif
-       {
-
-#region Fields
-               
-               private string conn_str;
-               private string db_file;
-               private int db_mode;
-               private int db_version;
-               private IntPtr sqlite_handle;
-               private ConnectionState state;
-               private Encoding encoding;
-               private int busy_timeout;
-#if NET_2_0
-               bool disposed;
-#endif
-
-#endregion
-
-#region Constructors and destructors
-               
-               public SqliteConnection ()
-               {
-                       db_file = null;
-                       db_mode = 0644;
-                       db_version = 2;
-                       state = ConnectionState.Closed;
-                       sqlite_handle = IntPtr.Zero;
-                       encoding = null;
-                       busy_timeout = 0;
-               }
-               
-               public SqliteConnection (string connstring) : this ()
-               {
-                       ConnectionString = connstring;
-               }
-
-
-#if !NET_2_0
-               public void Dispose ()
-               {
-                       Close ();
-               }
-#else
-               protected override void Dispose (bool disposing)
-               {
-                       try {
-                               if (disposing && !disposed) {
-                                       Close ();
-                                       conn_str = null;
-                               }
-                       } finally {
-                               disposed = true;
-                               base.Dispose (disposing);
-                       }
-               }
-#endif
-                               
-#endregion
-
-#region Properties
-               
-#if NET_2_0
-               override
-#endif
-                       public string ConnectionString {
-                       get { return conn_str; }
-                       set { SetConnectionString(value); }
-               }
-               
-#if NET_2_0
-               override
-#endif
-                       public int ConnectionTimeout {
-                       get { return 0; }
-               }
-       
-#if NET_2_0
-               override
-#endif
-                       public string Database {
-                       get { return db_file; }
-               }
-               
-#if NET_2_0
-               override
-#endif
-                       public ConnectionState State {
-                       get { return state; }
-               }
-               
-               public Encoding Encoding {
-                       get { return encoding; }
-               }
-
-               public int Version {
-                       get { return db_version; }
-               }
-
-               internal IntPtr Handle {
-                       get { return sqlite_handle; }
-               }
-               
-#if NET_2_0
-               public override string DataSource {
-                       get { return db_file; }
-               }
-
-               public override string ServerVersion {
-                       get {
-                               if (Version == 3)
-                                       return "3";
-                               else
-                                       return "2";
-                       }
-               }
-#endif
-
-               public int LastInsertRowId {
-                       get {
-                               if (Version == 3)
-                                       return (int)Sqlite.sqlite3_last_insert_rowid (Handle);
-                               else
-                                       return Sqlite.sqlite_last_insert_rowid (Handle);
-                       }
-               }
-
-               public int BusyTimeout {
-                       get {
-                               return busy_timeout;  
-                       }
-                       set {
-                               busy_timeout = value < 0 ? 0 : value;
-                       }
-               }
-               
-#endregion
-
-#region Private Methods
-               
-               private void SetConnectionString(string connstring)
-               {
-                       if (connstring == null) {
-                               Close ();
-                               conn_str = null;
-                               return;
-                       }
-                       
-                       if (connstring != conn_str) {
-                               Close ();
-                               conn_str = connstring;
-                               
-                               db_file = null;
-                               db_mode = 0644;
-                               
-                               string[] conn_pieces = connstring.Split (',');
-                               for (int i = 0; i < conn_pieces.Length; i++) {
-                                       string piece = conn_pieces [i].Trim ();
-                                       if (piece.Length == 0) { // ignore empty elements
-                                                continue;
-                                       }
-                                       string[] arg_pieces = piece.Split ('=');
-                                       if (arg_pieces.Length != 2) {
-                                               throw new InvalidOperationException ("Invalid connection string");
-                                       }
-                                       string token = arg_pieces[0].ToLower (System.Globalization.CultureInfo.InvariantCulture).Trim ();
-                                       string tvalue = arg_pieces[1].Trim ();
-                                       string tvalue_lc = arg_pieces[1].ToLower (System.Globalization.CultureInfo.InvariantCulture).Trim ();
-                                       switch (token) {
-#if NET_2_0
-                                               case "DataSource":
-#endif
-                                               case "uri": 
-                                                       if (tvalue_lc.StartsWith ("file://")) {
-                                                               db_file = tvalue.Substring (7);
-                                                       } else if (tvalue_lc.StartsWith ("file:")) {
-                                                               db_file = tvalue.Substring (5);
-                                                       } else if (tvalue_lc.StartsWith ("/")) {
-                                                               db_file = tvalue;
-#if NET_2_0
-                                                       } else if (tvalue_lc.StartsWith ("|DataDirectory|",
-                                                                                        StringComparison.InvariantCultureIgnoreCase)) {
-                                                               AppDomainSetup ads = AppDomain.CurrentDomain.SetupInformation;
-                                                               string filePath = String.Format ("App_Data{0}{1}",
-                                                                                                Path.DirectorySeparatorChar,
-                                                                                                tvalue_lc.Substring (15));
-                                                               
-                                                               db_file = Path.Combine (ads.ApplicationBase, filePath);
-#endif
-                                                       } else {
-                                                               throw new InvalidOperationException ("Invalid connection string: invalid URI");
-                                                       }
-                                                       break;
-
-                                               case "mode": 
-                                                       db_mode = Convert.ToInt32 (tvalue);
-                                                       break;
-
-                                               case "version":
-                                                       db_version = Convert.ToInt32 (tvalue);
-                                                       break;
-
-                                               case "encoding": // only for sqlite2
-                                                       encoding = Encoding.GetEncoding (tvalue);
-                                                       break;
-
-                                               case "busy_timeout":
-                                                       busy_timeout = Convert.ToInt32 (tvalue);
-                                                       break;
-                                       }
-                               }
-                               
-                               if (db_file == null) {
-                                       throw new InvalidOperationException ("Invalid connection string: no URI");
-                               }
-                       }
-               }               
-#endregion
-
-#region Internal Methods
-               
-               internal void StartExec ()
-               {
-                       // use a mutex here
-                       state = ConnectionState.Executing;
-               }
-               
-               internal void EndExec ()
-               {
-                       state = ConnectionState.Open;
-               }
-               
-#endregion
-
-#region Public Methods
-
-               object ICloneable.Clone ()
-               {
-                       return new SqliteConnection (ConnectionString);
-               }
-               
-#if NET_2_0
-               // [MonoTODO ("handle IsolationLevel")]
-               protected override DbTransaction BeginDbTransaction (IsolationLevel il)
-#else
-                       public IDbTransaction BeginTransaction ()
-#endif
-               {
-                       if (state != ConnectionState.Open)
-                               throw new InvalidOperationException("Invalid operation: The connection is closed");
-                       
-                       SqliteTransaction t = new SqliteTransaction();
-#if NET_2_0
-                       t.SetConnection (this);
-#else
-                       t.Connection = this;
-#endif
-                       SqliteCommand cmd = (SqliteCommand)this.CreateCommand();
-                       cmd.CommandText = "BEGIN";
-                       cmd.ExecuteNonQuery();
-                       return t;
-               }
-
-#if NET_2_0
-               public new DbTransaction BeginTransaction ()
-                       {
-                               return BeginDbTransaction (IsolationLevel.Unspecified);
-               }
-
-                       public new DbTransaction BeginTransaction (IsolationLevel il)
-                               {
-                                       return BeginDbTransaction (il);
-                       }
-#else
-                       public IDbTransaction BeginTransaction (IsolationLevel il)
-               {
-                       throw new InvalidOperationException();
-               }
-#endif
-               
-#if NET_2_0
-               override
-#endif
-               public void Close ()
-               {
-                       if (state != ConnectionState.Open) {
-                               return;
-                       }
-                       
-                       state = ConnectionState.Closed;
-               
-                       if (Version == 3)
-                               Sqlite.sqlite3_close (sqlite_handle);
-                       else 
-                               Sqlite.sqlite_close (sqlite_handle);
-                       sqlite_handle = IntPtr.Zero;
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public void ChangeDatabase (string databaseName)
-               {
-                       Close ();
-                       db_file = databaseName;
-                       Open ();
-               }
-               
-#if !NET_2_0
-               IDbCommand IDbConnection.CreateCommand ()
-               {
-                       return CreateCommand ();
-               }
-#endif
-               
-#if NET_2_0
-               protected override DbCommand CreateDbCommand ()
-#else
-                       public SqliteCommand CreateCommand ()
-#endif
-               {
-                       return new SqliteCommand (null, this);
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public void Open ()
-               {
-                       if (conn_str == null) {
-                               throw new InvalidOperationException ("No database specified");
-                       }
-                       
-                       if (state != ConnectionState.Closed) {
-                               return;
-                       }
-                       
-                       IntPtr errmsg = IntPtr.Zero;
-
-                       if (Version == 2){
-                               try {
-                                       sqlite_handle = Sqlite.sqlite_open(db_file, db_mode, out errmsg);
-                                       if (errmsg != IntPtr.Zero) {
-                                               string msg = Marshal.PtrToStringAnsi (errmsg);
-                                               Sqlite.sqliteFree (errmsg);
-                                               throw new ApplicationException (msg);
-                                       }
-                               } catch (DllNotFoundException) {
-                                       db_version = 3;
-                               } catch (EntryPointNotFoundException) {
-                                       db_version = 3;
-                               }
-                               
-                               if (busy_timeout != 0)
-                                       Sqlite.sqlite_busy_timeout (sqlite_handle, busy_timeout);
-                       }
-                       if (Version == 3) {
-                               int err = Sqlite.sqlite3_open16(db_file, out sqlite_handle);
-                               if (err == (int)SqliteError.ERROR)
-                                       throw new ApplicationException (Marshal.PtrToStringUni( Sqlite.sqlite3_errmsg16 (sqlite_handle)));
-                               if (busy_timeout != 0)
-                                       Sqlite.sqlite3_busy_timeout (sqlite_handle, busy_timeout);
-                       } else {
-                       }
-                       state = ConnectionState.Open;
-               }
-#endregion
-       }
-}
diff --git a/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteConnectionFactory.cs b/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteConnectionFactory.cs
deleted file mode 100644 (file)
index 3ca3911..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-//
-// Mono.Data.SqliteClient.SqliteConnectionFactory
-//
-// Author:
-//   Chris Toshok <toshok@ximian.com>
-//
-//
-// Copyright (C) 2006 Novell, Inc (http://www.novell.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-#if NET_2_0
-
-using System;
-using System.Data;
-using System.Data.Common;
-
-namespace Mono.Data.SqliteClient {
-
-       internal class SqliteConnectionFactory : DbConnectionFactory
-       {
-               internal static SqliteConnectionFactory Instance; // singleton
-                private static DbProviderFactory _providerFactory;
-               static readonly object lockobj = new object ();
-
-               private SqliteConnectionFactory (DbProviderFactory pvdrfactory)
-               {
-                        _providerFactory = pvdrfactory;
-               }
-
-               public override DbProviderFactory ProviderFactory { get { return _providerFactory; }}
-
-               // create singleton connection factory.
-               internal static DbConnectionFactory GetSingleton (DbProviderFactory pvdrFactory)
-               {
-                       lock (lockobj) {
-                               if (Instance == null)
-                                       Instance = new SqliteConnectionFactory (pvdrFactory);
-                               return Instance;
-                       }
-               }
-
-               [MonoTODO]
-                public new void ClearAllPools ()
-                {
-                        throw new NotImplementedException ();
-                }
-
-               [MonoTODO]
-                public new void ClearPool (DbConnectionBase connection)
-                {
-                        throw new NotImplementedException ();
-                }
-
-               [MonoTODO]
-                protected override DbMetaDataFactory CreateMetaDataFactory (DbConnectionInternal internalConnection)
-                {
-                        throw new NotImplementedException ();
-                }
-
-               [MonoTODO]
-                protected override DbConnectionInternal EndCreateConnection (IAsyncResult asyncResult)
-                {
-                        throw new NotImplementedException ();
-                }
-
-               [MonoTODO]
-                public new void SetConnectionPoolOptions (string connectionString, DbConnectionPoolOptions poolOptions)
-                {
-                        throw new NotImplementedException ();
-                }
-
-               [MonoTODO]
-               protected override DbConnectionInternal CreateConnection (DbConnectionString options, DbConnectionBase owningObject)
-               {
-                        throw new NotImplementedException ();
-               }
-
-               [MonoTODO]
-               protected override DbConnectionString CreateConnectionOptions (string connectionString)
-               {
-                        throw new NotImplementedException ();
-               }
-
-               [MonoTODO]
-               protected override DbConnectionPoolOptions CreateConnectionPoolOptions (DbConnectionString options)
-               {
-                        throw new NotImplementedException ();
-               }
-        }
-}
-
-#endif
diff --git a/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteConnectionStringBuilder.cs b/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteConnectionStringBuilder.cs
deleted file mode 100644 (file)
index c7d3d28..0000000
+++ /dev/null
@@ -1,287 +0,0 @@
-//
-// Mono.Data.SqliteClient.SqliteConnectionStringBuilder.cs
-//
-// Author(s):
-//   Sureshkumar T (tsureshkumar@novell.com)
-//   Marek Habersack (grendello@gmail.com)
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-// Copyright (C) 2007 Marek Habersack
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-#if NET_2_0
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.Data;
-using System.Data.Common;
-using System.Globalization;
-using System.Text;
-
-namespace Mono.Data.SqliteClient
-{
-       public sealed class SqliteConnectionStringBuilder : DbConnectionStringBuilder
-       {
-               private const string DEF_URI = null;
-               private const Int32 DEF_MODE = 0644;
-               private const Int32 DEF_VERSION = 2;
-               private const Encoding DEF_ENCODING = null;
-               private const Int32 DEF_BUSYTIMEOUT = 0;
-
-               #region // Fields
-               private string  _uri;
-               private Int32 _mode;
-               private Int32 _version;
-               private Encoding _encoding;
-               private Int32 _busy_timeout;
-               
-               private static Dictionary <string, string> _keywords; // for mapping duplicate keywords
-               #endregion // Fields
-
-               #region Constructors
-               public SqliteConnectionStringBuilder () : this (String.Empty)
-               {
-               }
-
-               public SqliteConnectionStringBuilder (string connectionString)
-               {
-                       Init ();
-                       base.ConnectionString = connectionString;
-               }
-
-               static SqliteConnectionStringBuilder ()
-               {
-                       _keywords = new Dictionary <string, string> ();
-                       _keywords ["URI"]                       = "Uri";
-                       _keywords ["DATA SOURCE"]               = "Data Source";
-                       _keywords ["DATASOURCE"]                = "Data Source";
-                       _keywords ["URI"]                       = "Data Source";
-                       _keywords ["MODE"]                      = "Mode";
-                       _keywords ["VERSION"]                   = "Version";
-                       _keywords ["BUSY TIMEOUT"]              = "Busy Timeout";
-                       _keywords ["BUSYTIMEOUT"]               = "Busy Timeout";
-                       _keywords ["ENCODING"]                  = "Encoding";
-               }
-               #endregion // Constructors
-
-               #region Properties
-               public string DataSource { 
-                       get { return _uri; }
-                       set { 
-                               base ["Data Source"] = value;
-                               _uri = value; 
-                       }
-               }
-
-               public string Uri {
-                       get { return _uri; }
-                       set {
-                               base ["Data Source"] = value;
-                               _uri = value; 
-                       }
-               }
-
-               public Int32 Mode {
-                       get { return _mode; }
-                       set {
-                               base ["Mode"] = value;
-                               _mode = value;
-                       }
-               }
-
-               public Int32 Version {
-                       get { return _version; }
-                       set {
-                               base ["Version"] = value;
-                               _version = value;
-                       }
-               }
-
-               public Int32 BusyTimeout {
-                       get { return _busy_timeout; }
-                       set {
-                               base ["Busy Timeout"] = value;
-                               _busy_timeout = value;
-                       }
-               }
-
-               public Encoding Encoding {
-                       get { return _encoding; }
-                       set {
-                               base ["Encoding"] = value;
-                               _encoding = value;
-                       }
-               }
-               
-               public override bool IsFixedSize { 
-                       get { return true; }
-               }
-
-               public override object this [string keyword] { 
-                       get { 
-                               string mapped = MapKeyword (keyword);
-                               return base [mapped]; 
-                       }
-                       set {SetValue (keyword, value);}
-               }
-
-               public override ICollection Keys { 
-                       get { return base.Keys; }
-               }
-               
-               public override ICollection Values { 
-                       get { return base.Values; }
-               }
-               #endregion // Properties
-
-               #region Methods
-               private void Init ()
-               {
-                       _uri = DEF_URI;
-                       _mode = DEF_MODE;
-                       _version = DEF_VERSION;
-                       _encoding = DEF_ENCODING;
-                       _busy_timeout = DEF_BUSYTIMEOUT;
-               }
-
-               public override void Clear ()
-               {
-                       base.Clear ();
-                       Init ();
-               }
-
-               public override bool ContainsKey (string keyword)
-               {
-                       keyword = keyword.ToUpper ().Trim ();
-                       if (_keywords.ContainsKey (keyword))
-                               return base.ContainsKey (_keywords [keyword]);
-                       return false;
-               }
-
-               public override bool Remove (string keyword)
-               {
-                       if (!ContainsKey (keyword))
-                               return false;
-                       this [keyword] = null;
-                       return true;
-               }
-
-               public override bool TryGetValue (string keyword, out object value)
-               {
-                       if (! ContainsKey (keyword)) {
-                               value = String.Empty;
-                               return false;
-                       }
-                       return base.TryGetValue (_keywords [keyword.ToUpper ().Trim ()], out value);
-               }
-
-               #endregion // Methods
-
-               #region Private Methods
-               private string MapKeyword (string keyword)
-               {
-                       keyword = keyword.ToUpper ().Trim ();
-                       if (! _keywords.ContainsKey (keyword))
-                               throw new ArgumentException("Keyword not supported :" + keyword);
-                       return _keywords [keyword];
-               }
-               
-               private void SetValue (string key, object value)
-               {
-                       if (key == null)
-                               throw new ArgumentNullException ("key cannot be null!");
-
-                       string mappedKey = MapKeyword (key);
-
-                       switch (mappedKey.ToUpper (CultureInfo.InvariantCulture).Trim ()) {
-                               case "DATA SOURCE":
-                                       if (value == null) {
-                                               _uri = DEF_URI;
-                                               base.Remove (mappedKey);
-                                       } else
-                                               this.Uri = value.ToString ();
-                                       break;                          
-
-                               case "MODE":
-                                       if (value == null) {
-                                               _mode = DEF_MODE;
-                                               base.Remove (mappedKey);
-                                       } else 
-                                               this.Mode = ConvertToInt32 (value);
-                                       break;
-
-                               case "VERSION":
-                                       if (value == null) {
-                                               _version = DEF_MODE;
-                                               base.Remove (mappedKey);
-                                       } else 
-                                               this.Version = ConvertToInt32 (value);
-                                       break;
-                                       
-                               case "BUSY TIMEOUT":
-                                       if (value == null) {
-                                               _busy_timeout = DEF_BUSYTIMEOUT;
-                                               base.Remove (mappedKey);
-                                       } else 
-                                               this.BusyTimeout = ConvertToInt32 (value);
-                                       break;
-                                       
-                               case "ENCODING" :
-                                       if (value == null) {
-                                               _encoding = DEF_ENCODING;
-                                               base.Remove (mappedKey);
-                                       } else if (value is string) {
-                                               this.Encoding = Encoding.GetEncoding ((string) value);
-                                       } else
-                                               throw new ArgumentException ("Cannot set encoding from a non-string argument");
-                                       
-                                       break;
-
-                               default :
-                                       throw new ArgumentException("Keyword not supported :" + key);
-                       }
-               }
-
-               static int ConvertToInt32 (object value) 
-                {
-                        return Int32.Parse (value.ToString (), CultureInfo.InvariantCulture);
-                }
-
-                static bool ConvertToBoolean (object value) 
-                {
-                        if (value == null)
-                                throw new ArgumentNullException ("null value cannot be converted" +
-                                                                 " to boolean");
-                        string upper = value.ToString ().ToUpper ().Trim ();
-                        if (upper == "YES" || upper == "TRUE")
-                                return true;
-                        if (upper == "NO" || upper == "FALSE")
-                                return false;
-                        throw new ArgumentException (String.Format ("Invalid boolean value: {0}",
-                                                                    value.ToString ()));
-                }
-               #endregion // Private Methods
-       }
-       
-}
-#endif // NET_2_0
diff --git a/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteDataAdapter.cs b/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteDataAdapter.cs
deleted file mode 100644 (file)
index dd33080..0000000
+++ /dev/null
@@ -1,222 +0,0 @@
-//
-// Mono.Data.SqliteClient.SqliteDataAdapter.cs
-//
-// Represents a set of data commands and a database connection that are used 
-// to fill the DataSet and update the data source.
-//
-// Author(s): Everaldo Canuto  <everaldo_canuto@yahoo.com.br>
-//
-// Copyright (C) 2004  Everaldo Canuto
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Data.Common;
-using System.Collections;
-using System.Text;
-
-namespace Mono.Data.SqliteClient
-{
-       /// <summary>
-       /// Represents a set of data commands and a database connection that are used 
-       /// to fill the <see cref="DataSet">DataSet</see> and update the data source.
-       /// </summary>
-       public class SqliteDataAdapter : DbDataAdapter
-#if !NET_2_0
-       , IDbDataAdapter
-#endif
-       {
-               #region Fields
-               
-#if !NET_2_0
-               private IDbCommand _deleteCommand;
-               private IDbCommand _insertCommand;
-               private IDbCommand _selectCommand;
-               private IDbCommand _updateCommand;
-#endif
-               
-               #endregion
-
-               #region Public Events
-               
-               /// <summary>
-               /// Occurs during <see cref="DbDataAdapter.Update">Update</see> after a 
-               /// command is executed against the data source. The attempt to update 
-               /// is made, so the event fires.
-               /// </summary>
-               public event SqliteRowUpdatedEventHandler RowUpdated;
-               
-               /// <summary>
-               /// Occurs during <see cref="DbDataAdapter.Update">Update</see> before a 
-               /// command is executed against the data source. The attempt to update 
-               /// is made, so the event fires.
-               /// </summary>
-               public event SqliteRowUpdatingEventHandler RowUpdating;
-               
-               #endregion
-
-               #region Contructors
-               
-               /// <summary>
-               /// Initializes a new instance of the <see cref="SqliteDataAdapter">SqliteDataAdapter</see> class.
-               /// </summary>
-               public SqliteDataAdapter() 
-               {
-               }
-               
-               /// <summary>
-               /// Initializes a new instance of the <see cref="SqliteDataAdapter">SqliteDataAdapter</see> class 
-               /// with the specified SqliteCommand as the SelectCommand property.
-               /// </summary>
-               /// <param name="selectCommand"></param>
-#if NET_2_0
-               public SqliteDataAdapter(DbCommand selectCommand)
-#else
-               public SqliteDataAdapter(IDbCommand selectCommand) 
-#endif
-               {
-                       SelectCommand = selectCommand;
-               }
-               
-               /// <summary>
-               /// Initializes a new instance of the <see cref="SqliteDataAdapter">SqliteDataAdapter</see> class 
-               /// with a SelectCommand and a SqliteConnection object.
-               /// </summary>
-               /// <param name="selectCommandText"></param>
-               /// <param name="connection"></param>
-               public SqliteDataAdapter(string selectCommandText, SqliteConnection connection)
-               {
-#if NET_2_0
-                       DbCommand cmd;
-#else
-                       IDbCommand cmd;
-#endif
-
-                       cmd = connection.CreateCommand();
-                       cmd.CommandText = selectCommandText;
-                       SelectCommand = cmd;
-               }
-               
-               /// <summary>
-               /// Initializes a new instance of the <see cref="SqliteDataAdapter">SqliteDataAdapter</see> class 
-               /// with a SelectCommand and a connection string.
-               /// </summary>
-               /// <param name="selectCommandText"></param>
-               /// <param name="connectionString"></param>
-               public SqliteDataAdapter(string selectCommandText, string connectionString) : this(selectCommandText ,new SqliteConnection(connectionString))
-               {
-               }
-               
-               #endregion
-
-               #region Public Properties
-               
-#if !NET_2_0
-               /// <summary>
-               /// Gets or sets a Transact-SQL statement or stored procedure to delete 
-               /// records from the data set.
-               /// </summary>
-               public IDbCommand DeleteCommand {
-                       get { return _deleteCommand; }
-                       set { _deleteCommand = value; }
-               }
-               
-               /// <summary>
-               /// Gets or sets a Transact-SQL statement or stored procedure to insert 
-               /// new records into the data source.
-               /// </summary>
-               public IDbCommand InsertCommand {
-                       get { return _insertCommand; }
-                       set { _insertCommand = value; }
-               }
-               
-               /// <summary>
-               /// Gets or sets a Transact-SQL statement or stored procedure used to 
-               /// select records in the data source.
-               /// </summary>
-               public IDbCommand SelectCommand {
-                       get { return _selectCommand; }
-                       set { _selectCommand = value; }
-               }
-               
-               /// <summary>
-               /// Gets or sets a Transact-SQL statement or stored procedure used to 
-               /// update records in the data source.
-               /// </summary>
-               public IDbCommand UpdateCommand {
-                       get { return _updateCommand; }
-                       set { _updateCommand = value; }
-               }
-#endif         
-               #endregion
-
-               #region Protected Methods
-               
-               /// <summary>
-               /// Initializes a new instance of the <see cref="RowUpdatedEventArgs">RowUpdatedEventArgs</see> class.
-               /// </summary>
-               /// <param name="dataRow">The DataRow used to update the data source.</param>
-               /// <param name="command">The IDbCommand executed during the Update.</param>
-               /// <param name="statementType">Whether the command is an UPDATE, INSERT, DELETE, or SELECT statement.</param>
-               /// <param name="tableMapping">A DataTableMapping object.</param>
-               /// <returns></returns>
-               protected override RowUpdatedEventArgs CreateRowUpdatedEvent(DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping)
-               {
-                       return new SqliteRowUpdatedEventArgs (dataRow, command, statementType, tableMapping);
-               }
-               
-               /// <summary>
-               /// 
-               /// </summary>
-               /// <param name="dataRow">The DataRow used to update the data source.</param>
-               /// <param name="command">The IDbCommand executed during the Update.</param>
-               /// <param name="statementType">Whether the command is an UPDATE, INSERT, DELETE, or SELECT statement.</param>
-               /// <param name="tableMapping">A DataTableMapping object.</param>
-               /// <returns></returns>
-               protected override RowUpdatingEventArgs CreateRowUpdatingEvent(DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping)
-               {
-                       return new SqliteRowUpdatingEventArgs(dataRow, command, statementType, tableMapping);
-               }
-               
-               /// <summary>
-               /// Raises the RowUpdated event of a Sqlite data provider.
-               /// </summary>
-               /// <param name="args">A RowUpdatedEventArgs that contains the event data.</param>
-               protected override void OnRowUpdating (RowUpdatingEventArgs args)
-               {
-                       if (RowUpdating != null)
-                               RowUpdating(this, args);
-               }
-               
-               /// <summary>
-               /// Raises the RowUpdating event of Sqlite data provider.
-               /// </summary>
-               /// <param name="args">An RowUpdatingEventArgs that contains the event data.</param>
-               protected override void OnRowUpdated (RowUpdatedEventArgs args)
-               {
-                       if (RowUpdated != null)
-                               RowUpdated(this, args);
-               }
-               
-               #endregion
-       }
-}
diff --git a/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteDataReader.cs b/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteDataReader.cs
deleted file mode 100644 (file)
index b1e0c3e..0000000
+++ /dev/null
@@ -1,591 +0,0 @@
-//
-// Mono.Data.SqliteClient.SqliteDataReader.cs
-//
-// Provides a means of reading a forward-only stream of rows from a Sqlite 
-// database file.
-//
-// Author(s): Vladimir Vukicevic  <vladimir@pobox.com>
-//            Everaldo Canuto  <everaldo_canuto@yahoo.com.br>
-//           Joshua Tauberer <tauberer@for.net>
-//
-// Copyright (C) 2002  Vladimir Vukicevic
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Runtime.InteropServices;
-using System.Collections;
-using System.Data;
-using System.Data.Common;
-
-namespace Mono.Data.SqliteClient
-{
-       public class SqliteDataReader :
-#if NET_2_0
-               DbDataReader, IDataReader, IDisposable, IDataRecord
-#else
-               MarshalByRefObject, IEnumerable, IDataReader, IDisposable, IDataRecord
-#endif
-       {
-
-               #region Fields
-               
-               private SqliteCommand command;
-               private ArrayList rows;
-               private string[] columns;
-               private Hashtable column_names_sens, column_names_insens;
-               private int current_row;
-               private bool closed;
-               private bool reading;
-               private int records_affected;
-               private string[] decltypes;
-               
-               #endregion
-
-               #region Constructors and destructors
-               
-               internal SqliteDataReader (SqliteCommand cmd, IntPtr pVm, int version)
-               {
-                       command = cmd;
-                       rows = new ArrayList ();
-                       column_names_sens = new Hashtable ();
-#if NET_2_0
-                       column_names_insens = new Hashtable (StringComparer.InvariantCultureIgnoreCase);
-#else
-                       column_names_insens = new Hashtable (CaseInsensitiveHashCodeProvider.DefaultInvariant,
-                                                            CaseInsensitiveComparer.DefaultInvariant);
-#endif
-                       closed = false;
-                       current_row = -1;
-                       reading = true;
-                       ReadpVm (pVm, version, cmd);
-                       ReadingDone ();
-               }
-               
-               #endregion
-
-               #region Properties
-               
-#if NET_2_0
-               override
-#endif
-               public int Depth {
-                       get { return 0; }
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public int FieldCount {
-                       get { return columns.Length; }
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public object this[string name] {
-                       get {
-                               return GetValue (GetOrdinal (name));
-                       }
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public object this[int i] {
-                       get { return GetValue (i); }
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public bool IsClosed {
-                       get { return closed; }
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public int RecordsAffected {
-                       get { return records_affected; }
-               }
-               
-               #endregion
-
-               #region Internal Methods
-               
-               internal void ReadpVm (IntPtr pVm, int version, SqliteCommand cmd)
-               {
-                       int pN;
-                       IntPtr pazValue;
-                       IntPtr pazColName;
-                       bool first = true;
-                       
-                       int[] declmode = null;
-
-                       while (true) {
-                               bool hasdata = cmd.ExecuteStatement(pVm, out pN, out pazValue, out pazColName);
-                       
-                               // For the first row, get the column information
-                               if (first) {
-                                       first = false;
-                                       
-                                       if (version == 3) {
-                                               // A decltype might be null if the type is unknown to sqlite.
-                                               decltypes = new string[pN];
-                                               declmode = new int[pN]; // 1 == integer, 2 == datetime
-                                               for (int i = 0; i < pN; i++) {
-                                                       IntPtr decl = Sqlite.sqlite3_column_decltype16 (pVm, i);
-                                                       if (decl != IntPtr.Zero) {
-                                                               decltypes[i] = Marshal.PtrToStringUni (decl).ToLower(System.Globalization.CultureInfo.InvariantCulture);
-                                                               if (decltypes[i] == "int" || decltypes[i] == "integer")
-                                                                       declmode[i] = 1;
-                                                               else if (decltypes[i] == "date" || decltypes[i] == "datetime")
-                                                                       declmode[i] = 2;
-                                                       }
-                                               }
-                                       }
-                                       
-                                       columns = new string[pN];       
-                                       for (int i = 0; i < pN; i++) {
-                                               string colName;
-                                               if (version == 2) {
-                                                       IntPtr fieldPtr = Marshal.ReadIntPtr (pazColName, i*IntPtr.Size);
-                                                       colName = Sqlite.HeapToString (fieldPtr, ((SqliteConnection)cmd.Connection).Encoding);
-                                               } else {
-                                                       colName = Marshal.PtrToStringUni (Sqlite.sqlite3_column_name16 (pVm, i));
-                                               }
-                                               columns[i] = colName;
-                                               column_names_sens [colName] = i;
-                                               column_names_insens [colName] = i;
-                                       }
-                               }
-
-                               if (!hasdata) break;
-                               
-                               object[] data_row = new object [pN];
-                               for (int i = 0; i < pN; i++) {
-                                       if (version == 2) {
-                                               IntPtr fieldPtr = Marshal.ReadIntPtr (pazValue, i*IntPtr.Size);
-                                               data_row[i] = Sqlite.HeapToString (fieldPtr, ((SqliteConnection)cmd.Connection).Encoding);
-                                       } else {
-                                               switch (Sqlite.sqlite3_column_type (pVm, i)) {
-                                                       case 1:
-                                                               long val = Sqlite.sqlite3_column_int64 (pVm, i);
-                                                       
-                                                               // If the column was declared as an 'int' or 'integer', let's play
-                                                               // nice and return an int (version 3 only).
-                                                               if (declmode[i] == 1 && val >= int.MinValue && val <= int.MaxValue)
-                                                                       data_row[i] = (int)val;
-                                                               
-                                                               // Or if it was declared a date or datetime, do the reverse of what we
-                                                               // do for DateTime parameters.
-                                                               else if (declmode[i] == 2)
-                                                                       data_row[i] = DateTime.FromFileTime(val);
-                                                               
-                                                               else
-                                                                       data_row[i] = val;
-                                                                       
-                                                               break;
-                                                       case 2:
-                                                               data_row[i] = Sqlite.sqlite3_column_double (pVm, i);
-                                                               break;
-                                                       case 3:
-                                                               data_row[i] = Marshal.PtrToStringUni (Sqlite.sqlite3_column_text16 (pVm, i));
-                                                               
-                                                               // If the column was declared as a 'date' or 'datetime', let's play
-                                                               // nice and return a DateTime (version 3 only).
-                                                               if (declmode[i] == 2)
-                                                                       data_row[i] = DateTime.Parse((string)data_row[i]);
-                                                               break;
-                                                       case 4:
-                                                               int blobbytes = Sqlite.sqlite3_column_bytes16 (pVm, i);
-                                                               IntPtr blobptr = Sqlite.sqlite3_column_blob (pVm, i);
-                                                               byte[] blob = new byte[blobbytes];
-                                                               Marshal.Copy (blobptr, blob, 0, blobbytes);
-                                                               data_row[i] = blob;
-                                                               break;
-                                                       case 5:
-                                                               data_row[i] = null;
-                                                               break;
-                                                       default:
-                                                               throw new ApplicationException ("FATAL: Unknown sqlite3_column_type");
-                                               }
-                                       }
-                               }
-                               
-                               rows.Add (data_row);
-                       }
-               }
-               internal void ReadingDone ()
-               {
-                       records_affected = command.NumChanges ();
-                       reading = false;
-               }
-               
-               #endregion
-
-               #region  Public Methods
-               
-#if NET_2_0
-               override
-#endif
-               public void Close ()
-               {
-                       closed = true;
-               }
-               
-#if NET_2_0
-               protected override void Dispose (bool disposing)
-               {
-                       if (disposing)
-                               Close ();
-               }
-#else
-               public void Dispose ()
-               {
-                       Close ();
-               }
-#endif
-               
-#if NET_2_0
-               public override IEnumerator GetEnumerator ()
-#else
-               IEnumerator IEnumerable.GetEnumerator () 
-#endif
-               {
-                       return new DbEnumerator (this);
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public DataTable GetSchemaTable () 
-               {
-                       DataTable dataTableSchema = new DataTable ();
-                       
-                       dataTableSchema.Columns.Add ("ColumnName", typeof (String));
-                       dataTableSchema.Columns.Add ("ColumnOrdinal", typeof (Int32));
-                       dataTableSchema.Columns.Add ("ColumnSize", typeof (Int32));
-                       dataTableSchema.Columns.Add ("NumericPrecision", typeof (Int32));
-                       dataTableSchema.Columns.Add ("NumericScale", typeof (Int32));
-                       dataTableSchema.Columns.Add ("IsUnique", typeof (Boolean));
-                       dataTableSchema.Columns.Add ("IsKey", typeof (Boolean));
-                       dataTableSchema.Columns.Add ("BaseCatalogName", typeof (String));
-                       dataTableSchema.Columns.Add ("BaseColumnName", typeof (String));
-                       dataTableSchema.Columns.Add ("BaseSchemaName", typeof (String));
-                       dataTableSchema.Columns.Add ("BaseTableName", typeof (String));
-                       dataTableSchema.Columns.Add ("DataType", typeof(Type));
-                       dataTableSchema.Columns.Add ("AllowDBNull", typeof (Boolean));
-                       dataTableSchema.Columns.Add ("ProviderType", typeof (Int32));
-                       dataTableSchema.Columns.Add ("IsAliased", typeof (Boolean));
-                       dataTableSchema.Columns.Add ("IsExpression", typeof (Boolean));
-                       dataTableSchema.Columns.Add ("IsIdentity", typeof (Boolean));
-                       dataTableSchema.Columns.Add ("IsAutoIncrement", typeof (Boolean));
-                       dataTableSchema.Columns.Add ("IsRowVersion", typeof (Boolean));
-                       dataTableSchema.Columns.Add ("IsHidden", typeof (Boolean));
-                       dataTableSchema.Columns.Add ("IsLong", typeof (Boolean));
-                       dataTableSchema.Columns.Add ("IsReadOnly", typeof (Boolean));
-                       
-                       dataTableSchema.BeginLoadData();
-                       for (int i = 0; i < this.FieldCount; i += 1 ) {
-                               
-                               DataRow schemaRow = dataTableSchema.NewRow ();
-                               
-                               schemaRow["ColumnName"] = columns[i];
-                               schemaRow["ColumnOrdinal"] = i;
-                               schemaRow["ColumnSize"] = 0;
-                               schemaRow["NumericPrecision"] = 0;
-                               schemaRow["NumericScale"] = 0;
-                               schemaRow["IsUnique"] = false;
-                               schemaRow["IsKey"] = false;
-                               schemaRow["BaseCatalogName"] = "";
-                               schemaRow["BaseColumnName"] = columns[i];
-                               schemaRow["BaseSchemaName"] = "";
-                               schemaRow["BaseTableName"] = "";
-                               schemaRow["DataType"] = typeof(string);
-                               schemaRow["AllowDBNull"] = true;
-                               schemaRow["ProviderType"] = 0;
-                               schemaRow["IsAliased"] = false;
-                               schemaRow["IsExpression"] = false;
-                               schemaRow["IsIdentity"] = false;
-                               schemaRow["IsAutoIncrement"] = false;
-                               schemaRow["IsRowVersion"] = false;
-                               schemaRow["IsHidden"] = false;
-                               schemaRow["IsLong"] = false;
-                               schemaRow["IsReadOnly"] = false;
-                               
-                               dataTableSchema.Rows.Add (schemaRow);
-                               schemaRow.AcceptChanges();
-                       }
-                       dataTableSchema.EndLoadData();
-                       
-                       return dataTableSchema;
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public bool NextResult ()
-               {
-                       current_row++;
-                       
-                       return (current_row < rows.Count);
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public bool Read ()
-               {
-                       return NextResult ();
-               }
-
-               #endregion
-               
-               #region IDataRecord getters
-               
-#if NET_2_0
-               override
-#endif
-               public bool GetBoolean (int i)
-               {
-                       return Convert.ToBoolean (((object[]) rows[current_row])[i]);
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public byte GetByte (int i)
-               {
-                       return Convert.ToByte (((object[]) rows[current_row])[i]);
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public long GetBytes (int i, long fieldOffset, byte[] buffer, int bufferOffset, int length)
-               {
-                       byte[] data = (byte[])(((object[]) rows[current_row])[i]);
-                       if (buffer != null)
-                               Array.Copy (data, fieldOffset, buffer, bufferOffset, length);
-                       return data.LongLength - fieldOffset;
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public char GetChar (int i)
-               {
-                       return Convert.ToChar (((object[]) rows[current_row])[i]);
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public long GetChars (int i, long fieldOffset, char[] buffer, int bufferOffset, int length)
-               {
-                       char[] data = (char[])(((object[]) rows[current_row])[i]);
-                       if (buffer != null)
-                               Array.Copy (data, fieldOffset, buffer, bufferOffset, length);
-                       return data.LongLength - fieldOffset;
-               }
-               
-#if !NET_2_0
-               public IDataReader GetData (int i)
-               {
-                       return ((IDataReader) this [i]);
-               }
-#endif
-               
-#if NET_2_0
-               override
-#endif
-               public string GetDataTypeName (int i)
-               {
-                       if (decltypes != null && decltypes[i] != null)
-                               return decltypes[i];
-                       return "text"; // SQL Lite data type
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public DateTime GetDateTime (int i)
-               {
-                       return Convert.ToDateTime (((object[]) rows[current_row])[i]);
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public decimal GetDecimal (int i)
-               {
-                       return Convert.ToDecimal (((object[]) rows[current_row])[i]);
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public double GetDouble (int i)
-               {
-                       return Convert.ToDouble (((object[]) rows[current_row])[i]);
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public Type GetFieldType (int i)
-               {
-                       int row = current_row;
-                       if (row == -1 && rows.Count == 0) return typeof(string);
-                       if (row == -1) row = 0;
-                       object element = ((object[]) rows[row])[i];
-                       if (element != null)
-                               return element.GetType();
-                       else
-                               return typeof (string);
-
-                       // Note that the return value isn't guaranteed to
-                       // be the same as the rows are read if different
-                       // types of information are stored in the column.
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public float GetFloat (int i)
-               {
-                       return Convert.ToSingle (((object[]) rows[current_row])[i]);
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public Guid GetGuid (int i)
-               {
-                       object value = GetValue (i);
-                       if (!(value is Guid)) {
-                               if (value is DBNull)
-                                       throw new SqliteExecutionException ("Column value must not be null");
-                               throw new InvalidCastException ("Type is " + value.GetType ().ToString ());
-                       }
-                       return ((Guid) value);
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public short GetInt16 (int i)
-               {
-                       return Convert.ToInt16 (((object[]) rows[current_row])[i]);
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public int GetInt32 (int i)
-               {
-                       return Convert.ToInt32 (((object[]) rows[current_row])[i]);
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public long GetInt64 (int i)
-               {
-                       return Convert.ToInt64 (((object[]) rows[current_row])[i]);
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public string GetName (int i)
-               {
-                       return columns[i];
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public int GetOrdinal (string name)
-               {
-                       object v = column_names_sens[name];
-                       if (v == null)
-                               v = column_names_insens[name];
-                       if (v == null)
-                               throw new ArgumentException("Column does not exist.");
-                       return (int) v;
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public string GetString (int i)
-               {
-                       return (((object[]) rows[current_row])[i]).ToString();
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public object GetValue (int i)
-               {
-                       return ((object[]) rows[current_row])[i];
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public int GetValues (object[] values)
-               {
-                       int num_to_fill = System.Math.Min (values.Length, columns.Length);
-                       for (int i = 0; i < num_to_fill; i++) {
-                               if (((object[]) rows[current_row])[i] != null) {
-                                       values[i] = ((object[]) rows[current_row])[i];
-                               } else {
-                                       values[i] = DBNull.Value;
-                               }
-                       }
-                       return num_to_fill;
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public bool IsDBNull (int i)
-               {
-                       return (((object[]) rows[current_row])[i] == null);
-               }
-
-#if NET_2_0
-               public override bool HasRows {
-                       get { return rows.Count > 0; }
-               }
-
-               // [MonoTODO]
-               public override int VisibleFieldCount {
-                       get { return FieldCount; }
-               }
-#endif
-               #endregion
-       }
-}
diff --git a/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteDataSourceEnumerator.cs b/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteDataSourceEnumerator.cs
deleted file mode 100644 (file)
index 459e3cb..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-//
-// Mono.Data.SqliteClient.SqliteDataSourceEnumerator.cs
-//
-// Author(s):
-//   Chris Toshok (toshok@ximian.com)
-//   Marek Habersack (grendello@gmail.com)
-//
-//
-// Copyright (C) 2006 Novell, Inc (http://www.novell.com)
-// Copyright (C) 2007 Marek Habersack
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-#if NET_2_0
-
-using System;
-using System.Data;
-using System.Data.Common;
-        
-namespace Mono.Data.SqliteClient
-{
-        public sealed class SqliteDataSourceEnumerator : DbDataSourceEnumerator
-       {               
-                public SqliteDataSourceEnumerator ()
-                {
-                }
-
-                public override DataTable GetDataSources ()
-                {
-                       DataTable dt = new DataTable ();
-                       DataColumn col;
-
-                       col = new DataColumn ("ServerName", typeof (string));
-                       dt.Columns.Add (col);
-                       
-                       col = new DataColumn ("InstanceName", typeof (string));
-                       dt.Columns.Add (col);
-
-                       col = new DataColumn ("IsClustered", typeof (bool));
-                       dt.Columns.Add (col);
-                       
-                       col = new DataColumn ("Version", typeof (string));
-                       dt.Columns.Add (col);
-                       
-                       col = new DataColumn ("FactoryName", typeof (string));
-                       dt.Columns.Add (col);
-
-                       DataRow dr = dt.NewRow ();
-                       dr [0] = "Sqlite Embedded Database";
-                       dr [1] = "Sqlite Default Instance";
-                       dr [2] = false;
-                       dr [3] = "?";
-                       dr [4] = "Mono.Data.SqliteClient.SqliteConnectionFactory";
-                       dt.Rows.Add (dr);
-                       
-                       return dt;
-                }                
-        }
-}
-
-#endif
diff --git a/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteExceptions.cs b/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteExceptions.cs
deleted file mode 100644 (file)
index f0c36eb..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-using System;
-using System.Data;
-
-namespace Mono.Data.SqliteClient 
-{
-       // This exception is raised whenever a statement cannot be compiled.
-       public class SqliteSyntaxException : ApplicationException
-       {
-               public SqliteSyntaxException() : this("An error occurred compiling the Sqlite command.")
-               {
-               }
-               
-               public SqliteSyntaxException(string message) : base(message)
-               {
-               }
-
-               public SqliteSyntaxException(string message, Exception cause) : base(message, cause)
-               {
-               }
-       }
-
-       // This exception is raised whenever the execution
-       // of a statement fails.
-       public class SqliteExecutionException : ApplicationException
-       {
-               public SqliteExecutionException() : this("An error occurred executing the Sqlite command.")
-               {
-               }
-               
-               public SqliteExecutionException(string message) : base(message)
-               {
-               }
-
-               public SqliteExecutionException(string message, Exception cause) : base(message, cause)
-               {
-               }
-       }
-
-       // This exception is raised whenever Sqlite says it
-       // cannot run a command because something is busy.
-       public class SqliteBusyException : SqliteExecutionException
-       {
-               public SqliteBusyException() : this("The database is locked.")
-               {
-               }
-               
-               public SqliteBusyException(string message) : base(message)
-               {
-               }
-
-               public SqliteBusyException(string message, Exception cause) : base(message, cause)
-               {
-               }
-       }
-
-}
\ No newline at end of file
diff --git a/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteParameter.cs b/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteParameter.cs
deleted file mode 100644 (file)
index b0dca17..0000000
+++ /dev/null
@@ -1,207 +0,0 @@
-//
-// Mono.Data.SqliteClient.SqliteParameter.cs
-//
-// Represents a parameter to a SqliteCommand, and optionally, its mapping to 
-// DataSet columns.
-//
-// Author(s): Vladimir Vukicevic  <vladimir@pobox.com>
-//            Everaldo Canuto  <everaldo_canuto@yahoo.com.br>
-//
-// Copyright (C) 2002  Vladimir Vukicevic
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-#if NET_2_0
-using System.Data.Common;
-#endif
-
-namespace Mono.Data.SqliteClient
-{
-       public class SqliteParameter :
-#if NET_2_0
-               DbParameter
-#else
-               IDbDataParameter
-#endif
-       {
-
-               #region Fields
-               
-               private string name;
-               private DbType type;
-               private DbType originalType;
-               private bool typeSet;
-               private string source_column;
-               private ParameterDirection direction;
-               private DataRowVersion row_version;
-               private object param_value;
-               private byte precision;
-               private byte scale;
-               private int size;
-               private bool isNullable;
-               private bool sourceColumnNullMapping;
-               
-               #endregion
-
-               #region Constructors and destructors
-               
-               public SqliteParameter ()
-               {
-                       type = DbType.String;
-                       direction = ParameterDirection.Input;
-                       isNullable = true;
-               }
-               
-               public SqliteParameter (string name, DbType type)
-               {
-                       this.name = name;
-                       this.type = type;
-                       isNullable = true;
-               }
-               
-               public SqliteParameter (string name, object value)
-               {
-                       this.name = name;
-                       type = DbType.String;
-                       param_value = value;
-                       direction = ParameterDirection.Input;
-                       isNullable = true;
-               }
-               
-               public SqliteParameter (string name, DbType type, int size) : this (name, type)
-               {
-                       this.size = size;
-               }
-               
-               public SqliteParameter (string name, DbType type, int size, string src_column) : this (name ,type, size)
-               {
-                       source_column = src_column;
-               }
-               
-               #endregion
-
-               #region Properties
-               
-#if NET_2_0
-               override
-#endif
-               public DbType DbType {
-                       get { return type; }
-                       set {
-                               if (!typeSet) {
-                                       originalType = type;
-                                       typeSet = true;
-                               }
-                               type = value;
-                               if (!typeSet)
-                                       originalType = type;
-                       }
-               }
-       
-#if NET_2_0
-               override
-#endif
-               public ParameterDirection Direction {
-                       get { return direction; }
-                       set { direction = value; }
-               }
-       
-#if NET_2_0
-               override
-#endif
-               public bool IsNullable {
-                       get { return isNullable; }
-#if NET_2_0
-                       set { isNullable = value; }
-#endif
-               }
-
-#if NET_2_0
-               override
-#endif
-               public string ParameterName {
-                       get { return name; }
-                       set { name = value; }
-               }
-       
-               public byte Precision {
-                       get { return precision; }
-                       set { precision = value; }
-               }
-               
-               public byte Scale {
-                       get { return scale; }
-                       set { scale = value; }
-               }
-
-#if NET_2_0
-               override
-#endif
-               public int Size {
-                       get { return size; }
-                       set { size = value; }
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public string SourceColumn {
-                       get { return source_column; }
-                       set { source_column = value; }
-               }
-
-#if NET_2_0
-               public override bool SourceColumnNullMapping {
-                       get { return sourceColumnNullMapping; }
-                       set { sourceColumnNullMapping = value; }
-               }
-#endif
-
-#if NET_2_0
-               override
-#endif
-               public DataRowVersion SourceVersion {
-                       get { return row_version; }
-                       set { row_version = value; }
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public object Value {
-                       get { return param_value; }
-                       set { param_value = value; }
-               }
-               
-               #endregion
-
-               #region methods
-#if NET_2_0
-               public override void ResetDbType ()
-               {
-                       type = originalType;
-               }
-#endif
-               #endregion
-       }
-}
diff --git a/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteParameterCollection.cs b/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteParameterCollection.cs
deleted file mode 100644 (file)
index 024876d..0000000
+++ /dev/null
@@ -1,432 +0,0 @@
-//
-// Mono.Data.SqliteClient.SqliteParameterCollection.cs
-//
-// Represents a collection of parameters relevant to a SqliteCommand as well as 
-// their respective mappings to columns in a DataSet.
-//
-//Author(s):           Vladimir Vukicevic  <vladimir@pobox.com>
-//                     Everaldo Canuto  <everaldo_canuto@yahoo.com.br>
-//                     Chris Turchin <chris@turchin.net>
-//                     Jeroen Zwartepoorte <jeroen@xs4all.nl>
-//                     Thomas Zoechling <thomas.zoechling@gmx.at>
-//
-// Copyright (C) 2002  Vladimir Vukicevic
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-#if NET_2_0
-using System.Data.Common;
-#endif
-using System.Collections;
-
-namespace Mono.Data.SqliteClient
-{
-       public class SqliteParameterCollection :
-#if NET_2_0
-               DbParameterCollection
-#else
-               IDataParameterCollection, IList
-#endif
-       {
-       
-               #region Fields
-               
-               ArrayList numeric_param_list = new ArrayList();
-               Hashtable named_param_hash = new Hashtable();
-               
-               #endregion
-
-               #region Private Methods
-
-               private void CheckSqliteParam (object value)
-               {
-                       if (!(value is SqliteParameter))
-                               throw new InvalidCastException ("Can only use SqliteParameter objects");
-                       SqliteParameter sqlp = value as SqliteParameter;
-                       if (sqlp.ParameterName == null || sqlp.ParameterName.Length == 0)
-                               sqlp.ParameterName = this.GenerateParameterName();
-                 }
-
-               private void RecreateNamedHash ()
-               {
-                       for (int i = 0; i < numeric_param_list.Count; i++) 
-                       {
-                               named_param_hash[((SqliteParameter) numeric_param_list[i]).ParameterName] = i;
-                       }
-               }
-
-               //FIXME: if the user is calling Insert at various locations with unnamed parameters, this is not going to work....
-               private string GenerateParameterName()
-               {
-                       int             index   = this.Count + 1;
-                       string  name    = String.Empty;
-
-                       while (index > 0)
-                       {
-                               name = ":" + index.ToString();
-                                       if (this.IndexOf(name) == -1)
-                                       index = -1;
-                               else
-                               index++;
-                       }
-                       return name;
-               }
-
-               #endregion
-
-               #region Properties
-               
-#if !NET_2_0
-               object IList.this[int index] {
-                       get 
-                       {
-                               return this[index];
-                       }
-                       set 
-                       {
-                               CheckSqliteParam (value);
-                               this[index] = (SqliteParameter) value;
-                       }
-               }
-
-               object IDataParameterCollection.this[string parameterName] {
-                       get 
-                       {
-                               return this[parameterName];
-                       }
-                       set 
-                       {
-                               CheckSqliteParam (value);
-                               this[parameterName] = (SqliteParameter) value;
-                       }
-               }
-#endif
-               
-               private bool isPrefixed (string parameterName)
-               {
-                       return parameterName.Length > 1 && (parameterName[0] == ':' || parameterName[0] == '$');
-               }
-
-#if NET_2_0
-               protected override DbParameter GetParameter (int parameterIndex)
-#else
-               SqliteParameter GetParameter (int parameterIndex)
-#endif
-               {
-                       if (this.Count >= parameterIndex+1)
-                               return (SqliteParameter) numeric_param_list[parameterIndex];
-                       else          
-                               throw new IndexOutOfRangeException("The specified parameter index does not exist: " + parameterIndex.ToString());
-               }
-
-#if NET_2_0
-               protected override DbParameter GetParameter (string parameterName)
-#else
-               SqliteParameter GetParameter (string parameterName)
-#endif
-               {
-                       if (this.Contains(parameterName))
-                               return this[(int) named_param_hash[parameterName]];
-                       else if (isPrefixed(parameterName) && this.Contains(parameterName.Substring(1)))
-                               return this[(int) named_param_hash[parameterName.Substring(1)]];
-                       else
-                               throw new IndexOutOfRangeException("The specified name does not exist: " + parameterName);
-               }
-
-#if NET_2_0
-               protected override void SetParameter (int parameterIndex, DbParameter parameter)
-#else
-               void SetParameter (int parameterIndex, SqliteParameter parameter)
-#endif
-               {
-                       if (this.Count >= parameterIndex+1)
-                               numeric_param_list[parameterIndex] = parameter;
-                       else          
-                               throw new IndexOutOfRangeException("The specified parameter index does not exist: " + parameterIndex.ToString());
-               }
-
-#if NET_2_0
-               protected override void SetParameter (string parameterName, DbParameter parameter)
-#else
-               void SetParameter (string parameterName, SqliteParameter parameter)
-#endif
-               {
-                       if (this.Contains(parameterName))
-                               numeric_param_list[(int) named_param_hash[parameterName]] = parameter;
-                       else if (parameterName.Length > 1 && this.Contains(parameterName.Substring(1)))
-                               numeric_param_list[(int) named_param_hash[parameterName.Substring(1)]] = parameter;
-                       else
-                               throw new IndexOutOfRangeException("The specified name does not exist: " + parameterName);
-               }
-
-#if !NET_2_0
-               public SqliteParameter this[string parameterName] 
-               {
-                       get { return GetParameter (parameterName); }
-                       set { SetParameter (parameterName, value); }
-               }
-
-               public SqliteParameter this[int parameterIndex]
-               {
-                       get { return GetParameter (parameterIndex); }
-                       set { SetParameter (parameterIndex, value); }
-               }
-#endif
-
-#if NET_2_0
-               override
-#endif
-               public int Count 
-               {
-                       get
-                       {
-                               return this.numeric_param_list.Count;
-                       }
-               }
-
-#if NET_2_0
-               public override bool IsFixedSize
-#else
-               bool IList.IsFixedSize
-#endif
-               {
-                       get
-                       {
-                               return this.numeric_param_list.IsFixedSize;
-                       }
-               }
-
-#if NET_2_0
-               public override bool IsReadOnly
-#else
-               bool IList.IsReadOnly
-#endif
-               {
-                       get
-                       {
-                               return this.numeric_param_list.IsReadOnly;
-                       }
-               }
-
-
-#if NET_2_0
-               public override bool IsSynchronized
-#else
-               bool ICollection.IsSynchronized 
-#endif
-               {
-                       get
-                       {
-                               return this.numeric_param_list.IsSynchronized;
-                       }
-               }
-               
-
-#if NET_2_0
-               public override object SyncRoot
-#else
-               object ICollection.SyncRoot 
-#endif
-               {
-                       get
-                       {
-                               return this.numeric_param_list.SyncRoot;
-                       }
-               }
-
-               #endregion
-
-               #region Public Methods
-
-#if NET_2_0
-               public override void AddRange (Array values)
-               {
-                       if (values == null || values.Length == 0)
-                               return;
-
-                       foreach (object value in values)
-                               Add (value);
-               }
-#endif
-               
-#if NET_2_0
-               override
-#endif
-               public int Add (object value)
-               {
-                       CheckSqliteParam (value);
-                       SqliteParameter sqlp = value as SqliteParameter;
-                       if (named_param_hash.Contains (sqlp.ParameterName))
-                               throw new DuplicateNameException ("Parameter collection already contains the a SqliteParameter with the given ParameterName.");
-                       named_param_hash[sqlp.ParameterName] = numeric_param_list.Add(value);
-                               return (int) named_param_hash[sqlp.ParameterName];
-               }
-
-               public SqliteParameter Add (SqliteParameter param)
-               {
-                       Add ((object)param);
-                       return param;
-               }
-               
-               public SqliteParameter Add (string name, object value)
-               {
-                       return Add (new SqliteParameter (name, value));
-               }
-               
-               public SqliteParameter Add (string name, DbType type)
-               {
-                       return Add (new SqliteParameter (name, type));
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public void Clear ()
-               {
-                       numeric_param_list.Clear ();
-                       named_param_hash.Clear ();
-               }
-       
-#if NET_2_0
-               override
-#endif
-               public void CopyTo (Array array, int index)
-               {
-                       this.numeric_param_list.CopyTo(array, index);
-               }
-               
-#if NET_2_0
-               public override bool Contains (object value)
-#else
-               bool IList.Contains (object value)
-#endif
-               {
-                       return Contains ((SqliteParameter) value);
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public bool Contains (string parameterName)
-               {
-                       return named_param_hash.Contains (parameterName);
-               }
-               
-               public bool Contains (SqliteParameter param)
-               {
-                       return Contains (param.ParameterName);
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public IEnumerator GetEnumerator ()
-               {
-                       return this.numeric_param_list.GetEnumerator();
-               }
-               
-#if NET_2_0
-               public override int IndexOf (object param)
-#else
-               int IList.IndexOf (object param)
-#endif
-               {
-                       return IndexOf ((SqliteParameter) param);
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public int IndexOf (string parameterName)
-               {
-                       if (isPrefixed (parameterName)){
-                               string sub = parameterName.Substring (1);
-                               if (named_param_hash.Contains(sub))
-                                       return (int) named_param_hash [sub];
-                       }
-                       if (named_param_hash.Contains(parameterName))
-                               return (int) named_param_hash[parameterName];
-                       else 
-                               return -1;
-               }
-               
-               public int IndexOf (SqliteParameter param)
-               {
-                       return IndexOf (param.ParameterName);
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public void Insert (int index, object value)
-               {
-                       CheckSqliteParam (value);
-                       if (numeric_param_list.Count == index) 
-                       {
-                               Add (value);
-                               return;
-                       }
-                       
-                       numeric_param_list.Insert (index, value);
-                       RecreateNamedHash ();
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public void Remove (object value)
-               {
-                       CheckSqliteParam (value);
-                       RemoveAt ((SqliteParameter) value);
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public void RemoveAt (int index)
-               {
-                       RemoveAt (((SqliteParameter) numeric_param_list[index]).ParameterName);
-               }
-               
-#if NET_2_0
-               override
-#endif
-               public void RemoveAt (string parameterName)
-               {
-                       if (!named_param_hash.Contains (parameterName))
-                               throw new ApplicationException ("Parameter " + parameterName + " not found");
-                       
-                       numeric_param_list.RemoveAt ((int) named_param_hash[parameterName]);
-                       named_param_hash.Remove (parameterName);
-                       
-                       RecreateNamedHash ();
-               }
-               
-               public void RemoveAt (SqliteParameter param)
-               {
-                       RemoveAt (param.ParameterName);
-               }
-
-               #endregion
-       }
-}
diff --git a/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteRowUpdatedEventArgs.cs b/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteRowUpdatedEventArgs.cs
deleted file mode 100644 (file)
index a6571b7..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-//
-// Mono.Data.SqliteClient.SqliteRowUpdatedEventArgs.cs
-//
-// Provides data for the RowUpdated event.
-//
-// Author(s): Everaldo Canuto  <everaldo_canuto@yahoo.com.br>
-//
-// Copyright (C) 2004  Everaldo Canuto
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Data.Common;
-
-namespace Mono.Data.SqliteClient
-{
-       /// <summary>
-       /// Provides data for the <see cref="SqliteDataAdapter.RowUpdated"/> event.
-       /// </summary>
-       public sealed class SqliteRowUpdatedEventArgs : RowUpdatedEventArgs
-       {
-               /// <summary>
-               /// Initializes a new instance of the <see cref="SqliteRowUpdatedEventArgs"/> class.
-               /// </summary>
-               public SqliteRowUpdatedEventArgs(DataRow row, IDbCommand command, StatementType statementType, DataTableMapping tableMapping) : base(row, command, statementType, tableMapping)
-               {
-               }
-       }
-}
diff --git a/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteRowUpdatedEventHandler.cs b/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteRowUpdatedEventHandler.cs
deleted file mode 100644 (file)
index 033e457..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-//
-// Mono.Data.SqliteClient.SqliteRowUpdatedEventHandler.cs
-//
-// Represents the method that will handle the RowUpdated event of a 
-// SqliteDataAdapter.
-//
-// Author(s): Everaldo Canuto  <everaldo_canuto@yahoo.com.br>
-//
-// Copyright (C) 2004  Everaldo Canuto
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Data.Common;
-
-namespace Mono.Data.SqliteClient
-{
-       /// <summary>
-       /// Represents the method that will handle the <see cref="SqliteDataAdapter.RowUpdated"/> event 
-       /// of a <see cref="SqliteDataAdapter"/>.
-       /// </summary>
-       public delegate void SqliteRowUpdatedEventHandler(Object sender, RowUpdatedEventArgs e);
-}
diff --git a/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteRowUpdatingEventArgs.cs b/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteRowUpdatingEventArgs.cs
deleted file mode 100644 (file)
index b27bcdc..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-//
-// Mono.Data.SqliteClient.SqliteRowUpdatingEventArgs.cs
-//
-// Provides data for the RowUpdating event.
-//
-// Author(s): Everaldo Canuto  <everaldo_canuto@yahoo.com.br>
-//
-// Copyright (C) 2004  Everaldo Canuto
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Data.Common;
-
-namespace Mono.Data.SqliteClient
-{
-       /// <summary>
-       /// Provides data for the <see cref="SqliteDataAdapter.RowUpdating"/> event. 
-       /// </summary>
-       public sealed class SqliteRowUpdatingEventArgs : RowUpdatingEventArgs
-       {
-               /// <summary>
-               /// Initializes a new instance of the <see cref="SqliteRowUpdatingEventArgs"/> class.
-               /// </summary>
-               public SqliteRowUpdatingEventArgs(DataRow row, IDbCommand command, StatementType statementType, DataTableMapping tableMapping) : base(row, command, statementType, tableMapping)
-               {
-               }
-       }
-}
diff --git a/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteRowUpdatingEventHandler.cs b/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteRowUpdatingEventHandler.cs
deleted file mode 100644 (file)
index 9a558c1..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-//
-// Mono.Data.SqliteClient.SqliteRowUpdatingEventHandler.cs
-//
-// Represents the method that will handle the RowUpdating event of a 
-// SqliteDataAdapter.
-//
-// Author(s): Everaldo Canuto  <everaldo_canuto@yahoo.com.br>
-//
-// Copyright (C) 2004  Everaldo Canuto
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-using System.Data.Common;
-
-namespace Mono.Data.SqliteClient
-{
-       /// <summary>
-       /// Represents the method that will handle the <see cref="SqliteDataAdapter.RowUpdating"/> event 
-       /// of a <see cref="SqliteDataAdapter"/>.
-       /// </summary>
-       public delegate void SqliteRowUpdatingEventHandler(Object sender, RowUpdatingEventArgs e);
-}
diff --git a/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteTransaction.cs b/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteTransaction.cs
deleted file mode 100644 (file)
index 556be0d..0000000
+++ /dev/null
@@ -1,154 +0,0 @@
-//
-// Mono.Data.SqliteClient.SqliteTransaction.cs
-//
-// Mono.Data.SqliteClient data access components for .Net
-// Derived from ByteFX.Data
-// With permission from Reggie Burnett to relicense under MIT/X11
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Data;
-#if NET_2_0
-using System.Data.Common;
-#endif
-
-namespace Mono.Data.SqliteClient
-{
-       public sealed class SqliteTransaction :
-#if NET_2_0
-               DbTransaction
-#else
-               IDbTransaction
-#endif
-       {
-       
-               #region Fields
-               
-               private IsolationLevel _isolationLevel;
-               private SqliteConnection _connection;
-               private bool _open;
-               
-               #endregion
-
-               #region Contructors and destructors
-               
-               internal SqliteTransaction() 
-               {
-                       _open = true;
-               }
-
-#if !NET_2_0
-               void System.IDisposable.Dispose()
-               {
-               }
-#endif
-
-               #endregion
-
-               #region Public Properties
-
-#if NET_2_0
-               protected override DbConnection DbConnection
-#else
-               public IDbConnection Connection
-#endif
-               {
-                       get { return _connection; } 
-#if !NET_2_0
-                       set { _connection = (SqliteConnection)value; }
-#endif
-               }
-
-#if NET_2_0
-               override
-#endif
-               public IsolationLevel IsolationLevel
-               {
-                       get { return _isolationLevel; }
-#if !NET_2_0
-                       set { _isolationLevel = value; }
-#endif
-               }
-
-#if NET_2_0
-               internal void SetConnection (DbConnection conn)
-               {
-                       _connection = (SqliteConnection)conn;
-               }
-
-               internal void SetIsolationLevel (IsolationLevel level)
-               {
-                       _isolationLevel = level;
-               }
-#endif
-
-               #endregion
-               
-               #region Public Methods
-
-#if NET_2_0
-               override
-#endif
-               public void Commit()
-               {
-                       if (_connection == null || _connection.State != ConnectionState.Open)
-                               throw new InvalidOperationException("Connection must be valid and open to commit transaction");
-                       if (!_open)
-                               throw new InvalidOperationException("Transaction has already been committed or is not pending");
-                       try 
-                       {
-                               SqliteCommand cmd = (SqliteCommand)_connection.CreateCommand();
-                               cmd.CommandText = "COMMIT";
-                               cmd.ExecuteNonQuery();
-                               _open = false;
-                       }
-                       catch (Exception ex) 
-                       {
-                               throw ex;
-                       }
-               }
-
-#if NET_2_0
-               override
-#endif
-               public void Rollback()
-               {
-                       if (_connection == null || _connection.State != ConnectionState.Open)
-                               throw new InvalidOperationException("Connection must be valid and open to commit transaction");
-                       if (!_open)
-                               throw new InvalidOperationException("Transaction has already been rolled back or is not pending");
-                       try 
-                       {
-                               SqliteCommand cmd = (SqliteCommand)_connection.CreateCommand();
-                               cmd.CommandText = "ROLLBACK";
-                               cmd.ExecuteNonQuery();
-                               _open = false;
-                       }
-                       catch (Exception ex) 
-                       {
-                               throw ex;
-                       }
-               }
-               
-               #endregion
-       }
-}
diff --git a/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient_test.dll.sources b/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient_test.dll.sources
deleted file mode 100644 (file)
index c62bf59..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-SqliteCommandUnitTests.cs
-SqliteConnectionTest.cs
-SqliteDataAdapterUnitTests.cs
-SqliteDataReaderTest.cs
-SqliteExceptionUnitTests.cs
-SqliteParameterUnitTests.cs
-
diff --git a/mcs/class/Mono.Data.SqliteClient/THIS_IS_OBSOLETE b/mcs/class/Mono.Data.SqliteClient/THIS_IS_OBSOLETE
deleted file mode 100644 (file)
index 6fcb4cf..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-
-Use the Mono.Data.Sqlite instead
diff --git a/mcs/class/Mono.Data.SqliteClient/Test/ChangeLog b/mcs/class/Mono.Data.SqliteClient/Test/ChangeLog
deleted file mode 100644 (file)
index c0d3101..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-2009-01-19  Zoltan Varga  <vargaz@gmail.com>
-
-       * SqliteCommandUnitTests.cs: Fix test ordering issues with the new nunit
-       version by marking Create () as [SetUp] instead of [Test].
-
-2007-01-16  Nagappan A  <anagappan@novell.com>
-
-       * SqliteDataAdapterUnitTests.cs (GetSchemaTable): Type casted to
-       fix compiler error.
-
-       * SqliteDataReaderTest.cs (GetSchemaTableTest)
-       (TypeOfNullInResultTest): Type casted to fix compiler error.
-
-2006-03-11  Joshua Tauberer <tauberer@for.net>
-
-       * SqliteTest.cs: Test ANSI characters.
-
-2006-03-07  Kamil Skalski  <nazgul@nemerle.org>
-
-       * SqliteDataReaderTest.cs: Add test for getting field type of null
-       value
-
-2006-01-29  Joshua Tauberer <tauberer@for.net>
-
-       * Added tests from Thomas Zoechling <thomas.zoechling@gmx.at>.
-
-2006-01-02  Joshua Tauberer <tauberer@for.net>
-
-       * SqliteTest.cs: Cleaned up and added new stuff.
-
-2005-05-20  Sureshkumar T  <tsureshkumar@novell.com>
-
-       * test.sql: script to create a test db.
-       * SqliteConnectionTest.cs: Added. Tests for SqliteConnection.
-       * SqliteDataReaderTest.cs: Added. Tests for SqliteDataReader.
-
-
-
diff --git a/mcs/class/Mono.Data.SqliteClient/Test/SqliteCommandUnitTests.cs b/mcs/class/Mono.Data.SqliteClient/Test/SqliteCommandUnitTests.cs
deleted file mode 100644 (file)
index ec385de..0000000
+++ /dev/null
@@ -1,194 +0,0 @@
-// SqliteDataAdapterUnitTests.cs - NUnit Test Cases for Mono.Data.SqliteClient.SqliteDataAdapter
-//
-// Author(s):  Thomas Zoechling <thomas.zoechling@gmx.at>
-
-
-using System;
-using System.Data;
-using System.IO;
-using System.Text;
-using Mono.Data.SqliteClient;
-using NUnit.Framework;
-
-namespace MonoTests.Mono.Data.SqliteClient
-{
-       
-       [TestFixture]
-       public class SqliteCommandUnitTests
-       {
-               readonly static string _uri = "SqliteTest.db";
-               readonly static string _connectionString = "URI=file://" + _uri + ", version=3";
-               static SqliteConnection _conn = new SqliteConnection (_connectionString);
-               readonly static string stringvalue = "my keyboard is better than yours : äöüß";
-
-               public SqliteCommandUnitTests()
-               {
-               }
-               
-               [SetUp]
-               public void Create()
-               {
-                       try
-                       {
-                               if(File.Exists(_uri))
-                               {
-                                       _conn.Dispose();
-                                       // We want to start with a fresh db for each full run
-                                       // The database is created on the first open()
-                                       File.Delete(_uri);
-                                       _conn = new SqliteConnection (_connectionString);
-                               }
-                       }
-                       catch(Exception e)
-                       {
-                               throw e;
-                       }
-                       
-                       SqliteCommand createCommand = new SqliteCommand("CREATE TABLE t1(t  TEXT,  f FLOAT, i INTEGER, b TEXT);",_conn);
-                       SqliteCommand insertCommand = new SqliteCommand("INSERT INTO t1  (t, f, i, b ) VALUES('" + stringvalue + "',123,123,'123')",_conn);
-
-                       try
-                       {
-                               _conn.Open();
-                               createCommand.ExecuteNonQuery();
-                               insertCommand.ExecuteNonQuery();
-                       }
-                       catch(Exception e)
-                       {
-                               throw new AssertionException("Create table failed",e);
-                       }
-                       finally
-                       {
-                               _conn.Close();  
-                       }
-               }
-               
-               [Test]  
-               public void Select()
-               {
-                       SqliteCommand simpleSelect = new SqliteCommand("SELECT * FROM t1;  ", _conn); // check trailing spaces
-                       using(_conn)
-                       {
-                               _conn.Open();
-                               SqliteDataReader dr = simpleSelect.ExecuteReader();
-                               while(dr.Read())
-                               {
-                                       string test = dr[0].ToString();
-                                       Assert.AreEqual(dr["T"], stringvalue); // also checks case-insensitive column
-                                       Assert.AreEqual(dr["F"], 123);
-                                       Assert.AreEqual(dr["I"], 123);
-                                       Assert.AreEqual(dr["B"], "123");
-                               }
-                               Assert.IsTrue(dr.FieldCount>0);
-                       }
-               }
-               
-               [Test]
-               public void Delete()
-               {
-                       SqliteCommand insCmd = new SqliteCommand("INSERT INTO t1 VALUES ('todelete',0.1,0,'')",_conn);
-                       SqliteCommand delCmd = new SqliteCommand("DELETE FROM t1 WHERE t = 'todelete'",_conn);
-                       using(_conn)
-                       {
-                               _conn.Open();
-                               int insReturn = insCmd.ExecuteNonQuery();
-                               int delReturn = delCmd.ExecuteNonQuery();
-                       
-                               Assert.IsTrue(insReturn == delReturn);
-                       }
-               }
-               
-               [Test]
-               public void Insert()
-               {
-                       SqliteCommand insCmd = new SqliteCommand("INSERT INTO t1 VALUES ('inserted',0.1,0,'')",_conn);
-                       using(_conn)
-                       {
-                               _conn.Open();
-                               int insReturn = insCmd.ExecuteNonQuery();
-                               Assert.IsTrue(insReturn == 1);
-                       }
-               }
-               
-               [Test]
-               public void Update()
-               {
-                       SqliteCommand insCmd = new SqliteCommand("INSERT INTO t1 VALUES ('toupdate',0.1,0,'')",_conn);
-                       SqliteCommand updCmd = new SqliteCommand("UPDATE t1 SET t = 'updated' ,f = 2.0, i = 2, b = '' WHERE t = 'toupdate'",_conn);
-                       using(_conn)
-                       {
-                               _conn.Open();
-                               insCmd.ExecuteNonQuery();
-                               Assert.IsTrue(updCmd.ExecuteNonQuery() == 1);
-                       }
-               }
-
-               
-               [Test]
-               public void ScalarReturn()
-               {
-                       // This should return the 1 line that got inserted in CreateTable() Test
-                       SqliteCommand cmd = new SqliteCommand("SELECT COUNT(*) FROM t1 WHERE  t LIKE '%äöüß'",_conn);
-                       using(_conn)
-                       {
-                               _conn.Open();
-                               Assert.AreEqual(1, Convert.ToInt32(cmd.ExecuteScalar()));
-                       }
-               }
-               
-               [Test]
-               public void InsertWithTransaction()
-               {
-                       _conn.Open();
-                       SqliteTransaction t = _conn.BeginTransaction() as SqliteTransaction;
-                       SqliteCommand  c1 = new SqliteCommand("INSERT INTO t1 VALUES ('a',0.1,0,'0')",_conn,t);
-                       SqliteCommand  c2 = new SqliteCommand("INSERT INTO t1 VALUES ('b',1.2,0,'0')",_conn,t);
-                       SqliteCommand  c3 = new SqliteCommand("INSERT INTO t1 VALUES ('c',0.3,1,'0')",_conn,t);
-                       SqliteCommand  c4 = new SqliteCommand("INSERT INTO t1 VALUES ('d',0.4,0,'1')",_conn,t);
-                       using(_conn)
-                       {
-                               try
-                               {
-                                       c1.ExecuteNonQuery();
-                                       c2.ExecuteNonQuery();
-                                       c3.ExecuteNonQuery();
-                                       c4.ExecuteNonQuery();
-                                       t.Commit();
-                               }
-                               catch(Exception e)
-                               {
-                                       t.Rollback();
-                                       throw new AssertionException("Sqlite Commands failed", e);
-                               }
-                       }
-               }
-               
-               [Test]
-               [ExpectedException(typeof(SqliteSyntaxException))]
-               public void InsertWithFailingTransaction()
-               {
-                       _conn.Open();
-                       SqliteTransaction t = _conn.BeginTransaction() as SqliteTransaction;
-                       SqliteCommand  c1 = new SqliteCommand("INSERT INTO t1 VALUES ('1','0','0','0')",_conn,t);
-                       SqliteCommand  c2 = new SqliteCommand("INSERT INTO t1 VALUES ('0','1','0','0')",_conn,t);
-                       SqliteCommand  c3 = new SqliteCommand("INSERT INTO t1 VALUES ('x',?,'x',?,'x',?,'x')",_conn,t);
-                       SqliteCommand  c4 = new SqliteCommand("INSERT INTO t1 VALUES ('0','0','0','1')",_conn,t);
-                       using(_conn)
-                       {
-                               try
-                               {
-                                       c1.ExecuteNonQuery();
-                                       c2.ExecuteNonQuery();
-                                       c3.ExecuteNonQuery();
-                                       c4.ExecuteNonQuery();
-                                       t.Commit();
-                               }
-                               catch(Exception e)
-                               {
-                                       t.Rollback();
-                                       throw e;
-                               }
-                       }
-               }
-       }
-}
\ No newline at end of file
diff --git a/mcs/class/Mono.Data.SqliteClient/Test/SqliteConnectionTest.cs b/mcs/class/Mono.Data.SqliteClient/Test/SqliteConnectionTest.cs
deleted file mode 100644 (file)
index ae87c27..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-// SqliteConnectionTest.cs - NUnit Test Cases for SqliteConnection
-//
-// Authors:
-//   Sureshkumar T <tsureshkumar@novell.com>
-// 
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-
-using System;
-using System.Data;
-using Mono.Data.SqliteClient;
-
-using NUnit.Framework;
-
-namespace MonoTests.Mono.Data.SqliteClient
-{
-        [TestFixture]
-        public class SqliteConnectionTest
-        {
-                readonly static string _uri = "test.db";
-                readonly static string _connectionString = "URI=file://" + _uri + ", version=3";
-                SqliteConnection _conn = new SqliteConnection ();
-
-                
-                [Test]
-                [ExpectedException (typeof (InvalidOperationException))]
-                public void ConnectionStringTest_Empty ()
-                {
-                        _conn.ConnectionString = "";
-                }
-
-                [Test]
-                [ExpectedException (typeof (InvalidOperationException))]
-                public void ConnectionStringTest_NoURI ()
-                {
-                        _conn.ConnectionString = "version=3";
-                }
-
-                [Test]
-                public void ConnectionStringTest_IgnoreSpacesAndTrim ()
-                {
-                        _conn.ConnectionString = "URI=file://xyz      , ,,, ,, version=3";
-                        Assert.AreEqual ("xyz", _conn.Database, "#1 file path is wrong");
-                }
-
-                               // behavior has changed, I guess
-                //[Test]
-                [Ignore ("opening a connection should not create db! though, leave for now")]
-                public void OpenTest ()
-                {
-                        try {
-                                _conn.ConnectionString = _connectionString;
-                                _conn.Open ();
-                                Assert.AreEqual (ConnectionState.Open, _conn.State, "#1 not opened");
-                                _conn.Close ();
-
-                                // negative test: try opening a non-existent file
-                                _conn.ConnectionString = "URI=file://abcdefgh.db, version=3";
-                                try {
-                                        _conn.Open ();
-                                        Assert.Fail ("#1 should have failed on opening a non-existent db");
-                                } catch (ArgumentException e) {Console.WriteLine (e);}
-                                
-                        } finally {
-                                if (_conn != null && _conn.State != ConnectionState.Closed)
-                                        _conn.Close ();
-                        }
-                }
-
-        }
-}
diff --git a/mcs/class/Mono.Data.SqliteClient/Test/SqliteDataAdapterUnitTests.cs b/mcs/class/Mono.Data.SqliteClient/Test/SqliteDataAdapterUnitTests.cs
deleted file mode 100644 (file)
index 7b2e07e..0000000
+++ /dev/null
@@ -1,155 +0,0 @@
-// SqliteDataAdapterUnitTests.cs - NUnit Test Cases for Mono.Data.SqliteClient.SqliteDataAdapter
-//
-// Author(s):  Thomas Zoechling <thomas.zoechling@gmx.at>
-
-
-using System;
-using System.Data;
-using System.IO;
-using System.Text;
-using Mono.Data.SqliteClient;
-using NUnit.Framework;
-
-namespace MonoTests.Mono.Data.SqliteClient
-{
-       [TestFixture]
-       public class SqliteDataAdapterUnitTests
-       {
-               readonly static string _uri = "SqliteTest.db";
-               readonly static string _connectionString = "URI=file://" + _uri + ", version=3";
-               static SqliteConnection _conn = new SqliteConnection (_connectionString);
-        
-               static SqliteDataAdapter PrepareDataAdapter()
-               {
-                       SqliteCommand select  = new SqliteCommand("SELECT t, f, i, b FROM t1",_conn);
-                       SqliteCommand update = new SqliteCommand("UPDATE t1 SET t = :textP, f = :floatP, i = :integerP, n=:blobP WHERE t = :textP ");
-                       update.Connection=_conn;
-                       SqliteCommand delete = new SqliteCommand("DELETE FROM t1 WHERE t = :textP");
-                       delete.Connection=_conn;
-                       SqliteCommand insert = new SqliteCommand("INSERT INTO t1  (t, f, i, b ) VALUES(:textP,:floatP,:integerP,:blobP)");
-                       insert.Connection=_conn;
-                       SqliteDataAdapter custDA = new SqliteDataAdapter(select);
-               
-                       SqliteParameter textP = new SqliteParameter();
-                       textP.ParameterName = "textP";
-                       textP.SourceColumn = "t";
-               
-                       SqliteParameter floatP = new SqliteParameter();
-                       floatP.ParameterName = "floatP";
-                       floatP.SourceColumn = "f";
-               
-                       SqliteParameter integerP = new SqliteParameter();
-                       integerP.ParameterName ="integerP";
-                       integerP.SourceColumn = "i";
-
-                       SqliteParameter blobP = new SqliteParameter();
-                       blobP.ParameterName = "blobP";
-                       blobP.SourceColumn = "b";
-               
-                       update.Parameters.Add(textP);
-                       update.Parameters.Add(floatP);
-                       update.Parameters.Add(integerP);
-                       update.Parameters.Add(blobP);
-               
-                       delete.Parameters.Add(textP);
-               
-                       insert.Parameters.Add(textP);
-                       insert.Parameters.Add(floatP);
-                       insert.Parameters.Add(integerP);
-                       insert.Parameters.Add(blobP);
-               
-                       custDA.UpdateCommand = update;
-                       custDA.DeleteCommand = delete;
-                       custDA.InsertCommand = insert;
-               
-                       return custDA;
-               }
-
-               [Test]
-               public void GetSchemaTable()
-               {
-                       _conn.ConnectionString = _connectionString;
-                       SqliteDataReader reader = null;
-                       using (_conn) 
-                       {
-                               _conn.Open ();
-                               SqliteCommand cmd = (SqliteCommand) _conn.CreateCommand ();
-                               cmd.CommandText = "select * from t1";
-                               reader = cmd.ExecuteReader ();
-                               try 
-                               {
-                                       DataTable dt = reader.GetSchemaTable ();
-                                       Assert.IsNotNull (dt, "#GS1 should return valid table");
-                                       Assert.IsTrue (dt.Rows.Count > 0, "#GS2 should return with rows ;-)");
-                               }
-                               finally 
-                               {
-                                       if (reader != null && !reader.IsClosed)
-                                               reader.Close ();
-                                       _conn.Close ();
-                               }
-                       }
-               }
-
-               [Test]
-               public void DataAdapterRandomValues()
-               {
-                       SqliteDataAdapter da = PrepareDataAdapter();
-                       DataSet ds = new DataSet();
-                       int i = 0;
-                       Random random = new Random();
-                       using(_conn)
-                       {
-                               _conn.Open();
-                               da.Fill(ds);
-                               for(; i<300;i++)
-                               {
-                                       DataRow dr = ds.Tables[0].NewRow();
-                                       
-                                       foreach(DataColumn dc in ds.Tables[0].Columns)
-                                       {
-                                               switch(dc.DataType.Name)
-                                               {
-                                                       case "String":
-                                                       {
-                                                               int ml=0;
-                                                               if(dc.MaxLength!=-1)
-                                                               {
-                                                                       ml=dc.MaxLength;
-                                                               }
-                                                               else
-                                                               {
-                                                                       ml=256;
-                                                               }
-                                                               StringBuilder builder = new StringBuilder(ml);
-                                                               for (int k=0; k < random.Next(ml); k++)
-                                                               {
-                                                                       builder.Append((char)random.Next(65536));
-                                               
-                                                               }
-                                                               string curs = builder.ToString();
-                                                               dr[dc]=curs;
-                                                               break;
-                                                       }
-
-                                                       case "Int32":
-                                                       {
-                                                               dr[dc]=random.Next(65536);
-                                                               break;
-                                                       }
-
-                                                       case "Int64":
-                                                       {
-                                                               dr[dc]=Convert.ToInt64(random.Next(65536));
-                                                               break;
-                                                       }
-                                               }
-                                       }
-                                       ds.Tables[0].Rows.Add(dr);
-                               }
-                               int res = da.Update(ds);
-                               Assert.AreEqual(i,res);
-                       }
-               }
-       }
-}
diff --git a/mcs/class/Mono.Data.SqliteClient/Test/SqliteDataReaderTest.cs b/mcs/class/Mono.Data.SqliteClient/Test/SqliteDataReaderTest.cs
deleted file mode 100644 (file)
index 2e9fa52..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-// SqliteDataReaderTest.cs - NUnit Test Cases for SqliteDataReader
-//
-// Authors:
-//   Sureshkumar T <tsureshkumar@novell.com>
-// 
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-
-using System;
-using System.Data;
-using System.IO;
-using Mono.Data.SqliteClient;
-
-using NUnit.Framework;
-
-namespace MonoTests.Mono.Data.SqliteClient
-{
-        [TestFixture]
-        public class SqliteDataReaderTest
-        {
-                readonly static string _uri = "./test.db";
-                readonly static string _connectionString = "URI=file://" + _uri + ", version=3";
-                SqliteConnection _conn = new SqliteConnection ();
-
-                [TestFixtureSetUp]
-                public void FixtureSetUp ()
-                {
-                        if (! File.Exists (_uri) || new FileInfo (_uri).Length == 0) {
-                                // ignore all tests
-                                Assert.Ignore ("#000 ignoring all fixtures. No database present");
-                        }
-                }
-                
-                
-                [Test]
-                public void GetSchemaTableTest ()
-                {
-                        _conn.ConnectionString = _connectionString;
-                        SqliteDataReader reader = null;
-                        using (_conn) {
-                                _conn.Open ();
-                                SqliteCommand cmd = (SqliteCommand) _conn.CreateCommand ();
-                                cmd.CommandText = "select * from test";
-                                reader = cmd.ExecuteReader ();
-                                try {
-                                        DataTable dt = reader.GetSchemaTable ();
-                                        Assert.IsNotNull (dt, "#GS1 should return valid table");
-                                        Assert.IsTrue (dt.Rows.Count > 0, "#GS2 should return with rows ;-)");
-                                } finally {
-                                        if (reader != null && !reader.IsClosed)
-                                                reader.Close ();
-                                        _conn.Close ();
-                                }
-                        }
-                }
-
-               [Test]
-               public void TypeOfNullInResultTest ()
-               {
-                       _conn.ConnectionString = _connectionString;
-                       SqliteDataReader reader = null;
-                       using (_conn) {
-                               _conn.Open ();
-                               SqliteCommand cmd = (SqliteCommand) _conn.CreateCommand ();
-                               cmd.CommandText = "select null from test";
-                               reader = cmd.ExecuteReader ();
-                               try {
-                                       Assert.IsTrue (reader.Read());
-                                       Assert.IsNotNull (reader.GetFieldType (0));
-                               } finally {
-                                       if (reader != null && !reader.IsClosed)
-                                               reader.Close ();
-                                       _conn.Close ();
-                               }
-                       }
-               }
-        }
-}
diff --git a/mcs/class/Mono.Data.SqliteClient/Test/SqliteExceptionUnitTests.cs b/mcs/class/Mono.Data.SqliteClient/Test/SqliteExceptionUnitTests.cs
deleted file mode 100644 (file)
index 8dff2f2..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-// SqliteExceptionUnitTests.cs - NUnit Test Cases for Mono.Data.SqliteClient.SqliteExceptions
-//
-// Author(s):  Thomas Zoechling <thomas.zoechling@gmx.at>
-
-
-using System;
-using System.Data;
-using System.IO;
-using System.Text;
-using Mono.Data.SqliteClient;
-using NUnit.Framework;
-
-namespace MonoTests.Mono.Data.SqliteClient
-{
-       [TestFixture]
-       public class SqliteExceptionUnitTests
-       {
-               readonly static string _uri = "SqliteTest.db";
-               readonly static string _connectionString = "URI=file://" + _uri + ", version=3";
-               static SqliteConnection _conn = new SqliteConnection (_connectionString);
-
-               public SqliteExceptionUnitTests()
-               {
-               }
-               
-               [Test]
-               [ExpectedException(typeof(SqliteSyntaxException))]
-               public void WrongSyntax()
-               {
-                       SqliteCommand insertCmd = new SqliteCommand("INSERT INTO t1 VALUES (,')",_conn);
-                       using(_conn)
-                       {
-                               _conn.Open();
-                               int res = insertCmd.ExecuteNonQuery();
-                               Assert.AreEqual(res,1);
-                       }
-               }
-       }
-}
diff --git a/mcs/class/Mono.Data.SqliteClient/Test/SqliteParameterUnitTests.cs b/mcs/class/Mono.Data.SqliteClient/Test/SqliteParameterUnitTests.cs
deleted file mode 100644 (file)
index cd64a6c..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-// SqliteParameterUnitTests.cs - NUnit Test Cases for Mono.Data.SqliteClient.SqliteParameter
-//
-// Author(s):  Thomas Zoechling <thomas.zoechling@gmx.at>
-
-
-using System;
-using System.Data;
-using System.IO;
-using System.Text;
-using Mono.Data.SqliteClient;
-using NUnit.Framework;
-
-namespace MonoTests.Mono.Data.SqliteClient
-{
-       [TestFixture]
-       public class SqliteParameterUnitTests
-       {
-               readonly static string _uri = "SqliteTest.db";
-               readonly static string _connectionString = "URI=file://" + _uri + ", version=3";
-               static SqliteConnection _conn = new SqliteConnection (_connectionString);
-
-               public SqliteParameterUnitTests()
-               {
-               }
-               
-               [Test]
-               public void InsertRandomValuesWithParameter()
-               {
-                       SqliteParameter textP = new SqliteParameter();
-                       textP.ParameterName = "textP";
-                       textP.SourceColumn = "t";
-               
-                       SqliteParameter floatP = new SqliteParameter();
-                       floatP.ParameterName = "floatP";
-                       floatP.SourceColumn = "nu";
-               
-                       SqliteParameter integerP = new SqliteParameter();
-                       integerP.ParameterName ="integerP";
-                       integerP.SourceColumn = "i";
-
-                       SqliteParameter blobP = new SqliteParameter();
-                       blobP.ParameterName = "blobP";
-                       blobP.SourceColumn = "b";
-
-                       Random random = new Random();
-                       StringBuilder builder = new StringBuilder();
-                       for (int k=0; k < random.Next(0,100); k++)
-                       {
-                               builder.Append((char)random.Next(65536));
-                       }
-                       
-                       SqliteCommand insertCmd = new SqliteCommand("DELETE FROM t1; INSERT INTO t1  (t, f, i, b ) VALUES(:textP,:floatP,:integerP,:blobP)",_conn);
-                       
-                       insertCmd.Parameters.Add(textP);
-                       insertCmd.Parameters.Add(floatP);
-                       insertCmd.Parameters.Add(blobP);
-                       insertCmd.Parameters.Add(integerP);
-                       
-                       textP.Value=builder.ToString();
-                       floatP.Value=Convert.ToInt64(random.Next(999));
-                       integerP.Value=random.Next(999);
-                       blobP.Value=System.Text.Encoding.UTF8.GetBytes("\u05D0\u05D1\u05D2" + builder.ToString());
-                       
-                       SqliteCommand selectCmd = new SqliteCommand("SELECT * from t1", _conn);
-
-                       using(_conn)
-                       {
-                               _conn.Open();
-                               int res = insertCmd.ExecuteNonQuery();
-                               Assert.AreEqual(res,1);
-                               
-                               using (IDataReader reader = selectCmd.ExecuteReader()) {
-                                       Assert.AreEqual(reader.Read(), true);
-                                       Assert.AreEqual(reader["t"], textP.Value);
-                                       Assert.AreEqual(reader["f"], floatP.Value);
-                                       Assert.AreEqual(reader["i"], integerP.Value);
-                                       Assert.AreEqual(reader["b"], blobP.Value);
-                                       Assert.AreEqual(reader.Read(), false);
-                               }
-                       }
-               }
-       }
-}
diff --git a/mcs/class/Mono.Data.SqliteClient/Test/SqliteTest.cs b/mcs/class/Mono.Data.SqliteClient/Test/SqliteTest.cs
deleted file mode 100644 (file)
index e86d8b8..0000000
+++ /dev/null
@@ -1,176 +0,0 @@
-//\r
-// SqliteTest.cs - Test for the Sqlite ADO.NET Provider in Mono.Data.SqliteClient\r
-//                 This provider works on Linux and Windows and uses the native\r
-//                 sqlite.dll or sqlite.so library.\r
-//\r
-// Modify or add to this test as needed...\r
-//\r
-// SQL Lite can be downloaded from\r
-// http://www.hwaci.com/sw/sqlite/download.html\r
-//\r
-// There are binaries for Windows and Linux.\r
-//\r
-// To compile:\r
-//  mcs SqliteTest.cs -r System.Data.dll -r Mono.Data.SqliteClient.dll\r
-//\r
-// Author:\r
-//     Daniel Morgan <danmorg@sc.rr.com>\r
-//\r
-\r
-using System;\r
-using System.Data;\r
-using Mono.Data.SqliteClient;\r
-\r
-namespace Test.Mono.Data.SqliteClient\r
-{\r
-       class SqliteTest\r
-       {\r
-               [STAThread]\r
-               static void Main(string[] args)\r
-               {\r
-                       Test(false, null);\r
-                       Console.WriteLine();\r
-                       Test(false, "ISO-8859-1");\r
-                       Console.WriteLine();\r
-                       Test(true, null);\r
-               }\r
-               \r
-               static void Test(bool v3, string encoding) {\r
-                       if (!v3)\r
-                               Console.WriteLine("Testing Version 2" + (encoding != null ? " with " + encoding + " encoding" : ""));\r
-                       else\r
-                               Console.WriteLine("Testing Version 3");\r
-                               \r
-                       System.IO.File.Delete("SqliteTest.db");\r
-               \r
-                       SqliteConnection dbcon = new SqliteConnection();\r
-                       \r
-                       // the connection string is a URL that points\r
-                       // to a file.  If the file does not exist, a \r
-                       // file is created.\r
-\r
-                       // "URI=file:some/path"\r
-                       string connectionString =\r
-                               "URI=file:SqliteTest.db";\r
-                       if (v3)\r
-                               connectionString += ",Version=3";\r
-                       if (encoding != null)\r
-                               connectionString += ",encoding=" + encoding;\r
-                       dbcon.ConnectionString = connectionString;\r
-                               \r
-                       dbcon.Open();\r
-\r
-                       SqliteCommand dbcmd = new SqliteCommand();\r
-                       dbcmd.Connection = dbcon;\r
-                       \r
-                       dbcmd.CommandText = \r
-                               "CREATE TABLE MONO_TEST ( " +\r
-                               "NID INT, " +\r
-                               "NDESC TEXT, " +\r
-                               "NTIME DATETIME); " +\r
-                               "INSERT INTO MONO_TEST  " +\r
-                               "(NID, NDESC, NTIME) " +\r
-                               "VALUES(1,'One (unicode test: \u05D0)', '2006-01-01')";\r
-                       Console.WriteLine("Create & insert modified rows = 1: " + dbcmd.ExecuteNonQuery());\r
-\r
-                       dbcmd.CommandText =\r
-                               "INSERT INTO MONO_TEST  " +\r
-                               "(NID, NDESC, NTIME) " +\r
-                               "VALUES(:NID,:NDESC,:NTIME)";\r
-                       dbcmd.Parameters.Add( new SqliteParameter("NID", 2) );\r
-                       dbcmd.Parameters.Add( new SqliteParameter(":NDESC", "Two (unicode test: \u05D1)") );\r
-                       dbcmd.Parameters.Add( new SqliteParameter(":NTIME", DateTime.Now) );\r
-                       Console.WriteLine("Insert modified rows with parameters = 1, 2: " + dbcmd.ExecuteNonQuery() + " , " + dbcmd.LastInsertRowID());\r
-\r
-                       dbcmd.CommandText =\r
-                               "INSERT INTO MONO_TEST  " +\r
-                               "(NID, NDESC, NTIME) " +\r
-                               "VALUES(3,'Three, quoted parameter test, and next is null; :NTIME', NULL)";\r
-                       Console.WriteLine("Insert with null modified rows and ID = 1, 3: " + dbcmd.ExecuteNonQuery() + " , " + dbcmd.LastInsertRowID());\r
-\r
-                       dbcmd.CommandText =\r
-                               "INSERT INTO MONO_TEST  " +\r
-                               "(NID, NDESC, NTIME) " +\r
-                               "VALUES(4,'Four with ANSI char: ü', NULL)";\r
-                       Console.WriteLine("Insert with ANSI char ü = 1, 4: " + dbcmd.ExecuteNonQuery() + " , " + dbcmd.LastInsertRowID());\r
-\r
-                       dbcmd.CommandText =\r
-                               "INSERT INTO MONO_TEST  " +\r
-                               "(NID, NDESC, NTIME) " +\r
-                               "VALUES(?,?,?)";\r
-                       dbcmd.Parameters.Clear();\r
-                       IDbDataParameter param1 = dbcmd.CreateParameter();\r
-                       param1.DbType = DbType.DateTime;\r
-                       param1.Value = 5;\r
-                       dbcmd.Parameters.Add(param1);                   \r
-                       IDbDataParameter param2 = dbcmd.CreateParameter();\r
-                       param2.Value = "Using unnamed parameters";\r
-                       dbcmd.Parameters.Add(param2);\r
-                       IDbDataParameter param3 = dbcmd.CreateParameter();\r
-                       param3.DbType = DbType.DateTime;\r
-                       param3.Value = DateTime.Parse("2006-05-11 11:45:00");\r
-                       dbcmd.Parameters.Add(param3);\r
-                       Console.WriteLine("Insert with unnamed parameters = 1, 5: " + dbcmd.ExecuteNonQuery() + " , " + dbcmd.LastInsertRowID());\r
-\r
-                       dbcmd.CommandText =\r
-                               "SELECT * FROM MONO_TEST";\r
-                       SqliteDataReader reader;\r
-                       reader = dbcmd.ExecuteReader();\r
-\r
-                       Console.WriteLine("read and display data...");\r
-                       while(reader.Read())\r
-                               for (int i = 0; i < reader.FieldCount; i++)\r
-                                       Console.WriteLine(" Col {0}: {1} (type: {2}, data type: {3})",\r
-                                               i, reader[i] == null ? "(null)" : reader[i].ToString(), reader[i] == null ? "(null)" : reader[i].GetType().FullName, reader.GetDataTypeName(i));\r
-\r
-                       dbcmd.CommandText = "SELECT NDESC FROM MONO_TEST WHERE NID=2";\r
-                       Console.WriteLine("read and display a scalar = 'Two': " + dbcmd.ExecuteScalar());\r
-\r
-                       dbcmd.CommandText = "SELECT count(*) FROM MONO_TEST";\r
-                       Console.WriteLine("read and display a non-column scalar = 3: " + dbcmd.ExecuteScalar());\r
-\r
-                       Console.WriteLine("read and display data using DataAdapter/DataSet...");\r
-                       SqliteDataAdapter adapter = new SqliteDataAdapter("SELECT * FROM MONO_TEST", connectionString);\r
-                       DataSet dataset = new DataSet();\r
-                       adapter.Fill(dataset);\r
-                       foreach(DataTable myTable in dataset.Tables){\r
-                               foreach(DataRow myRow in myTable.Rows){\r
-                                       foreach (DataColumn myColumn in myTable.Columns){\r
-                                               Console.WriteLine(" " + myRow[myColumn]);\r
-                                       }\r
-                               }\r
-                       }\r
-\r
-                       /*Console.WriteLine("read and display data using DataAdapter/DataTable...");\r
-                       DataTable dt = new DataTable();\r
-                       adapter.Fill(dt);\r
-                       DataView dv = new DataView(dt);\r
-                       foreach (DataRowView myRow in dv) {\r
-                               foreach (DataColumn myColumn in myRow.Row.Table.Columns) {\r
-                                       Console.WriteLine(" " + myRow[myColumn.ColumnName]);\r
-                               }\r
-                       }*/\r
-                                                   \r
-                       try {\r
-                               dbcmd.CommandText = "SELECT NDESC INVALID SYNTAX FROM MONO_TEST WHERE NID=2";\r
-                               dbcmd.ExecuteNonQuery();\r
-                               Console.WriteLine("Should not reach here.");\r
-                       } catch (Exception e) {\r
-                               Console.WriteLine("Testing a syntax error: " + e.GetType().Name + ": " + e.Message);\r
-                       }\r
-\r
-                       /*try {\r
-                               dbcmd.CommandText = "SELECT 0/0 FROM MONO_TEST WHERE NID=2";\r
-                               Console.WriteLine("Should not reach here: " + dbcmd.ExecuteScalar());\r
-                       } catch (Exception e) {\r
-                               Console.WriteLine("Testing an execution error: " + e.GetType().Name + ": " + e.Message);\r
-                       }*/\r
-\r
-                       dataset.Dispose();\r
-                       adapter.Dispose();\r
-                       reader.Close();\r
-                       dbcmd.Dispose();\r
-                       dbcon.Close();\r
-               }\r
-       }\r
-}\r
diff --git a/mcs/class/Mono.Data.SqliteClient/Test/test.sql b/mcs/class/Mono.Data.SqliteClient/Test/test.sql
deleted file mode 100644 (file)
index b311aef..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-create table test (
-  id int NOT NULL PRIMARY KEY,
-  name varchar (20)
-);
-
-insert into test values (1, "mono test 1");
-insert into test values (2, "mono test 2");
-insert into test values (3, "mono test 3");
diff --git a/mcs/class/Mono.Data.SqliteClient/sources.list b/mcs/class/Mono.Data.SqliteClient/sources.list
deleted file mode 100644 (file)
index 5d3c92d..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-Mono.Data.SqliteClient/Sqlite.cs
-Mono.Data.SqliteClient/SqliteCommand.cs
-Mono.Data.SqliteClient/SqliteConnection.cs
-Mono.Data.SqliteClient/SqliteDataAdapter.cs
-Mono.Data.SqliteClient/SqliteDataReader.cs
-Mono.Data.SqliteClient/SqliteParameter.cs
-Mono.Data.SqliteClient/SqliteParameterCollection.cs
-Mono.Data.SqliteClient/SqliteRowUpdatedEventArgs.cs
-Mono.Data.SqliteClient/SqliteRowUpdatedEventHandler.cs
-Mono.Data.SqliteClient/SqliteRowUpdatingEventArgs.cs
-Mono.Data.SqliteClient/SqliteRowUpdatingEventHandler.cs
-Mono.Data.SqliteClient/SqliteTransaction.cs
-Mono.Data.SqliteClient/SqliteExceptions.cs