From 5557397b9d0a403c3421df5452e82fb1cacbd9dd Mon Sep 17 00:00:00 2001 From: Menno van Lavieren Date: Thu, 27 Jul 2017 16:02:03 +0200 Subject: [PATCH] Rename fixes --- Tapeti.Flow.SQL/SqlConnectionFlowRepository.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tapeti.Flow.SQL/SqlConnectionFlowRepository.cs b/Tapeti.Flow.SQL/SqlConnectionFlowRepository.cs index 35e9078..4af9d05 100644 --- a/Tapeti.Flow.SQL/SqlConnectionFlowRepository.cs +++ b/Tapeti.Flow.SQL/SqlConnectionFlowRepository.cs @@ -18,7 +18,7 @@ namespace Tapeti.Flow.SQL FlowID uniqueidentifier not null, ServiceID int not null, CreationTime datetime2(3) not null, - Flowdata nvarchar(max) null, + StateJson nvarchar(max) null, constraint PK_Flow primary key clustered (FlowID) ); @@ -44,8 +44,8 @@ namespace Tapeti.Flow.SQL using (var connection = await GetConnection()) { var flowQuery = new SqlCommand($"select FlowID, StateJson from {schema}.Flow " + - "where ServiceID = @ServiceID " + - "order by FlowID", connection); + "where ServiceID = @ServiceID ", + connection); var flowServiceParam = flowQuery.Parameters.Add("@ServiceID", SqlDbType.Int); flowServiceParam.Value = serviceId;