Npgsql package upgrade
This commit is contained in:
parent
501199ed70
commit
82de63a0ba
17 changed files with 53 additions and 23 deletions
|
|
@ -1,3 +1,10 @@
|
|||
2015-10-01 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* packages.config:
|
||||
* NpgsqlProfileProvider.cs:
|
||||
* NpgsqlMRPProviders.csproj:
|
||||
* NpgsqlMembershipProvider.cs:
|
||||
|
||||
2015-08-04 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* NpgsqlMRPProviders.csproj: new NpgsqlUserName provider
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@
|
|||
<Reference Include="System.Data.Linq" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="Npgsql">
|
||||
<HintPath>..\packages\Npgsql.2.2.5\lib\net45\Npgsql.dll</HintPath>
|
||||
<HintPath>..\packages\Npgsql.3.0.3\lib\net45\Npgsql.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ProjectExtensions>
|
||||
|
|
|
|||
|
|
@ -358,7 +358,10 @@ namespace Npgsql.Web
|
|||
}
|
||||
|
||||
MembershipUser u = GetUser (username, false);
|
||||
|
||||
if (passwordQuestion == null)
|
||||
passwordQuestion = "";
|
||||
if (passwordAnswer == null)
|
||||
passwordAnswer = "";
|
||||
if (u == null) {
|
||||
DateTime createDate = DateTime.Now;
|
||||
|
||||
|
|
|
|||
|
|
@ -202,7 +202,7 @@ namespace Npgsql.Web
|
|||
return c;
|
||||
using (NpgsqlConnection cnx = new NpgsqlConnection (connectionString))
|
||||
using (NpgsqlCommand cmd = cnx.CreateCommand ()) {
|
||||
cmd.CommandText = "SELECT * from profiledata,profiles where " +
|
||||
cmd.CommandText = "SELECT * from profiledata, profiles where " +
|
||||
"profiledata.uniqueid = profiles.uniqueid " +
|
||||
"and profiles.username = @username " +
|
||||
"and profiles.applicationname = @appname";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Npgsql" version="2.2.5" targetFramework="net451" />
|
||||
<package id="Npgsql" version="3.0.3" targetFramework="net45" />
|
||||
</packages>
|
||||
Loading…
Add table
Add a link
Reference in a new issue