/// <summary> /// 设置删除的条件 /// </summary> /// <param name="where">The where.</param> /// <returns>DeleteSqlSection.</returns> /// <remarks> /// <para>创建:Teddy</para> /// <para>日期:2016-10-17</para> /// </remarks> public DeleteSqlSection Where(WhereClip where) { whereClip.And(where); return(this); }
/// <summary> /// 设置查询的条件 /// </summary> /// <param name="where">lambda表达式 如 : p=> p.Name =="2" 或者 p=> p.Name=="2" && p.ID ==1</param> /// <returns></returns> public SelectSqlSection <T> Where(WhereClip where) { whereClip.And(where); return(this); }