Пример #1
0
        public override object GetValue(object value, Type type)
        {
            if ((!OrmLiteConfig.UseParameterizeSqlExpressions) || SkipParameterizationForThisExpression)
            {
                return(DialectProvider.GetQuotedValue(value, type));
            }

            var paramValue = DialectProvider.GetParamValue(value, type);

            return(paramValue ?? "null");
        }
Пример #2
0
 public override object GetValue(object value, Type type)
 {
     return(SkipParameterizationForThisExpression
         ? DialectProvider.GetQuotedValue(value, type)
         : DialectProvider.GetParamValue(value, type));
 }
Пример #3
0
 public override object GetValue(object value, Type type)
 {
     return(((!OrmLiteConfig.UseParameterizeSqlExpressions) || SkipParameterizationForThisExpression)
         ? DialectProvider.GetQuotedValue(value, type)
         : DialectProvider.GetParamValue(value, type));
 }