internal override SqlExpression VisitClientParameter(SqlClientParameter cp) { if (cp.SqlType.CanBeParameter) { var parameter = new SqlParameter(cp.ClrType, cp.SqlType, CreateParameterName(), cp.SourceExpression); currentParams.Add(new SqlParameterInfo(parameter, cp.Accessor.Compile())); return(parameter); } return(cp); }
internal virtual SqlExpression VisitClientParameter(SqlClientParameter cp) { return(cp); }