Skip to content

Commit be8a924

Browse files
TanielianVBmaumar
authored andcommitted
Applying fixes....
1 parent e8be8be commit be8a924

9 files changed

Lines changed: 1 addition & 48 deletions

File tree

src/EntityFramework.SqlServer/SqlServerCompositeMethodCallTranslator.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ public class SqlServerCompositeMethodCallTranslator : RelationalCompositeMethodC
2626
new StringReplaceTranslator(),
2727
new StringToLowerTranslator(),
2828
new StringToUpperTranslator(),
29-
//Convert methods
3029
new ConvertToByteTranslator(),
3130
new ConvertToDecimalTranslator(),
3231
new ConvertToDoubleTranslator(),

src/EntityFramework7.SqlServer/Query/Methods/ConvertToByteTranslator.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using System;
5-
using System.Linq;
6-
using System.Linq.Expressions;
7-
using System.Reflection;
8-
using JetBrains.Annotations;
9-
using Microsoft.Data.Entity.Query.Expressions;
10-
using Microsoft.Data.Entity.Query.Methods;
115

126
namespace Microsoft.Data.Entity.SqlServer.Query.Methods
137
{

src/EntityFramework7.SqlServer/Query/Methods/ConvertToDecimalTranslator.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using System;
5-
using System.Linq;
6-
using System.Linq.Expressions;
7-
using System.Reflection;
8-
using JetBrains.Annotations;
9-
using Microsoft.Data.Entity.Query.Expressions;
10-
using Microsoft.Data.Entity.Query.Methods;
115

126
namespace Microsoft.Data.Entity.SqlServer.Query.Methods
137
{

src/EntityFramework7.SqlServer/Query/Methods/ConvertToDoubleTranslator.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using System;
5-
using System.Linq;
6-
using System.Linq.Expressions;
7-
using System.Reflection;
8-
using JetBrains.Annotations;
9-
using Microsoft.Data.Entity.Query.Expressions;
10-
using Microsoft.Data.Entity.Query.Methods;
115

126
namespace Microsoft.Data.Entity.SqlServer.Query.Methods
137
{

src/EntityFramework7.SqlServer/Query/Methods/ConvertToInt16Translator.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using System;
5-
using System.Linq;
6-
using System.Linq.Expressions;
7-
using System.Reflection;
8-
using JetBrains.Annotations;
9-
using Microsoft.Data.Entity.Query.Expressions;
10-
using Microsoft.Data.Entity.Query.Methods;
115

126
namespace Microsoft.Data.Entity.SqlServer.Query.Methods
137
{

src/EntityFramework7.SqlServer/Query/Methods/ConvertToInt32Translator.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using System;
5-
using System.Linq;
6-
using System.Linq.Expressions;
7-
using System.Reflection;
8-
using JetBrains.Annotations;
9-
using Microsoft.Data.Entity.Query.Expressions;
10-
using Microsoft.Data.Entity.Query.Methods;
115

126
namespace Microsoft.Data.Entity.SqlServer.Query.Methods
137
{

src/EntityFramework7.SqlServer/Query/Methods/ConvertToInt64Translator.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using System;
5-
using System.Linq;
6-
using System.Linq.Expressions;
7-
using System.Reflection;
8-
using JetBrains.Annotations;
9-
using Microsoft.Data.Entity.Query.Expressions;
10-
using Microsoft.Data.Entity.Query.Methods;
115

126
namespace Microsoft.Data.Entity.SqlServer.Query.Methods
137
{

src/EntityFramework7.SqlServer/Query/Methods/ConvertToStringTranslator.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using System;
5-
using System.Linq;
6-
using System.Linq.Expressions;
7-
using System.Reflection;
8-
using JetBrains.Annotations;
9-
using Microsoft.Data.Entity.Query.Expressions;
10-
using Microsoft.Data.Entity.Query.Methods;
115

126
namespace Microsoft.Data.Entity.SqlServer.Query.Methods
137
{

test/EntityFramework.SqlServer.FunctionalTests/QuerySqlServerTest.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3009,8 +3009,6 @@ FROM [Customers] AS [c]
30093009
Sql);
30103010
}
30113011

3012-
#region Convert Methods
3013-
30143012
[Fact]
30153013
public void Where_convert_to_byte()
30163014
{
@@ -3026,7 +3024,7 @@ FROM [Customers] AS [c]
30263024
WHERE ([c].[Fax] IS NOT NULL AND (CONVERT(tinyint, SUBSTRING([c].[Fax], (LEN([c].[Fax]) - 1), 1)) > -1))",
30273025
Sql);
30283026
}
3029-
3027+
30303028
[Fact]
30313029
public void Where_convert_to_decimal()
30323030
{
@@ -3121,8 +3119,6 @@ FROM [Customers] AS [c]
31213119
Sql);
31223120
}
31233121

3124-
#endregion
3125-
31263122
public override void Select_nested_collection()
31273123
{
31283124
base.Select_nested_collection();

0 commit comments

Comments
 (0)