Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 77a15a9

Browse files
committed
Fix pgsql test to use more appropriate SqlList<T>
1 parent 03aa092 commit 77a15a9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/ServiceStack.OrmLite.PostgreSQL.Tests/OrmLiteSelectTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ WITH max_id AS (
342342
FROM ModelWithFieldsOfDifferentTypes
343343
WHERE id <= (SELECT three FROM max_id)";
344344

345-
var rows = db.Select<ModelWithFieldsOfDifferentTypes>(sql);
345+
var rows = db.SqlList<ModelWithFieldsOfDifferentTypes>(sql);
346346

347347
Assert.That(rows.Count, Is.EqualTo((3)));
348348
}

src/ServiceStack.OrmLite.PostgreSQL.Tests/ServiceStack.OrmLite.PostgreSQL.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
<DefineConstants>TRACE</DefineConstants>
3131
<ErrorReport>prompt</ErrorReport>
3232
<WarningLevel>4</WarningLevel>
33+
<PlatformTarget>x86</PlatformTarget>
3334
</PropertyGroup>
3435
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Signed|AnyCPU'">
3536
<OutputPath>bin\Signed\</OutputPath>

0 commit comments

Comments
 (0)