public static int Update(TB1 en)
 {
     SqlWhere where = new SqlWhere("ID", en.ID);
     return SqlQueryCache.Localhost.Update(en, where);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="name"></param>
 /// <param name="whereType"></param>
 /// <param name="value"></param>
 /// <returns></returns>
 public SqlSelect Where(string name, SqlWhereType whereType, object value)
 {
     if (Condition == null) Condition = new SqlWhere();
     this.Condition.List.Add(new WhereItem(name, whereType, value));
     return this;
 }