public static Amend ( |
||
typeDescriptorProvider | ||
expression | ||
return |
protected override Expression PreProcess(Expression expression) { expression = SqlServerIdentityInsertAndUpdateAmender.Amend(this.typeDescriptorProvider, expression); expression = SqlServerSubqueryOrderByFixer.Fix(expression); expression = SqlServerLimitAmender.Amend(expression); expression = SqlServerBooleanNormalizer.Normalize(expression); expression = SqlServerDateTimeFunctionsAmender.Amend(expression); expression = SqlServerUniqueNullIndexAnsiComplianceFixer.Fix(expression); return(base.PreProcess(expression)); }
protected override Expression PreProcess(Expression expression) { expression = SqlServerClusteredIndexNormalizer.Normalize(expression); expression = SqlServerIdentityInsertAndUpdateAmender.Amend(this.typeDescriptorProvider, expression); expression = SqlServerSubqueryOrderByFixer.Fix(expression); expression = SqlServerLimitAmender.Amend(expression); expression = SqlServerUniqueNullIndexAnsiComplianceFixer.Fix(this.typeDescriptorProvider, expression, this.contextInfo.UniqueNullIndexAnsiComplianceFixerClassicBehaviour, this.contextInfo.ExplicitIndexConditionOverridesNullAnsiCompliance); expression = SqlServerDateTimeFunctionsAmender.Amend(expression); expression = SqlServerAggregateTypeFixer.Fix(expression); expression = SqlServerBooleanNormalizer.Normalize(expression); return(base.PreProcess(expression)); }