[Monodevelop-patches-list] r2140 - in trunk/MonoDevelop: Core Extras/MonoQuery Extras/MonoQuery/Connection Extras/MonoQuery/Connection/Sqlite
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Thu Jan 13 20:40:27 EST 2005
Author: chergert
Date: 2005-01-13 20:40:26 -0500 (Thu, 13 Jan 2005)
New Revision: 2140
Added:
trunk/MonoDevelop/Extras/MonoQuery/Connection/Sqlite/
trunk/MonoDevelop/Extras/MonoQuery/Connection/Sqlite/SqliteConnectionWrapper.cs
Modified:
trunk/MonoDevelop/Core/AUTHORS
trunk/MonoDevelop/Core/ChangeLog
trunk/MonoDevelop/Extras/MonoQuery/Makefile.am
trunk/MonoDevelop/Extras/MonoQuery/MonoQuery.addin.xml
trunk/MonoDevelop/Extras/MonoQuery/MonoQuery.cmbx
trunk/MonoDevelop/Extras/MonoQuery/MonoQuery.prjx
Log:
Added basic Sqlite provider for MonoQuery.
Added Christian and Ankit to AUTHORS
Modified: trunk/MonoDevelop/Core/AUTHORS
===================================================================
--- trunk/MonoDevelop/Core/AUTHORS 2005-01-14 01:29:51 UTC (rev 2139)
+++ trunk/MonoDevelop/Core/AUTHORS 2005-01-14 01:40:26 UTC (rev 2140)
@@ -22,6 +22,8 @@
Antonio Ognio
Andre Filipe de Assuncao e Brito
Maurício de Lemos Rodrigues Collares Neto
+Christian Hergert
+Ankit Jain
and Mike Krueger and the SharpDevelop team
Modified: trunk/MonoDevelop/Core/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/ChangeLog 2005-01-14 01:29:51 UTC (rev 2139)
+++ trunk/MonoDevelop/Core/ChangeLog 2005-01-14 01:40:26 UTC (rev 2140)
@@ -1,3 +1,7 @@
+2005-01-13 Christian Hergert <chris at mosaix.net>
+
+ * AUTHORS: Added christian and ankit
+
2004-12016 David Dollar <ddollar at grepninja.org>
* configure.in: Remove the second gtk-sharp prefix check that was
Added: trunk/MonoDevelop/Extras/MonoQuery/Connection/Sqlite/SqliteConnectionWrapper.cs
===================================================================
--- trunk/MonoDevelop/Extras/MonoQuery/Connection/Sqlite/SqliteConnectionWrapper.cs 2005-01-14 01:29:51 UTC (rev 2139)
+++ trunk/MonoDevelop/Extras/MonoQuery/Connection/Sqlite/SqliteConnectionWrapper.cs 2005-01-14 01:40:26 UTC (rev 2140)
@@ -0,0 +1,409 @@
+// MonoQuery - SharpQuery port to MonoDevelop (+ More)
+// Copyright (C) Christian Hergert <chris at mosaix.net>
+// Ankit Jain <radical at gamil.com>
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+using System;
+using System.Collections;
+using System.Data;
+
+using Mono.Data.SqliteClient;
+
+using MonoQuery.Collections;
+using MonoQuery.SchemaClass;
+using MonoQuery.Exceptions;
+
+namespace MonoQuery.Connection
+{
+ /// <summary>
+ /// Sqlite connection wrapper using the Mono.Data.SqliteClient.
+ /// </summary>
+ public class SqliteConnectionWrapper : AbstractMonoQueryConnectionWrapper
+ {
+ #region // Private Properties
+ /// <summary>
+ /// This property stores whether the current connection string is
+ /// wrong. This helps us determine connection errors for the
+ /// monodevelop user.
+ /// </summary>
+ private bool pIsConnectionStringWrong = false;
+
+ /// <summary>
+ /// Name of class providing the connection. This isnt really used
+ /// and is legacy from the SharpQuery.
+ /// </summary>
+ protected string pProvider = "SqliteConnectionWrapper";
+
+ /// <summary>
+ /// Sqlite connection object
+ /// </summary>
+ protected SqliteConnection pConnection = null;
+ #endregion // End Private Properties
+
+ #region // Public Properties
+ /// <summary>
+ /// Name of database
+ /// </summary>
+ public override string Name
+ {
+ get { return "SQLite: " + this.pConnection.Database; }
+ }
+
+ /// <summary>
+ ///
+ /// </summary>
+ public override string CatalogName
+ {
+ get
+ {
+ if ( IsOpen == false ) {
+ this.Open();
+ }
+
+ return this.pConnection.Database;
+ }
+ }
+
+ /// <summary>
+ ///
+ /// </summary>
+ public override string SchemaName {
+ get { return ""; }
+ }
+
+ /// <summary>
+ ///
+ /// </summary>
+ public override bool IsOpen
+ {
+ get
+ {
+ try
+ {
+ return ( this.pConnection.State == ConnectionState.Open );
+ }
+ catch ( Exception e )
+ {
+ return false;
+ }
+ }
+ }
+
+ /// <summary>
+ ///
+ /// </summary>
+ public override string ConnectionString
+ {
+ get { return this.pConnection.ConnectionString; }
+ set
+ {
+ if ( IsOpen == true ) {
+ pConnection.Close();
+ }
+
+ try
+ {
+ this.pConnection.ConnectionString = value;
+ this.pIsConnectionStringWrong = false;
+ }
+ catch ( InvalidOperationException e )
+ {
+ this.pIsConnectionStringWrong = true;
+ }
+ }
+ }
+ #endregion // End Public Properties
+
+ #region // Constructors
+ /// <summary>
+ /// Default constructor.
+ /// </summary>
+ public SqliteConnectionWrapper()
+ {
+ this.pEntities = new MonoQueryListDictionary();
+ this.pConnection = new SqliteConnection();
+ }
+
+ /// <summary>
+ /// Constructor with connection string
+ /// </summary>
+ public SqliteConnectionWrapper( string connString ) : this()
+ {
+ this.ConnectionString = connString;
+ }
+ #endregion // End Constructors
+
+ #region // Public Methods
+ /// <summary>
+ ///
+ /// </summary>
+ public override bool Open()
+ {
+ this.pConnection.Open();
+ return IsOpen;
+ }
+
+ /// <summary>
+ ///
+ /// </summary>
+ public override void Close()
+ {
+ this.pConnection.Close();
+ }
+
+ /// <summary>
+ /// Execute a SQL Statement.
+ /// <returns>System.Data.DataSet</returns>
+ /// </summary>
+ public override object ExecuteSQL( string SQLText, int maxRows )
+ {
+ SqliteCommand command = new SqliteCommand();
+ DataSet ds = new DataSet();
+ SqliteDataAdapter da = new SqliteDataAdapter();
+
+ command.Connection = this.pConnection;
+ command.CommandText = SQLText;
+ command.CommandType = System.Data.CommandType.Text;
+
+ /*command.Transaction = pConnection.BeginTransaction(
+ System.Data.IsolationLevel.ReadCommitted );*/
+
+ //Mono.Data.SqliteClient returns doesnt implement BeginTransaction
+ //when specified with an isolation level!
+ command.Transaction = pConnection.BeginTransaction();
+
+ try
+ {
+ da.SelectCommand = command;
+ if ( maxRows > 0 ) {
+ da.Fill( ds, 0, maxRows, null );
+ } else {
+ da.Fill( ds );
+ }
+ }
+ /* AJ catch ( SqliteException e )
+ {
+ command.Transaction.Rollback();
+
+ string mes = SQLText + "\n";
+
+ throw new ExecuteSQLException( mes );
+ }*/
+ catch ( Exception e )
+ {
+ command.Transaction.Rollback();
+ throw new ExecuteSQLException( SQLText );
+ }
+ finally
+ {
+ command.Transaction.Commit();
+ }
+
+ return ds;
+ }
+
+ /// <summary>
+ /// Return settings on this connection.
+ /// </summary>
+ public override object GetProperty( MonoQueryPropertyEnum property )
+ {
+ object returnValues = null;
+
+ switch( property ) {
+ case MonoQueryPropertyEnum.ProviderName:
+ returnValues = this.Provider;
+ break;
+ case MonoQueryPropertyEnum.Catalog:
+ returnValues = this.CatalogName;
+ break;
+ case MonoQueryPropertyEnum.ConnectionString:
+ returnValues = this.ConnectionString;
+ break;
+ case MonoQueryPropertyEnum.DataSource:
+ //returnValues = this.pConnection.DataSource;
+ returnValues = this.pConnection.Database;
+ break;
+ default:
+ break;
+ }
+
+ return returnValues;
+ }
+
+ /// <summary>
+ ///
+ /// </summary>
+ public override object ExecuteProcedure( ISchemaClass schema, int rows,
+ MonoQuerySchemaClassCollection parameters )
+ {
+ return (object) null;
+ }
+
+ /// <summary>
+ /// This will call the proper method depending on the schema
+ /// that is being asked for.
+ /// </summary>
+ protected override DataTable GetSchema( MonoQuerySchemaEnum schema, object [] restrictions )
+ {
+ DataTable returnValues = new DataTable();
+
+ switch( schema ) {
+ case MonoQuerySchemaEnum.Tables:
+ returnValues = this.GetTables( restrictions );
+ break;
+ case MonoQuerySchemaEnum.Columns:
+ returnValues = this.GetTableColumns( restrictions );
+ break;
+ case MonoQuerySchemaEnum.Views:
+ returnValues = this.GetViews( restrictions );
+ break;
+ case MonoQuerySchemaEnum.ViewColumns:
+ returnValues = this.GetViewColumns( restrictions );
+ break;
+ case MonoQuerySchemaEnum.Procedures:
+ returnValues = this.GetProcedures( restrictions );
+ break;
+ default:
+ break;
+ }
+
+ return returnValues;
+ }
+ #endregion // End Public Methods
+
+ #region // Private Methods
+ /// <summary>
+ /// Retrieve the tables for the currently connected database.
+ /// </summary>
+ protected virtual DataTable GetTables( object [] restrictions )
+ {
+ if ( IsOpen == false )
+ this.Open();
+
+ SqliteCommand command = new SqliteCommand();
+ command.CommandText = "select * from sqlite_master";
+ command.Connection = this.pConnection;
+
+ SqliteDataAdapter da = new SqliteDataAdapter();
+ da.SelectCommand = command;
+ DataSet ds = new DataSet();
+ da.Fill( ds );
+
+ if(ds.Tables[0].Columns.Count ==0){
+ return null;
+ }
+
+ ds.Tables[0].Columns[1].ColumnName = "TABLE_NAME";
+
+ // Hack to get around there only being one of the columns in the
+ // select statement.
+ ds.Tables[0].Columns.Add( new DataColumn("TABLE_SCHEMA", typeof(string)) );
+ ds.Tables[0].Columns.Add( new DataColumn("TABLE_CATALOG", typeof(string)) );
+ foreach( DataRow row in ds.Tables[0].Rows ) {
+ row.ItemArray[1] = this.SchemaName;
+ row.ItemArray[2] = this.CatalogName;
+ }
+ // End hack
+
+ return ds.Tables[0];
+ }
+
+ /// <summary>
+ /// MySQL does not support this yet (will in 5.0)
+ /// </summary>
+ protected virtual DataTable GetViews( object [] restrictions )
+ {
+ return new DataTable();
+ }
+
+ /// <summary>
+ /// MySQL does not support this yet (will in 5.0)
+ /// </summary>
+ protected virtual DataTable GetProcedures( object [] restrictions )
+ {
+ return new DataTable();
+ }
+
+ /// <summary>
+ ///
+ /// </summary>
+ protected virtual DataTable GetTableColumns( object [] restrictions )
+ {
+ if ( IsOpen == false )
+ this.Open();
+
+ SqliteCommand command = new SqliteCommand();
+ command.CommandText = "PRAGMA table_info('" + restrictions[2] + "')";
+ command.Connection = this.pConnection;
+
+ SqliteDataAdapter da = new SqliteDataAdapter();
+ da.SelectCommand = command;
+
+ DataSet ds = new DataSet();
+ da.Fill(ds);
+ /*
+ FIXME: What exception should be thrown in this case??
+
+ if (ds.Tables[0].Columns.Count==0)
+ //No schema info for this table??
+ return null;
+ */
+
+ ds.Tables[0].Columns[1].ColumnName = "COLUMN_NAME";
+
+ return ds.Tables[0];
+ }
+
+ /// <summary>
+ /// MySQL does not support views yet (will in 5.0)
+ /// </summary>
+ protected virtual DataTable GetViewColumns( object [] restrictions )
+ {
+ return new DataTable();
+ }
+
+ /// <summary>
+ /// MySQL does not support procs yet (will in 5.0)
+ /// </summary>
+ protected virtual DataTable GetProcedureColumns( object [] restrictions )
+ {
+ return new DataTable();
+ }
+
+ /// <summary>
+ /// Overridable method for extending class to control what happens on
+ /// a connection refresh.
+ /// </summary>
+ protected override void OnRefresh()
+ {
+ if (this.pEntities != null )
+ {
+ this.pEntities.Add( "TABLES", new MonoQuerySchemaClassCollection( new ISchemaClass[] { new MonoQueryTables(this, this.CatalogName, this.SchemaName, this.Name, "TABLES") } ) );
+
+ // Not yet supported
+ //this.pEntities.Add( "VIEWS", new MonoQuerySchemaClassCollection( new ISchemaClass[] { new MonoQueryViews( this, this.CatalogName, this.SchemaName, this.Name, "VIEWS" ) } ) );
+ //this.pEntities.Add( "PROCEDURES", new MonoQuerySchemaClassCollection( new ISchemaClass[] { new MonoQueryProcedures( this, this.CatalogName, this.SchemaName, this.Name, "PROCEDURES" ) } ) );
+ }
+ }
+
+ protected override void CheckConnectionObject()
+ {
+ if ( this.pConnection == null )
+ throw new Exception("Bad connection object");
+ }
+ #endregion // End Private Methods
+ }
+}
Modified: trunk/MonoDevelop/Extras/MonoQuery/Makefile.am
===================================================================
--- trunk/MonoDevelop/Extras/MonoQuery/Makefile.am 2005-01-14 01:29:51 UTC (rev 2139)
+++ trunk/MonoDevelop/Extras/MonoQuery/Makefile.am 2005-01-14 01:40:26 UTC (rev 2140)
@@ -12,6 +12,7 @@
Connection/Interface/IConnection.cs \
Connection/Npgsql/NpgsqlConnectionWrapper.cs \
Connection/Mysql/MysqlConnectionWrapper.cs \
+Connection/Sqlite/SqliteConnectionWrapper.cs \
Exceptions/Abstract/MonoQueryAbstractException.cs \
Exceptions/ConnectionStringException.cs \
Exceptions/ExecuteProcedureException.cs \
@@ -41,6 +42,7 @@
/r:Npgsql.dll \
/r:System.Data.dll \
/r:ByteFX.Data.dll \
+ /r:Mono.Data.SqliteClient \
$(GTK_SHARP_LIBS) \
$(GLADE_SHARP_LIBS) \
$(GCONF_SHARP_LIBS) \
Modified: trunk/MonoDevelop/Extras/MonoQuery/MonoQuery.addin.xml
===================================================================
--- trunk/MonoDevelop/Extras/MonoQuery/MonoQuery.addin.xml 2005-01-14 01:29:51 UTC (rev 2139)
+++ trunk/MonoDevelop/Extras/MonoQuery/MonoQuery.addin.xml 2005-01-14 01:40:26 UTC (rev 2140)
@@ -90,6 +90,12 @@
node ="MonoQuery.Gui.TreeView.MonoQueryNodeConnection"
description = "MySQL Database Server"
showUnsuported = "False"/>
+ <MonoQueryConnection id ="Sqlite"
+ schema="MonoQuery.Connection.SqliteConnectionWrapper"
+ node ="MonoQuery.Gui.TreeView.MonoQueryNodeConnection"
+ description = "SQLite Database Server"
+ showUnsuported = "False"/>
+
<!--
<MonoQueryConnection id ="OLEDB"
schema="MonoQuery.Connection.OLEDBConnectionWrapper"
Modified: trunk/MonoDevelop/Extras/MonoQuery/MonoQuery.cmbx
===================================================================
--- trunk/MonoDevelop/Extras/MonoQuery/MonoQuery.cmbx 2005-01-14 01:29:51 UTC (rev 2139)
+++ trunk/MonoDevelop/Extras/MonoQuery/MonoQuery.cmbx 2005-01-14 01:40:26 UTC (rev 2140)
@@ -1,16 +1,16 @@
-<Combine fileversion="1.0" name="MonoQuery" description="">
- <StartMode startupentry="MonoQuery" single="True">
- <Execute entry="MonoQuery" type="None" />
- </StartMode>
- <Entries>
- <Entry filename="./MonoQuery.prjx" />
- </Entries>
+<Combine name="MonoQuery" fileversion="2.0" outputpath="./">
<Configurations active="Debug">
- <Configuration name="Release">
+ <Configuration name="Release" ctype="CombineConfiguration">
<Entry name="MonoQuery" configurationname="Debug" build="False" />
</Configuration>
- <Configuration name="Debug">
+ <Configuration name="Debug" ctype="CombineConfiguration">
<Entry name="MonoQuery" configurationname="Debug" build="False" />
</Configuration>
</Configurations>
+ <StartMode startupentry="MonoQuery" single="True">
+ <Execute type="None" entry="MonoQuery" />
+ </StartMode>
+ <Entries>
+ <Entry filename="./MonoQuery.prjx" />
+ </Entries>
</Combine>
\ No newline at end of file
Modified: trunk/MonoDevelop/Extras/MonoQuery/MonoQuery.prjx
===================================================================
--- trunk/MonoDevelop/Extras/MonoQuery/MonoQuery.prjx 2005-01-14 01:29:51 UTC (rev 2139)
+++ trunk/MonoDevelop/Extras/MonoQuery/MonoQuery.prjx 2005-01-14 01:40:26 UTC (rev 2140)
@@ -1,86 +1,87 @@
-<Project name="MonoQuery" description="" newfilesearch="None" enableviewstate="True" version="1.1" projecttype="C#">
- <Contents>
- <File name="./AssemblyInfo.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./MonoQueryView.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./Gui" subtype="Directory" buildaction="Compile" dependson="" data="" />
- <File name="./Gui/MonoQueryPanel.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./Gui/MonoQueryTree/MonoQueryTree.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./Gui/MonoQueryTree" subtype="Directory" buildaction="Compile" dependson="" data="" />
- <File name="./Gui/MonoQueryTree/MonoQueryNodesRoot.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./SchemaClass/MonoQuerySchemaClass.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./Commands" subtype="Directory" buildaction="Compile" dependson="" data="" />
- <File name="./Commands/MonoQueryCommands.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./Collection" subtype="Directory" buildaction="Compile" dependson="" data="" />
- <File name="./Gui/Interface/IMonoQueryNode.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./Gui/Abstract/AbstractMonoQueryNode.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./Gui/MonoQueryTree/MonoQueryDataNodes.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./Gui/Interface" subtype="Directory" buildaction="Compile" dependson="" data="" />
- <File name="./Gui/DataView" subtype="Directory" buildaction="Compile" dependson="" data="" />
- <File name="./Gui/DataView/MonoQueryDataView.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./Connection" subtype="Directory" buildaction="Compile" dependson="" data="" />
- <File name="./Collection/MonoQueryStringDictionary.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./SchemaClass/Abstract/AbstractMonoQuerySchemaClass.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./Connection/Abstract/AbstractMonoQueryConnectionWrapper.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./Codons" subtype="Directory" buildaction="Compile" dependson="" data="" />
- <File name="./Codons/MonoQueryConnectionCodon.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./MonoQuery.addin.xml" subtype="Code" buildaction="Nothing" dependson="" data="" />
- <File name="./Connection/Interface" subtype="Directory" buildaction="Compile" dependson="" data="" />
- <File name="./SchemaClass/Interface/ISchemaClass.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./Collection/MonoQuerySchemaClassCollection.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./Connection/Interface/IConnection.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./Collection/MonoQueryListDictionary.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./Commands/Abstract/AbstractMonoQueryCommand.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./SchemaClass" subtype="Directory" buildaction="Compile" dependson="" data="" />
- <File name="./SchemaClass/Interface" subtype="Directory" buildaction="Compile" dependson="" data="" />
- <File name="./Gui/DataView/SQLParameterInput.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./Exceptions" subtype="Directory" buildaction="Compile" dependson="" data="" />
- <File name="./Exceptions/ConnectionStringException.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./Exceptions/OpenConnectionException.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./Exceptions/ExecuteSQLException.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./Exceptions/ExecuteProcedureException.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./Exceptions/Abstract/MonoQueryAbstractException.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./Collection/MonoQueryParameterCollection.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./Gui/Forms" subtype="Directory" buildaction="Compile" dependson="" data="" />
- <File name="./Gui/Forms/CreateConnectionDruid.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./Services" subtype="Directory" buildaction="Compile" dependson="" data="" />
- <File name="./Services/MonoQueryService.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./Connection/Npgsql" subtype="Directory" buildaction="Compile" dependson="" data="" />
- <File name="./Connection/Npgsql/NpgsqlConnectionWrapper.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./Gui/Forms/New Folder" subtype="Directory" buildaction="Compile" dependson="" data="" />
- <File name="./Gui/Forms/Glade/monoquery.glade" subtype="Code" buildaction="Nothing" dependson="" data="" />
- <File name="./Connection/Mysql/MysqlConnectionWrapper.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./Collection/ConnectionProviderDescriptor.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- <File name="./Gui/SqlQueryView" subtype="Directory" buildaction="Compile" dependson="" data="" />
- <File name="./Gui/SqlQueryView/SqlQueryView.cs" subtype="Code" buildaction="Compile" dependson="" data="" />
- </Contents>
- <References>
- <Reference type="Gac" refto="System.Data, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" localcopy="True" />
- <Reference type="Gac" refto="Npgsql, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7" localcopy="True" />
- <Reference type="Gac" refto="glade-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" localcopy="True" />
- <Reference type="Gac" refto="ByteFX.Data, Version=0.7.6.1, Culture=neutral, PublicKeyToken=0738eb9f132ed756" localcopy="True" />
- <Reference type="Gac" refto="gtksourceview-sharp, Version=1.0.0.1, Culture=neutral, PublicKeyToken=35e10195dab3c99f" localcopy="True" />
- <Reference type="Assembly" refto="../../build/bin/MonoDevelop.Base.dll" localcopy="True" />
- <Reference type="Assembly" refto="../../build/bin/MonoDevelop.Core.dll" localcopy="True" />
- <Reference type="Assembly" refto="../../build/bin/MonoDevelop.Gui.Widgets.dll" localcopy="True" />
- <Reference type="Gac" refto="gtk-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" localcopy="True" />
- <Reference type="Gac" refto="gtksourceview-sharp, Version=1.0.0.2, Culture=neutral, PublicKeyToken=35e10195dab3c99f" localcopy="True" />
- </References>
- <DeploymentInformation target="" script="" strategy="File" />
- <Configuration runwithwarnings="False" name="Debug">
- <CodeGeneration runtime="MsNet" compiler="Csc" warninglevel="4" nowarn="" includedebuginformation="True" optimize="True" unsafecodeallowed="False" generateoverflowchecks="True" mainclass="" target="Library" definesymbols="" generatexmldocumentation="False" win32Icon="" />
- <Execution commandlineparameters="" consolepause="True" />
- <Output directory="../bin/Debug" assembly="MonoQuery" executeScript="" executeBeforeBuild="" executeAfterBuild="" />
- </Configuration>
+<Project name="MonoQuery" fileversion="2.0" language="C#" ctype="DotNetProject">
<Configurations active="Debug">
- <Configuration runwithwarnings="False" name="Debug">
- <CodeGeneration runtime="MsNet" compiler="Csc" warninglevel="4" nowarn="" includedebuginformation="True" optimize="True" unsafecodeallowed="False" generateoverflowchecks="True" mainclass="" target="Library" definesymbols="" generatexmldocumentation="False" win32Icon="" />
- <Execution commandlineparameters="" consolepause="True" />
- <Output directory="../bin/Debug" assembly="MonoQuery" executeScript="" executeBeforeBuild="" executeAfterBuild="" />
+ <Configuration name="Debug" ctype="DotNetProjectConfiguration">
+ <Output directory="../bin/Debug" assembly="MonoQuery" />
+ <Build executeBeforeBuild="./" executeAfterBuild="./" debugmode="True" target="Library" />
+ <Execution executeScript="./" runwithwarnings="False" consolepause="True" runtime="MsNet" />
+ <CodeGeneration compiler="Csc" warninglevel="4" optimize="True" unsafecodeallowed="False" generateoverflowchecks="True" mainclass="" generatexmldocumentation="False" win32Icon="./" ctype="CSharpCompilerParameters" />
</Configuration>
- <Configuration runwithwarnings="False" name="Release">
- <CodeGeneration runtime="MsNet" compiler="Csc" warninglevel="4" nowarn="" includedebuginformation="True" optimize="True" unsafecodeallowed="False" generateoverflowchecks="True" mainclass="" target="Library" definesymbols="" generatexmldocumentation="False" win32Icon="" />
- <Execution commandlineparameters="" consolepause="True" />
- <Output directory="../bin/Release" assembly="MonoQuery" executeScript="" executeBeforeBuild="" executeAfterBuild="" />
+ <Configuration name="Release" ctype="DotNetProjectConfiguration">
+ <Output directory="../bin/Release" assembly="MonoQuery" />
+ <Build executeBeforeBuild="./" executeAfterBuild="./" debugmode="True" target="Library" />
+ <Execution executeScript="./" runwithwarnings="False" consolepause="True" runtime="MsNet" />
+ <CodeGeneration compiler="Csc" warninglevel="4" optimize="True" unsafecodeallowed="False" generateoverflowchecks="True" mainclass="" generatexmldocumentation="False" win32Icon="./" ctype="CSharpCompilerParameters" />
</Configuration>
</Configurations>
+ <References>
+ <ProjectReference type="Gac" localcopy="True" refto="System.Data, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ <ProjectReference type="Gac" localcopy="True" refto="Npgsql, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7" />
+ <ProjectReference type="Gac" localcopy="True" refto="glade-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+ <ProjectReference type="Gac" localcopy="True" refto="ByteFX.Data, Version=0.7.6.1, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
+ <ProjectReference type="Gac" localcopy="True" refto="gtksourceview-sharp, Version=1.0.0.1, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+ <ProjectReference type="Assembly" localcopy="True" refto="../../build/bin/MonoDevelop.Base.dll" />
+ <ProjectReference type="Assembly" localcopy="True" refto="../../build/bin/MonoDevelop.Core.dll" />
+ <ProjectReference type="Assembly" localcopy="True" refto="../../build/bin/MonoDevelop.Gui.Widgets.dll" />
+ <ProjectReference type="Gac" localcopy="True" refto="gtk-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+ <ProjectReference type="Gac" localcopy="True" refto="gtksourceview-sharp, Version=1.0.0.2, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+ </References>
+ <DeploymentInformation strategy="File">
+ <excludeFiles />
+ </DeploymentInformation>
+ <Contents>
+ <File name="./AssemblyInfo.cs" subtype="Code" buildaction="Compile" />
+ <File name="./MonoQueryView.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Gui" subtype="Directory" buildaction="Compile" />
+ <File name="./Gui/MonoQueryPanel.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Gui/MonoQueryTree/MonoQueryTree.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Gui/MonoQueryTree" subtype="Directory" buildaction="Compile" />
+ <File name="./Gui/MonoQueryTree/MonoQueryNodesRoot.cs" subtype="Code" buildaction="Compile" />
+ <File name="./SchemaClass/MonoQuerySchemaClass.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Commands" subtype="Directory" buildaction="Compile" />
+ <File name="./Commands/MonoQueryCommands.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Collection" subtype="Directory" buildaction="Compile" />
+ <File name="./Gui/Interface/IMonoQueryNode.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Gui/Abstract/AbstractMonoQueryNode.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Gui/MonoQueryTree/MonoQueryDataNodes.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Gui/Interface" subtype="Directory" buildaction="Compile" />
+ <File name="./Gui/DataView" subtype="Directory" buildaction="Compile" />
+ <File name="./Gui/DataView/MonoQueryDataView.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Connection" subtype="Directory" buildaction="Compile" />
+ <File name="./Collection/MonoQueryStringDictionary.cs" subtype="Code" buildaction="Compile" />
+ <File name="./SchemaClass/Abstract/AbstractMonoQuerySchemaClass.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Connection/Abstract/AbstractMonoQueryConnectionWrapper.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Codons" subtype="Directory" buildaction="Compile" />
+ <File name="./Codons/MonoQueryConnectionCodon.cs" subtype="Code" buildaction="Compile" />
+ <File name="./MonoQuery.addin.xml" subtype="Code" buildaction="Nothing" />
+ <File name="./Connection/Interface" subtype="Directory" buildaction="Compile" />
+ <File name="./SchemaClass/Interface/ISchemaClass.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Collection/MonoQuerySchemaClassCollection.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Connection/Interface/IConnection.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Collection/MonoQueryListDictionary.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Commands/Abstract/AbstractMonoQueryCommand.cs" subtype="Code" buildaction="Compile" />
+ <File name="./SchemaClass" subtype="Directory" buildaction="Compile" />
+ <File name="./SchemaClass/Interface" subtype="Directory" buildaction="Compile" />
+ <File name="./Gui/DataView/SQLParameterInput.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Exceptions" subtype="Directory" buildaction="Compile" />
+ <File name="./Exceptions/ConnectionStringException.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Exceptions/OpenConnectionException.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Exceptions/ExecuteSQLException.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Exceptions/ExecuteProcedureException.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Exceptions/Abstract/MonoQueryAbstractException.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Collection/MonoQueryParameterCollection.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Gui/Forms" subtype="Directory" buildaction="Compile" />
+ <File name="./Gui/Forms/CreateConnectionDruid.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Services" subtype="Directory" buildaction="Compile" />
+ <File name="./Services/MonoQueryService.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Connection/Npgsql" subtype="Directory" buildaction="Compile" />
+ <File name="./Connection/Npgsql/NpgsqlConnectionWrapper.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Gui/Forms/New Folder" subtype="Directory" buildaction="Compile" />
+ <File name="./Gui/Forms/Glade/monoquery.glade" subtype="Code" buildaction="Nothing" />
+ <File name="./Connection/Mysql/MysqlConnectionWrapper.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Collection/ConnectionProviderDescriptor.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Gui/SqlQueryView" subtype="Directory" buildaction="Compile" />
+ <File name="./Gui/SqlQueryView/SqlQueryView.cs" subtype="Code" buildaction="Compile" />
+ <File name="./Connection/Sqlite" subtype="Directory" buildaction="Compile" />
+ <File name="./Connection/Sqlite/SqliteConnectionWrapper.cs" subtype="Code" buildaction="Nothing" />
+ </Contents>
</Project>
\ No newline at end of file
More information about the Monodevelop-patches-list
mailing list