コード例 #1
0
 public QueryConditionNode(QField lvalue, Conditions conditions, QConst rvalue)
     : base()
 {
     _RValue = rvalue;
     _Condition = conditions;
     _LValue = lvalue;
 }
コード例 #2
0
 private static BsonRegularExpression LikeExprToRegexExpr(QConst val)
 {
     return new BsonRegularExpression(val.Value.ToString().Replace("%", "[a-zA-Z0-9_ ]"));
 }
コード例 #3
0
 private static BsonValue GetBsonValue(QConst val)
 {
     return val.ConstType != TypeCode.Empty ? BsonValue.Create(Convert.ChangeType(val.Value, val.ConstType)) : BsonValue.Create(val.Value);
 }