1
0
mirror of synced 2024-11-16 06:43:51 +00:00

Rename fixes

This commit is contained in:
Menno van Lavieren 2017-07-27 16:02:03 +02:00
parent 66e9f90187
commit 5557397b9d

View File

@ -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;