MySQLConnector now compiles in absence of MySqlClient library

main
Inga 🏳‍🌈 14 years ago
parent 46c8a064ef
commit 575ce0aa59
  1. 4
      MySQLConnector/MySQLConnector.csproj
  2. 4
      MySQLConnector/MySQLDBTraits.cs

@ -31,10 +31,6 @@
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="MySql.Data, Version=6.3.2.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files (x86)\MySQL\MySQL Connector Net 6.3.2\Assemblies\v2.0\MySql.Data.dll</HintPath>
</Reference>
<Reference Include="Npgsql, Version=2.0.8.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7, processorArchitecture=MSIL"> <Reference Include="Npgsql, Version=2.0.8.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion> <SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files (x86)\PostgreSQL\Npgsql\bin\Npgsql.dll</HintPath> <HintPath>C:\Program Files (x86)\PostgreSQL\Npgsql\bin\Npgsql.dll</HintPath>

@ -3,10 +3,11 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Data.Common; using System.Data.Common;
using MySql.Data.MySqlClient; //using MySql.Data.MySqlClient;
using FLocal.Core.DB; using FLocal.Core.DB;
namespace FLocal.MySQLConnector { namespace FLocal.MySQLConnector {
/*
public class MySQLDBTraits : IDBTraits { public class MySQLDBTraits : IDBTraits {
public static readonly MySQLDBTraits instance = new MySQLDBTraits(); public static readonly MySQLDBTraits instance = new MySQLDBTraits();
@ -33,4 +34,5 @@ namespace FLocal.MySQLConnector {
} }
} }
*/
} }

Loading…
Cancel
Save