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

Commit 2ff1434

Browse files
committed
Move Async API's to default namespace
1 parent 1914218 commit 2ff1434

File tree

8 files changed

+13
-14
lines changed

8 files changed

+13
-14
lines changed

src/ServiceStack.OrmLite/Async/OrmLiteReadApiAsync.cs renamed to src/ServiceStack.OrmLite/OrmLiteReadApiAsync.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
using System.Linq.Expressions;
99
using System.Threading;
1010
using System.Threading.Tasks;
11-
using ServiceStack.Text;
11+
using ServiceStack.OrmLite.Async;
1212

13-
namespace ServiceStack.OrmLite.Async
13+
namespace ServiceStack.OrmLite
1414
{
1515
public static class OrmLiteReadApiAsync
1616
{

src/ServiceStack.OrmLite/Async/OrmLiteReadExpressionsApiAsync.cs renamed to src/ServiceStack.OrmLite/OrmLiteReadExpressionsApiAsync.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
using System.Linq.Expressions;
88
using System.Threading;
99
using System.Threading.Tasks;
10+
using ServiceStack.OrmLite.Async;
1011

11-
namespace ServiceStack.OrmLite.Async
12+
namespace ServiceStack.OrmLite
1213
{
1314
public static class OrmLiteReadExpressionsApiAsync
1415
{

src/ServiceStack.OrmLite/Async/OrmLiteWriteApiAsync.cs renamed to src/ServiceStack.OrmLite/OrmLiteWriteApiAsync.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99
using System.Threading;
1010
using System.Threading.Tasks;
1111
using ServiceStack.Data;
12+
using ServiceStack.OrmLite.Async;
1213

13-
namespace ServiceStack.OrmLite.Async
14+
namespace ServiceStack.OrmLite
1415
{
1516
public static class OrmLiteWriteApiAsync
1617
{

src/ServiceStack.OrmLite/Async/OrmLiteWriteExpressionsApiAsync.cs renamed to src/ServiceStack.OrmLite/OrmLiteWriteExpressionsApiAsync.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
using System.Linq.Expressions;
44
using System.Threading;
55
using System.Threading.Tasks;
6+
using ServiceStack.OrmLite.Async;
67

7-
namespace ServiceStack.OrmLite.Async
8+
namespace ServiceStack.OrmLite
89
{
910
public static class OrmLiteWriteExpressionsApiAsync
1011
{

src/ServiceStack.OrmLite/ServiceStack.OrmLite.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,15 +106,15 @@
106106
<ItemGroup>
107107
<Compile Include="AliasNamingStrategy.cs" />
108108
<Compile Include="Async\async.cs" />
109-
<Compile Include="Async\OrmLiteReadApiAsync.cs" />
109+
<Compile Include="OrmLiteReadApiAsync.cs" />
110110
<Compile Include="Async\OrmLiteReadCommandExtensionsAsync.cs" />
111111
<Compile Include="Async\OrmLiteResultsFilterExtensionsAsync.cs" />
112112
<Compile Include="Async\OrmLiteUtilExtensionsAsync.cs" />
113-
<Compile Include="Async\OrmLiteWriteApiAsync.cs" />
113+
<Compile Include="OrmLiteWriteApiAsync.cs" />
114114
<Compile Include="Async\OrmLiteWriteCommandExtensionsAsync.cs" />
115-
<Compile Include="Async\OrmLiteReadExpressionsApiAsync.cs" />
115+
<Compile Include="OrmLiteReadExpressionsApiAsync.cs" />
116116
<Compile Include="Async\ReadExpressionCommandExtensionsAsync.cs" />
117-
<Compile Include="Async\OrmLiteWriteExpressionsApiAsync.cs" />
117+
<Compile Include="OrmLiteWriteExpressionsApiAsync.cs" />
118118
<Compile Include="Async\WriteExpressionCommandExtensionsAsync.cs" />
119119
<Compile Include="Expressions\SqlExpression.Join.cs" />
120120
<Compile Include="Expressions\SqlExpressionVisitor.cs" />

tests/ServiceStack.OrmLite.Tests/ApiSqlServerTestsAsync.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.Data;
33
using System.Threading.Tasks;
44
using NUnit.Framework;
5-
using ServiceStack.OrmLite.Async;
65
using ServiceStack.OrmLite.Tests.Shared;
76

87
namespace ServiceStack.OrmLite.Tests

tests/ServiceStack.OrmLite.Tests/ApiSqliteTestsAsync.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.Data;
33
using System.Threading.Tasks;
44
using NUnit.Framework;
5-
using ServiceStack.OrmLite.Async;
65
using ServiceStack.OrmLite.Tests.Shared;
76

87
namespace ServiceStack.OrmLite.Tests

tests/ServiceStack.OrmLite.Tests/AsyncTests.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
using System.Linq;
2-
using System.Threading;
1+
using System.Threading;
32
using System.Threading.Tasks;
43
using NUnit.Framework;
54
using ServiceStack.Common.Tests.Models;
6-
using ServiceStack.OrmLite.Async;
75
using ServiceStack.Text;
86

97
using ServiceStack.OrmLite.Tests.Shared;

0 commit comments

Comments
 (0)