标签:word 表达式树 esc 前端 表达 表达式 数据模型 keyword 知识
1 /// <summary> 2 /// 当前条件所属类型 3 /// </summary> 4 public enum Em_AS_ConditionType 5 { 6 /// <summary> 7 /// 并 8 /// </summary> 9 [Description("并")] 10 And = 0, 11 12 /// <summary> 13 /// 或 14 /// </summary> 15 [Description("或")] 16 Or = 1 17 }
1 /// <summary> 2 /// 高级搜索条件 3 /// </summary> 4 public enum Em_AS_Condition 5 { 6 /// <summary> 7 /// 包含 8 /// </summary> 9 [Description("包含")] 10 Include = 0, 11 12 /// <summary> 13 /// 等于 14 /// </summary> 15 [Description("=")] 16 Equal = 1, 17 18 /// <summary> 19 /// 大于等于 20 /// </summary> 21 [Description(">=")] 22 GtEqual = 2, 23 24 /// <summary> 25 /// 大于 26 /// </summary> 27 [Description(">")] 28 Gt = 3, 29 30 /// <summary> 31 /// 小于等于 32 /// </summary> 33 [Description("<=")] 34 LtEqual = 4, 35 36 /// <summary> 37 /// 小于 38 /// </summary> 39 [Description("<")] 40 Lt = 5, 41 }
/// <summary> /// 高级查询 /// </summary>public class QM_Adv { /// <summary> /// 属性名称 /// </summary>public string PropName { get; set; } /// <summary> /// 条件 /// </summary>public Em_AS_Condition Condition { get; set; } /// <summary> /// 关键字 /// </summary>public string Keyword { get; set; } /// <summary> /// 这组条件与其它条件的关系 /// </summary>public Em_AS_ConditionType ConditionType { get; set; } }
标签:word 表达式树 esc 前端 表达 表达式 数据模型 keyword 知识
原文地址:http://www.cnblogs.com/impl/p/6882148.html