Exemplo n.º 1
0
 public QueryParamater(QueryType queryType,
                       QueryRelatedType queryRelatedType = QueryRelatedType.AND)
 {
     QueryName         = string.Empty;
     EQueryType        = queryType;
     EQueryRelatedType = queryRelatedType;
 }
Exemplo n.º 2
0
 /// <summary>
 ///     构造函数
 /// </summary>
 /// <param name="queryName">查询字段名</param>
 /// <param name="queryType">排序方式</param>
 /// <param name="queryRelatedType"> </param>
 public QueryParamater(object queryName, QueryType queryType,
                       QueryRelatedType queryRelatedType = QueryRelatedType.AND)
 {
     QueryName         = queryName.ToString();
     EQueryType        = queryType;
     EQueryRelatedType = queryRelatedType;
 }
Exemplo n.º 3
0
 /// <summary>
 ///     构造函数
 /// </summary>
 /// <param name="queryName">查询字段名</param>
 /// <param name="queryValue">字段值</param>
 /// <param name="queryType">查询方式</param>
 /// <param name="queryRelatedType">查询条件之间的关系类型枚举</param>
 public QueryParamater(object queryName, object queryValue, QueryType queryType,
                       QueryRelatedType queryRelatedType = QueryRelatedType.AND)
 {
     IsInnerQuery      = false;
     QueryName         = queryName.ToString();
     QueryValue        = queryValue.ToString();
     EQueryType        = queryType;
     EQueryRelatedType = queryRelatedType;
 }