From 8d069e1c487c19b0ea8096ea21d17d8a7f9b045e 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;