Click here to Skip to main content
15,885,365 members
Articles / Desktop Programming / Windows Forms

UDL.Net, A ConnectionString Editor Built from Scratch

Rate me:
Please Sign up or sign in to vote.
4.80/5 (23 votes)
24 Feb 2010CPOL5 min read 50.1K   2.8K   54  
UDL.Net is a ConnectionString editor built from scratch, modeled after the Universal Data Link (UDL) and the Visual Studio DataConnectionDialog.
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>9.0.30729</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{D2574C27-FE9A-495C-9E5A-D6C13547C8B4}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>UDL</RootNamespace>
    <AssemblyName>UDL.Net</AssemblyName>
    <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
    <TargetFrameworkSubset>
    </TargetFrameworkSubset>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Data" />
    <Reference Include="System.Data.OracleClient" />
    <Reference Include="System.Drawing" />
    <Reference Include="System.Windows.Forms" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Core\ConnectionStringDialog.cs">
      <SubType>Component</SubType>
    </Compile>
    <Compile Include="Core\IOleDbEditor.cs" />
    <Compile Include="Core\UDLEditorsCollection.cs" />
    <Compile Include="Core\DbProvider.cs" />
    <Compile Include="Core\DbProvidersCollection.cs" />
    <Compile Include="Core\ObjectWrapper.cs" />
    <Compile Include="Core\OleDbProvider.cs" />
    <Compile Include="Core\IUDLEditor.cs" />
    <Compile Include="Core\UDLStringBuilder.cs">
    </Compile>
    <Compile Include="UI\Editors\Common\OleDbAccessEditor.cs">
      <SubType>UserControl</SubType>
    </Compile>
    <Compile Include="UI\Editors\Common\OleDbAccessEditor.designer.cs">
      <DependentUpon>OleDbAccessEditor.cs</DependentUpon>
    </Compile>
    <Compile Include="UI\Editors\Common\GenericEditor.cs">
      <SubType>UserControl</SubType>
    </Compile>
    <Compile Include="UI\Editors\Common\GenericEditor.designer.cs">
      <DependentUpon>GenericEditor.cs</DependentUpon>
    </Compile>
    <Compile Include="UI\Editors\Common\OdbcEditor.cs">
      <SubType>UserControl</SubType>
    </Compile>
    <Compile Include="UI\Editors\Common\OdbcEditor.designer.cs">
      <DependentUpon>OdbcEditor.cs</DependentUpon>
    </Compile>
    <Compile Include="UI\Editors\Common\OdbcManager.cs" />
    <Compile Include="UI\Editors\Common\OleDbEditor.cs">
      <SubType>UserControl</SubType>
    </Compile>
    <Compile Include="UI\Editors\Common\OleDbEditor.designer.cs">
      <DependentUpon>OleDbEditor.cs</DependentUpon>
    </Compile>
    <Compile Include="UI\Editors\Common\OracleEditor.cs">
      <SubType>UserControl</SubType>
    </Compile>
    <Compile Include="UI\Editors\Common\OracleEditor.designer.cs">
      <DependentUpon>OracleEditor.cs</DependentUpon>
    </Compile>
    <Compile Include="UI\Editors\Common\SqlClientEditor.cs">
      <SubType>UserControl</SubType>
    </Compile>
    <Compile Include="UI\Editors\Common\SqlClientEditor.designer.cs">
      <DependentUpon>SqlClientEditor.cs</DependentUpon>
    </Compile>
    <Compile Include="UI\Editors\Common\SqlCompactEditor.cs">
      <SubType>UserControl</SubType>
    </Compile>
    <Compile Include="UI\Editors\Common\SqlCompactEditor.designer.cs">
      <DependentUpon>SqlCompactEditor.cs</DependentUpon>
    </Compile>
    <Compile Include="UI\Editors\Firebird\FirebirdEditor.cs">
      <SubType>UserControl</SubType>
    </Compile>
    <Compile Include="UI\Editors\Firebird\FirebirdEditor.designer.cs">
      <DependentUpon>FirebirdEditor.cs</DependentUpon>
    </Compile>
    <Compile Include="UI\Editors\Firebird\FirebirdStringBuilder.cs" />
    <Compile Include="UI\Editors\MySql\MySqlEditor.cs">
      <SubType>UserControl</SubType>
    </Compile>
    <Compile Include="UI\Editors\MySql\MySqlEditor.designer.cs">
      <DependentUpon>MySqlEditor.cs</DependentUpon>
    </Compile>
    <Compile Include="UI\Editors\MySql\MySQLStringBuilder.cs" />
    <Compile Include="UI\Editors\Postgre\PostgreEditor.cs">
      <SubType>UserControl</SubType>
    </Compile>
    <Compile Include="UI\Editors\Postgre\PostgreEditor.Designer.cs">
      <DependentUpon>PostgreEditor.cs</DependentUpon>
    </Compile>
    <Compile Include="UI\Editors\Postgre\PostgreStringBuilder.cs" />
    <Compile Include="UI\Editors\SQLite\SqliteEditor.cs">
      <SubType>UserControl</SubType>
    </Compile>
    <Compile Include="UI\Editors\SQLite\SqliteEditor.designer.cs">
      <DependentUpon>SqliteEditor.cs</DependentUpon>
    </Compile>
    <Compile Include="UI\Editors\SQLite\SQLiteStringBuilder.cs" />
    <Compile Include="UI\frmDialog.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="UI\frmDialog.Designer.cs">
      <DependentUpon>frmDialog.cs</DependentUpon>
    </Compile>
    <Compile Include="Properties\AssemblyInfo.cs" />
  </ItemGroup>
  <ItemGroup>
    <None Include="app.config" />
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="UI\Editors\Common\OleDbAccessEditor.resx">
      <DependentUpon>OleDbAccessEditor.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="UI\Editors\Common\GenericEditor.resx">
      <DependentUpon>GenericEditor.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="UI\Editors\Common\OdbcEditor.resx">
      <DependentUpon>OdbcEditor.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="UI\Editors\Common\OleDbEditor.resx">
      <DependentUpon>OleDbEditor.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="UI\Editors\Common\OracleEditor.resx">
      <DependentUpon>OracleEditor.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="UI\Editors\Common\SqlClientEditor.resx">
      <DependentUpon>SqlClientEditor.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="UI\Editors\Common\SqlCompactEditor.resx">
      <DependentUpon>SqlCompactEditor.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="UI\Editors\Firebird\FirebirdEditor.resx">
      <DependentUpon>FirebirdEditor.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="UI\Editors\MySql\MySqlEditor.resx">
      <DependentUpon>MySqlEditor.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="UI\Editors\Postgre\PostgreEditor.resx">
      <DependentUpon>PostgreEditor.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="UI\Editors\SQLite\SqliteEditor.resx">
      <DependentUpon>SqliteEditor.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="UI\frmDialog.resx">
      <DependentUpon>frmDialog.cs</DependentUpon>
    </EmbeddedResource>
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
  -->
</Project>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Other
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions