diff --git a/src/Connected.Data/Sql/TSqlLinguist.cs b/src/Connected.Data/Sql/TSqlLinguist.cs index d2b48e9..e1fca67 100644 --- a/src/Connected.Data/Sql/TSqlLinguist.cs +++ b/src/Connected.Data/Sql/TSqlLinguist.cs @@ -9,31 +9,33 @@ namespace Connected.Data.Sql; internal sealed class TSqlLinguist : Linguist { - public TSqlLinguist(ExpressionCompilationContext context, TSqlLanguage language, Translator translator) - : base(context, language, translator) - { - } + public TSqlLinguist(ExpressionCompilationContext context, TSqlLanguage language, Translator translator) + : base(context, language, translator) + { + } - public override Expression Translate(Expression expression) - { - /* - * fix up any order-by's - */ - expression = OrderByRewriter.Rewrite(Language, expression); + public override Expression Translate(Expression expression) + { + /* + * fix up any order-by's + */ + expression = OrderByRewriter.Rewrite(Language, expression); - expression = base.Translate(expression); - /* - * convert skip/take info into RowNumber pattern - */ - expression = SkipToRowNumberRewriter.Rewrite(Language, expression); - - expression = WhereClauseRewriter.Rewrite(Context, expression); - - return expression; - } + expression = base.Translate(expression); + /* + * convert skip/take info into RowNumber pattern + */ + expression = SkipToRowNumberRewriter.Rewrite(Language, expression); + /* + * fix up any order-by's we may have changed + */ + expression = OrderByRewriter.Rewrite(Language, expression); - public override string Format(Expression expression) - { - return TSqlFormatter.Format(Context, expression, Language); - } + return expression; + } + + public override string Format(Expression expression) + { + return TSqlFormatter.Format(Context, expression, Language); + } } diff --git a/src/Connected.Hosting/Connected.Hosting.csproj b/src/Connected.Hosting/Connected.Hosting.csproj index aa6501e..3495b75 100644 --- a/src/Connected.Hosting/Connected.Hosting.csproj +++ b/src/Connected.Hosting/Connected.Hosting.csproj @@ -56,4 +56,8 @@ + + + + diff --git a/src/Connected.Instance/Connected.Instance.csproj b/src/Connected.Instance/Connected.Instance.csproj index da0489b..69c7eef 100644 --- a/src/Connected.Instance/Connected.Instance.csproj +++ b/src/Connected.Instance/Connected.Instance.csproj @@ -71,4 +71,8 @@ + + + + diff --git a/src/Connected.Interop/Connected.Interop.csproj b/src/Connected.Interop/Connected.Interop.csproj index d3b577c..0cae4db 100644 --- a/src/Connected.Interop/Connected.Interop.csproj +++ b/src/Connected.Interop/Connected.Interop.csproj @@ -60,4 +60,8 @@ + + + + diff --git a/src/Connected.Middleware/Connected.Middleware.csproj b/src/Connected.Middleware/Connected.Middleware.csproj index d59f7f9..80a40bb 100644 --- a/src/Connected.Middleware/Connected.Middleware.csproj +++ b/src/Connected.Middleware/Connected.Middleware.csproj @@ -41,4 +41,8 @@ + + + + diff --git a/src/Connected.Net/Connected.Net.csproj b/src/Connected.Net/Connected.Net.csproj index 59325da..99cfa81 100644 --- a/src/Connected.Net/Connected.Net.csproj +++ b/src/Connected.Net/Connected.Net.csproj @@ -61,4 +61,8 @@ + + + + diff --git a/src/Connected.Notifications/Connected.Notifications.csproj b/src/Connected.Notifications/Connected.Notifications.csproj index 217532e..1dca1c0 100644 --- a/src/Connected.Notifications/Connected.Notifications.csproj +++ b/src/Connected.Notifications/Connected.Notifications.csproj @@ -41,5 +41,8 @@ - + + + + diff --git a/src/Connected.Rest/Connected.Rest.csproj b/src/Connected.Rest/Connected.Rest.csproj index 8e3c688..be71bbd 100644 --- a/src/Connected.Rest/Connected.Rest.csproj +++ b/src/Connected.Rest/Connected.Rest.csproj @@ -61,4 +61,8 @@ + + + + diff --git a/src/Connected.Runtime/Connected.Runtime.csproj b/src/Connected.Runtime/Connected.Runtime.csproj index d6d6996..60379d5 100644 --- a/src/Connected.Runtime/Connected.Runtime.csproj +++ b/src/Connected.Runtime/Connected.Runtime.csproj @@ -43,4 +43,8 @@ + + + + diff --git a/src/Connected.Security/Connected.Security.csproj b/src/Connected.Security/Connected.Security.csproj index e36859b..9289f1b 100644 --- a/src/Connected.Security/Connected.Security.csproj +++ b/src/Connected.Security/Connected.Security.csproj @@ -58,5 +58,8 @@ - + + + + diff --git a/src/Connected.Services/Connected.Services.csproj b/src/Connected.Services/Connected.Services.csproj index 18de354..1103a8e 100644 --- a/src/Connected.Services/Connected.Services.csproj +++ b/src/Connected.Services/Connected.Services.csproj @@ -61,4 +61,8 @@ + + + + diff --git a/src/Connected.Threading/Connected.Threading.csproj b/src/Connected.Threading/Connected.Threading.csproj index 516e87f..0cb4e4b 100644 --- a/src/Connected.Threading/Connected.Threading.csproj +++ b/src/Connected.Threading/Connected.Threading.csproj @@ -55,4 +55,8 @@ + + + + diff --git a/src/Connected.Validation/Connected.Validation.csproj b/src/Connected.Validation/Connected.Validation.csproj index 6981ec0..9a65cd3 100644 --- a/src/Connected.Validation/Connected.Validation.csproj +++ b/src/Connected.Validation/Connected.Validation.csproj @@ -56,4 +56,8 @@ + + + +