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

Commit 7315c45

Browse files
committed
Replace NET45 build symbol with ASYNC
1 parent f7f7726 commit 7315c45

34 files changed

+34
-34
lines changed

src/ServiceStack.OrmLite.MySql/MySqlDialectProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ protected MySqlDataReader Unwrap(IDataReader reader)
233233
return (MySqlDataReader)reader;
234234
}
235235

236-
#if NET45
236+
#if ASYNC
237237
public override Task OpenAsync(IDbConnection db, CancellationToken token)
238238
{
239239
return Unwrap(db).OpenAsync(token);

src/ServiceStack.OrmLite.MySql/ServiceStack.OrmLite.MySql.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<DebugType>pdbonly</DebugType>
3131
<Optimize>true</Optimize>
3232
<OutputPath>bin\Release\</OutputPath>
33-
<DefineConstants>TRACE</DefineConstants>
33+
<DefineConstants>TRACE;ASYNC</DefineConstants>
3434
<ErrorReport>prompt</ErrorReport>
3535
<WarningLevel>4</WarningLevel>
3636
<Prefer32Bit>false</Prefer32Bit>

src/ServiceStack.OrmLite.PostgreSQL/PostgreSQLDialectProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ protected NpgsqlDataReader Unwrap(IDataReader reader)
347347
return (NpgsqlDataReader)reader;
348348
}
349349

350-
#if NET45
350+
#if ASYNC
351351
public override Task OpenAsync(IDbConnection db, CancellationToken token)
352352
{
353353
return Unwrap(db).OpenAsync(token);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<DebugType>pdbonly</DebugType>
3131
<Optimize>true</Optimize>
3232
<OutputPath>bin\Release\</OutputPath>
33-
<DefineConstants>TRACE</DefineConstants>
33+
<DefineConstants>TRACE;ASYNC</DefineConstants>
3434
<ErrorReport>prompt</ErrorReport>
3535
<WarningLevel>4</WarningLevel>
3636
<Prefer32Bit>false</Prefer32Bit>

src/ServiceStack.OrmLite.SqlServer/ServiceStack.OrmLite.SqlServer.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<DebugType>pdbonly</DebugType>
5050
<Optimize>true</Optimize>
5151
<OutputPath>bin\Release\</OutputPath>
52-
<DefineConstants>TRACE</DefineConstants>
52+
<DefineConstants>TRACE;ASYNC</DefineConstants>
5353
<ErrorReport>prompt</ErrorReport>
5454
<WarningLevel>4</WarningLevel>
5555
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>

src/ServiceStack.OrmLite.SqlServer/SqlServerOrmLiteDialectProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ protected SqlDataReader Unwrap(IDataReader reader)
372372
return (SqlDataReader)reader;
373373
}
374374

375-
#if NET45
375+
#if ASYNC
376376
public override Task OpenAsync(IDbConnection db, CancellationToken token)
377377
{
378378
return Unwrap(db).OpenAsync(token);

src/ServiceStack.OrmLite.Sqlite.Windows/ServiceStack.OrmLite.Sqlite.Windows.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<DebugType>pdbonly</DebugType>
3232
<Optimize>true</Optimize>
3333
<OutputPath>bin\Release\</OutputPath>
34-
<DefineConstants>TRACE</DefineConstants>
34+
<DefineConstants>TRACE;ASYNC</DefineConstants>
3535
<ErrorReport>prompt</ErrorReport>
3636
<WarningLevel>4</WarningLevel>
3737
<Prefer32Bit>false</Prefer32Bit>

src/ServiceStack.OrmLite.Sqlite/ServiceStack.OrmLite.Sqlite.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<DebugType>pdbonly</DebugType>
5050
<Optimize>true</Optimize>
5151
<OutputPath>bin\Release\</OutputPath>
52-
<DefineConstants>TRACE</DefineConstants>
52+
<DefineConstants>TRACE;ASYNC</DefineConstants>
5353
<ErrorReport>prompt</ErrorReport>
5454
<WarningLevel>4</WarningLevel>
5555
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>

src/ServiceStack.OrmLite/Async/OrmLiteReadCommandExtensionsAsync.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if NET45
1+
#if ASYNC
22
// Copyright (c) Service Stack LLC. All Rights Reserved.
33
// License: https://raw.github.com/ServiceStack/ServiceStack/master/license.txt
44

src/ServiceStack.OrmLite/Async/OrmLiteResultsFilterExtensionsAsync.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if NET45
1+
#if ASYNC
22
// Copyright (c) Service Stack LLC. All Rights Reserved.
33
// License: https://raw.github.com/ServiceStack/ServiceStack/master/license.txt
44

0 commit comments

Comments
 (0)