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"); }
public override object GetValue(object value, Type type) { return(SkipParameterizationForThisExpression ? DialectProvider.GetQuotedValue(value, type) : DialectProvider.GetParamValue(value, type)); }
public override object GetValue(object value, Type type) { return(((!OrmLiteConfig.UseParameterizeSqlExpressions) || SkipParameterizationForThisExpression) ? DialectProvider.GetQuotedValue(value, type) : DialectProvider.GetParamValue(value, type)); }