Browse Source
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2459 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
26 changed files with 443 additions and 311 deletions
@ -0,0 +1,40 @@
@@ -0,0 +1,40 @@
|
||||
/* |
||||
* Created by SharpDevelop. |
||||
* User: dickon |
||||
* Date: 31/03/2007 |
||||
* Time: 15:57 |
||||
* |
||||
* To change this template use Tools | Options | Coding | Edit Standard Headers. |
||||
*/ |
||||
|
||||
using System; |
||||
using System.Runtime.Serialization; |
||||
using System.Collections.Generic; |
||||
|
||||
namespace SharpDbTools.Data |
||||
{ |
||||
/// <summary>
|
||||
/// Thrown when the DbProvidersService cannot find the class for
|
||||
/// a DbProviderFactory that is found in a *.config file.
|
||||
/// </summary>
|
||||
|
||||
[Serializable()] |
||||
public class DbProvidersException : Exception |
||||
{ |
||||
public DbProvidersException() : base() |
||||
{ |
||||
} |
||||
|
||||
public DbProvidersException(string message) : base(message) |
||||
{ |
||||
} |
||||
|
||||
public DbProvidersException(string message, Exception innerException) : base(message, innerException) |
||||
{ |
||||
} |
||||
|
||||
protected DbProvidersException(SerializationInfo info, StreamingContext context) : base(info, context) |
||||
{ |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,205 @@
@@ -0,0 +1,205 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<root> |
||||
<!-- |
||||
Microsoft ResX Schema |
||||
|
||||
Version 2.0 |
||||
|
||||
The primary goals of this format is to allow a simple XML format |
||||
that is mostly human readable. The generation and parsing of the |
||||
various data types are done through the TypeConverter classes |
||||
associated with the data types. |
||||
|
||||
Example: |
||||
|
||||
... ado.net/XML headers & schema ... |
||||
<resheader name="resmimetype">text/microsoft-resx</resheader> |
||||
<resheader name="version">2.0</resheader> |
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> |
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> |
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> |
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> |
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> |
||||
<value>[base64 mime encoded serialized .NET Framework object]</value> |
||||
</data> |
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> |
||||
<comment>This is a comment</comment> |
||||
</data> |
||||
|
||||
There are any number of "resheader" rows that contain simple |
||||
name/value pairs. |
||||
|
||||
Each data row contains a name, and value. The row also contains a |
||||
type or mimetype. Type corresponds to a .NET class that support |
||||
text/value conversion through the TypeConverter architecture. |
||||
Classes that don't support this are serialized and stored with the |
||||
mimetype set. |
||||
|
||||
The mimetype is used for serialized objects, and tells the |
||||
ResXResourceReader how to depersist the object. This is currently not |
||||
extensible. For a given mimetype the value must be set accordingly: |
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format |
||||
that the ResXResourceWriter will generate, however the reader can |
||||
read any of the formats listed below. |
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64 |
||||
value : The object must be serialized with |
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter |
||||
: and then encoded with base64 encoding. |
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64 |
||||
value : The object must be serialized with |
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter |
||||
: and then encoded with base64 encoding. |
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64 |
||||
value : The object must be serialized into a byte array |
||||
: using a System.ComponentModel.TypeConverter |
||||
: and then encoded with base64 encoding. |
||||
--> |
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> |
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> |
||||
<xsd:element name="root" msdata:IsDataSet="true"> |
||||
<xsd:complexType> |
||||
<xsd:choice maxOccurs="unbounded"> |
||||
<xsd:element name="metadata"> |
||||
<xsd:complexType> |
||||
<xsd:sequence> |
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" /> |
||||
</xsd:sequence> |
||||
<xsd:attribute name="name" use="required" type="xsd:string" /> |
||||
<xsd:attribute name="type" type="xsd:string" /> |
||||
<xsd:attribute name="mimetype" type="xsd:string" /> |
||||
<xsd:attribute ref="xml:space" /> |
||||
</xsd:complexType> |
||||
</xsd:element> |
||||
<xsd:element name="assembly"> |
||||
<xsd:complexType> |
||||
<xsd:attribute name="alias" type="xsd:string" /> |
||||
<xsd:attribute name="name" type="xsd:string" /> |
||||
</xsd:complexType> |
||||
</xsd:element> |
||||
<xsd:element name="data"> |
||||
<xsd:complexType> |
||||
<xsd:sequence> |
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> |
||||
</xsd:sequence> |
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> |
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> |
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> |
||||
<xsd:attribute ref="xml:space" /> |
||||
</xsd:complexType> |
||||
</xsd:element> |
||||
<xsd:element name="resheader"> |
||||
<xsd:complexType> |
||||
<xsd:sequence> |
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
||||
</xsd:sequence> |
||||
<xsd:attribute name="name" type="xsd:string" use="required" /> |
||||
</xsd:complexType> |
||||
</xsd:element> |
||||
</xsd:choice> |
||||
</xsd:complexType> |
||||
</xsd:element> |
||||
</xsd:schema> |
||||
<resheader name="resmimetype"> |
||||
<value>text/microsoft-resx</value> |
||||
</resheader> |
||||
<resheader name="version"> |
||||
<value>2.0</value> |
||||
</resheader> |
||||
<resheader name="reader"> |
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
||||
</resheader> |
||||
<resheader name="writer"> |
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
||||
</resheader> |
||||
<data name="SharpDbTools.Data.PrimaryObjects.Tables" xml:space="preserve"> |
||||
<value>Tables</value> |
||||
</data> |
||||
<data name="SharpDbTools.Data.PrimaryObjects.Procedures" xml:space="preserve"> |
||||
<value>Procedures</value> |
||||
</data> |
||||
<data name="SharpDbTools.Data.PrimaryObjects.Functions" xml:space="preserve"> |
||||
<value>Functions |
||||
</value> |
||||
</data> |
||||
<data name="SharpDbTools.Data.PrimaryObjects.Views" xml:space="preserve"> |
||||
<value>Views</value> |
||||
</data> |
||||
<data name="SharpDbTools.Data.PrimaryObjects.Users" xml:space="preserve"> |
||||
<value>Users</value> |
||||
</data> |
||||
<data name="SharpDbTools.Forms.DbObjectNodeName" xml:space="preserve"> |
||||
<value>Db Objects</value> |
||||
</data> |
||||
<data name="SharpDbTools.Forms.DbExplorerNodeName" xml:space="preserve"> |
||||
<value>Database Explorer</value> |
||||
</data> |
||||
<data name="SharpDbTools.Forms.AddConnectionMenu" xml:space="preserve"> |
||||
<value>Add Connection</value> |
||||
</data> |
||||
<data name="SharpDbTools.Forms.DeleteConnectionMenu" xml:space="preserve"> |
||||
<value>Delete Connection</value> |
||||
</data> |
||||
<data name="SharpDbTools.Forms.SaveAllMenu" xml:space="preserve"> |
||||
<value>Save All</value> |
||||
</data> |
||||
<data name="SharpDbTools.Forms.ConnectionPropertiesNodeName" xml:space="preserve"> |
||||
<value>Connection Properties</value> |
||||
</data> |
||||
<data name="SharpDbTools.Forms.NoMetadataNodeName" xml:space="preserve"> |
||||
<value>No Metadata</value> |
||||
</data> |
||||
<data name="SharpDbTools.Forms.SetConnectionStringMenu" xml:space="preserve"> |
||||
<value>Set Connection String</value> |
||||
</data> |
||||
<data name="SharpDbTools.Forms.LoadMetadataFromConnectionMenu" xml:space="preserve"> |
||||
<value>Load Metadata From Connection</value> |
||||
</data> |
||||
<data name="SharpDbTools.Forms.LoadMetadataFromFileMenu" xml:space="preserve"> |
||||
<value>Load Metadata From File</value> |
||||
</data> |
||||
<data name="SharpDbTools.Forms.OpenSQLToolMenu" xml:space="preserve"> |
||||
<value>Open SQL Tool</value> |
||||
</data> |
||||
<data name="SharpDbTools.Forms.ConnectionStringNodeName" xml:space="preserve"> |
||||
<value>Connection String:</value> |
||||
</data> |
||||
<data name="SharpDbTools.Forms.InvariantNameNodeName" xml:space="preserve"> |
||||
<value>Invariant Name:</value> |
||||
</data> |
||||
<data name="SharpDbTools.Forms.ConnectionSucceededMsg" xml:space="preserve"> |
||||
<value>Connection Succeeded</value> |
||||
</data> |
||||
<data name="SharpDbTools.Forms.ConnectionFailedMsg" xml:space="preserve"> |
||||
<value>Connection Failed</value> |
||||
</data> |
||||
<data name="SharpDbTools.Forms.TestButton" xml:space="preserve"> |
||||
<value>Test</value> |
||||
</data> |
||||
<data name="SharpDbTools.Forms.SubmitButton" xml:space="preserve"> |
||||
<value>Submit</value> |
||||
</data> |
||||
<data name="SharpDbTools.Forms.CancelButton" xml:space="preserve"> |
||||
<value>Cancel</value> |
||||
</data> |
||||
<data name="SharpDbTools.Forms.DataSourceTypeLabel" xml:space="preserve"> |
||||
<value>Data Source Type:</value> |
||||
</data> |
||||
<data name="SharpDbTools.Forms.ConnectionStringLabel" xml:space="preserve"> |
||||
<value>Connection String:</value> |
||||
</data> |
||||
<data name="SharpDbTools.Forms.ConnectionStringTab" xml:space="preserve"> |
||||
<value>Connection String</value> |
||||
</data> |
||||
<data name="SharpDbTools.Forms.TestResultTab" xml:space="preserve"> |
||||
<value>Test Result Message</value> |
||||
</data> |
||||
<data name="SharpDbTools.Forms.ConnectionStringDefinitionDialog" xml:space="preserve"> |
||||
<value>Set Up Connection String</value> |
||||
</data> |
||||
</root> |
@ -1,68 +0,0 @@
@@ -1,68 +0,0 @@
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
||||
<PropertyGroup> |
||||
<OutputType>Library</OutputType> |
||||
<RootNamespace>OracleDbToolsProvider</RootNamespace> |
||||
<AssemblyName>OracleDbToolsProvider</AssemblyName> |
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
||||
<ProjectGuid>{DFA70EAA-3285-4BC0-BCA7-EBEC4D67FC9B}</ProjectGuid> |
||||
<AllowUnsafeBlocks>False</AllowUnsafeBlocks> |
||||
<NoStdLib>False</NoStdLib> |
||||
<RegisterForComInterop>False</RegisterForComInterop> |
||||
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies> |
||||
<BaseAddress>4194304</BaseAddress> |
||||
<PlatformTarget>AnyCPU</PlatformTarget> |
||||
<FileAlignment>4096</FileAlignment> |
||||
<WarningLevel>4</WarningLevel> |
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> |
||||
<OutputPath>..\..\..\..\..\AddIns\AddIns\Misc\SharpServerTools\</OutputPath> |
||||
<Optimize>False</Optimize> |
||||
<DefineConstants>DEBUG;TRACE</DefineConstants> |
||||
<DebugSymbols>true</DebugSymbols> |
||||
<DebugType>Full</DebugType> |
||||
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> |
||||
<OutputPath>..\..\..\..\..\AddIns\AddIns\Misc\SharpServerTools\</OutputPath> |
||||
<Optimize>True</Optimize> |
||||
<DefineConstants>TRACE</DefineConstants> |
||||
<DebugSymbols>False</DebugSymbols> |
||||
<DebugType>None</DebugType> |
||||
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> |
||||
</PropertyGroup> |
||||
<ItemGroup> |
||||
<Reference Include="System" /> |
||||
<Reference Include="System.Xml" /> |
||||
<Reference Include="System.Data" /> |
||||
<Reference Include="System.Drawing" /> |
||||
<Reference Include="System.Windows.Forms" /> |
||||
<Reference Include="System.Xml" /> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<Compile Include="Src\Forms\OracleFormsArtefactFactory.cs" /> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<Folder Include="Resources" /> |
||||
<Folder Include="Src" /> |
||||
<Folder Include="Src\Forms" /> |
||||
<ProjectReference Include="..\..\..\..\Main\Core\Project\ICSharpCode.Core.csproj"> |
||||
<Project>{35CEF10F-2D4C-45F2-9DD1-161E0FEC583C}</Project> |
||||
<Name>ICSharpCode.Core</Name> |
||||
</ProjectReference> |
||||
<ProjectReference Include="..\..\..\..\Main\Base\Project\ICSharpCode.SharpDevelop.csproj"> |
||||
<Project>{2748AD25-9C63-4E12-877B-4DCE96FBED54}</Project> |
||||
<Name>ICSharpCode.SharpDevelop</Name> |
||||
</ProjectReference> |
||||
<ProjectReference Include="..\ServerBrowserTool\ServerBrowserTool.csproj"> |
||||
<Project>{D721EAA4-8A40-4EF0-A011-5862159BE621}</Project> |
||||
<Name>ServerBrowserTool</Name> |
||||
</ProjectReference> |
||||
<ProjectReference Include="..\SharpDbTools\SharpDbTools.csproj"> |
||||
<Project>{93B2D6DF-7588-40C0-8A35-CA0DD7328FC3}</Project> |
||||
<Name>SharpDbTools</Name> |
||||
</ProjectReference> |
||||
</ItemGroup> |
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" /> |
||||
</Project> |
@ -1,6 +0,0 @@
@@ -1,6 +0,0 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 9.00 |
||||
# SharpDevelop 2.1.0.1900 |
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OracleDbToolsProvider", "OracleDbToolsProvider.csproj", "{DFA70EAA-3285-4BC0-BCA7-EBEC4D67FC9B}" |
||||
EndProject |
||||
Global |
||||
EndGlobal |
@ -1,67 +0,0 @@
@@ -1,67 +0,0 @@
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
||||
<PropertyGroup> |
||||
<OutputType>Library</OutputType> |
||||
<RootNamespace>OracleDbToolsProvider</RootNamespace> |
||||
<AssemblyName>OracleSharpDbToolsProvider</AssemblyName> |
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
||||
<ProjectGuid>{2B4FE109-816C-4397-BFBE-077E1763A7A4}</ProjectGuid> |
||||
<AllowUnsafeBlocks>False</AllowUnsafeBlocks> |
||||
<NoStdLib>False</NoStdLib> |
||||
<RegisterForComInterop>False</RegisterForComInterop> |
||||
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies> |
||||
<BaseAddress>4194304</BaseAddress> |
||||
<PlatformTarget>AnyCPU</PlatformTarget> |
||||
<FileAlignment>4096</FileAlignment> |
||||
<WarningLevel>4</WarningLevel> |
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> |
||||
<BaseIntermediateOutputPath>obj\</BaseIntermediateOutputPath> |
||||
<IntermediateOutputPath>obj\Debug\</IntermediateOutputPath> |
||||
<OutputPath>..\..\..\..\..\..\AddIns\AddIns\Misc\SharpServerTools\</OutputPath> |
||||
<Optimize>False</Optimize> |
||||
<DefineConstants>DEBUG;TRACE</DefineConstants> |
||||
<DebugSymbols>true</DebugSymbols> |
||||
<DebugType>Full</DebugType> |
||||
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> |
||||
<BaseIntermediateOutputPath>obj\</BaseIntermediateOutputPath> |
||||
<IntermediateOutputPath>obj\Release\</IntermediateOutputPath> |
||||
<OutputPath>bin\Release\</OutputPath> |
||||
<Optimize>True</Optimize> |
||||
<DefineConstants>TRACE</DefineConstants> |
||||
<DebugSymbols>False</DebugSymbols> |
||||
<DebugType>None</DebugType> |
||||
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> |
||||
</PropertyGroup> |
||||
<ItemGroup> |
||||
<Reference Include="System" /> |
||||
<Reference Include="System.Xml" /> |
||||
<Reference Include="System.Windows.Forms" /> |
||||
<Reference Include="System.Data" /> |
||||
<Reference Include="System.Drawing" /> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<Compile Include="Src\Forms\OracleFormsArtefactFactory.cs" /> |
||||
<Compile Include="Src\Forms\TableTreeNode.cs" /> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<Folder Include="Src" /> |
||||
<Folder Include="Src\Forms" /> |
||||
<ProjectReference Include="..\..\..\..\..\Main\Core\Project\ICSharpCode.Core.csproj"> |
||||
<Project>{35CEF10F-2D4C-45F2-9DD1-161E0FEC583C}</Project> |
||||
<Name>ICSharpCode.Core</Name> |
||||
</ProjectReference> |
||||
<ProjectReference Include="..\..\SharpServerTools.csproj"> |
||||
<Project>{E8922383-B6F5-4107-AB82-49662D98B2FE}</Project> |
||||
<Name>SharpServerTools</Name> |
||||
</ProjectReference> |
||||
<ProjectReference Include="..\..\..\..\..\Main\Base\Project\ICSharpCode.SharpDevelop.csproj"> |
||||
<Project>{2748AD25-9C63-4E12-877B-4DCE96FBED54}</Project> |
||||
<Name>ICSharpCode.SharpDevelop</Name> |
||||
</ProjectReference> |
||||
</ItemGroup> |
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" /> |
||||
</Project> |
@ -1,7 +0,0 @@
@@ -1,7 +0,0 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 9.00 |
||||
# SharpDevelop 2.1.0.2001 |
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SQLServerDbToolsProvider", "SQLServerDbToolsProvider.csproj", "{8C692BAF-108E-4346-B41E-6EE7D20E2E9D}" |
||||
EndProject |
||||
Global |
||||
EndGlobal |
Loading…
Reference in new issue