From 7743378fdb2d3dcc778b1cfe77afaf10d630ef82 Mon Sep 17 00:00:00 2001 From: HuyLuong Date: Wed, 2 Dec 2020 10:58:29 +0700 Subject: [PATCH] fix order of translators --- .../Query/Internal/SqlServerMethodCallTranslatorProvider.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/EFCore.SqlServer/Query/Internal/SqlServerMethodCallTranslatorProvider.cs b/src/EFCore.SqlServer/Query/Internal/SqlServerMethodCallTranslatorProvider.cs index b68f3781d73..c3e030bc4f8 100644 --- a/src/EFCore.SqlServer/Query/Internal/SqlServerMethodCallTranslatorProvider.cs +++ b/src/EFCore.SqlServer/Query/Internal/SqlServerMethodCallTranslatorProvider.cs @@ -38,11 +38,11 @@ public SqlServerMethodCallTranslatorProvider([NotNull] RelationalMethodCallTrans new SqlServerFromPartsFunctionTranslator(sqlExpressionFactory, typeMappingSource), new SqlServerFullTextSearchFunctionsTranslator(sqlExpressionFactory), new SqlServerIsDateFunctionTranslator(sqlExpressionFactory), + new SqlServerIsNumericFunctionTranslator(sqlExpressionFactory), new SqlServerMathTranslator(sqlExpressionFactory), new SqlServerNewGuidTranslator(sqlExpressionFactory), new SqlServerObjectToStringTranslator(sqlExpressionFactory), - new SqlServerStringMethodTranslator(sqlExpressionFactory), - new SqlServerIsNumericFunctionTranslator(sqlExpressionFactory) + new SqlServerStringMethodTranslator(sqlExpressionFactory) }); } }