This repository was archived by the owner on Dec 24, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
ServiceStack.OrmLite.Oracle
ServiceStack.OrmLite/Expressions Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ protected override object VisitColumnAccessMethod(MethodCallExpression m)
32
32
return base . VisitColumnAccessMethod ( m ) ;
33
33
}
34
34
35
- protected override void ConvertToPlaceholderAndParameter ( ref object right , Expression rightExpression )
35
+ protected override void ConvertToPlaceholderAndParameter ( ref object right )
36
36
{
37
37
if ( ! ( ( OracleOrmLiteDialectProvider ) DialectProvider ) . ParameterizeStatement )
38
38
return ;
Original file line number Diff line number Diff line change @@ -1104,7 +1104,7 @@ protected virtual object VisitBinary(BinaryExpression b)
1104
1104
if ( operand == "AND" || operand == "OR" || operand == "is" || operand == "is not" )
1105
1105
skipParameterizationForThisVisit = true ;
1106
1106
1107
- DoParameterization ( skipParameterizationForThisVisit , ref right , b . Right ) ;
1107
+ DoParameterization ( skipParameterizationForThisVisit , ref right ) ;
1108
1108
1109
1109
switch ( operand )
1110
1110
{
@@ -1116,15 +1116,15 @@ protected virtual object VisitBinary(BinaryExpression b)
1116
1116
}
1117
1117
}
1118
1118
1119
- private void DoParameterization ( bool skipParameterizationForThisVisit , ref object right , Expression rightExpression )
1119
+ private void DoParameterization ( bool skipParameterizationForThisVisit , ref object right )
1120
1120
{
1121
1121
if ( skipParameterizationForThisVisit )
1122
1122
return ;
1123
1123
1124
1124
if ( SkipParameterizationForThisExpression )
1125
1125
return ;
1126
1126
1127
- ConvertToPlaceholderAndParameter ( ref right , rightExpression ) ;
1127
+ ConvertToPlaceholderAndParameter ( ref right ) ;
1128
1128
}
1129
1129
1130
1130
protected virtual object VisitMemberAccess ( MemberExpression m )
@@ -1654,7 +1654,7 @@ protected virtual object VisitColumnAccessMethod(MethodCallExpression m)
1654
1654
return new PartialSqlString ( statement ) ;
1655
1655
}
1656
1656
1657
- protected virtual void ConvertToPlaceholderAndParameter ( ref object right , Expression rightExpression )
1657
+ protected virtual void ConvertToPlaceholderAndParameter ( ref object right )
1658
1658
{
1659
1659
}
1660
1660
You can’t perform that action at this time.
0 commit comments