C# Class SubSonic.Linq.Translation.OracleParameterizer

Parameterization for Oracle is the same as the base Parameterizer, except that all constants are parameterized, not just strings. Not parameterizing all constants can severely hinder Oracle's a bility to scale, because it will reparse the sql and generate a new execution plan for each unique query. Having literals in the queries causes them to not exactly match. This is configurable behavior within Oracle, but we should assume that most devs don't have the ability to tweak the Oracle query analyzer.
Inheritance: Parameterizer
Afficher le fichier Open project: rally25rs/SubSonic-3.0

Protected Properties

Свойство Type Description
doParameterization bool

Méthodes publiques

Méthode Description
Parameterize ( Expression expression ) : Expression

Méthodes protégées

Méthode Description
VisitConstant ( ConstantExpression c ) : Expression
VisitSelect ( SelectExpression select ) : Expression

Method Details

Parameterize() public static méthode

public static Parameterize ( Expression expression ) : Expression
expression System.Linq.Expressions.Expression
Résultat System.Linq.Expressions.Expression

VisitConstant() protected méthode

protected VisitConstant ( ConstantExpression c ) : Expression
c System.Linq.Expressions.ConstantExpression
Résultat System.Linq.Expressions.Expression

VisitSelect() protected méthode

protected VisitSelect ( SelectExpression select ) : Expression
select SelectExpression
Résultat System.Linq.Expressions.Expression

Property Details

doParameterization protected_oe property

protected bool doParameterization
Résultat bool