File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
WeatherControl/Wissance.WeatherControl.WebApi.V2/Helpers Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ public string GetQueryToDeleteItem(ModelType model)
4848
4949 private readonly IDictionary < ModelType , string > _selectCountQueries = new Dictionary < ModelType , string > ( )
5050 {
51- { ModelType . MeasureUnit , "SELECT COUNT ( SELECT MeasureUnit {{id}})" } ,
52- { ModelType . Measurement , "SELECT COUNT (SELECT Measurement {{id}})" } ,
53- { ModelType . Sensor , "SELECT COUNT ( SELECT Sensor {{id}})" } ,
54- { ModelType . MeteoStation , "SELECT COUNT ( SELECT MeteoStation {{id}})" }
51+ { ModelType . MeasureUnit , "SELECT count (( SELECT MeasureUnit {{id}}) )" } ,
52+ { ModelType . Measurement , "SELECT count ( (SELECT Measurement {{id}})" } ,
53+ { ModelType . Sensor , "SELECT count (( SELECT Sensor {{id}}) )" } ,
54+ { ModelType . MeteoStation , "SELECT count (( SELECT MeteoStation {{id}}) )" }
5555 } ;
5656
5757 private readonly IDictionary < ModelType , string > _selectManyWithLimitsQueries = new Dictionary < ModelType , string > ( )
You can’t perform that action at this time.
0 commit comments