Пример #1
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="property"></param>
 /// <param name="value"></param>
 /// <param name="updateType"></param>
 /// <param name="nickName"></param>
 public ComponentValueOfSet(PDMDbProperty property, object value, UpdateType updateType, string nickName = null)
 {
     init(property, updateType, value, !string.IsNullOrEmpty(nickName) ? nickName : "Set" + property.GetFieldName(nickName));
 }
Пример #2
0
 /// <summary>
 /// 新增查询项
 /// </summary>
 /// <param name="select"></param>
 public void Add(PDMDbProperty property)
 {
     this.Add(property.GetFieldName());
 }