public bool DeleteByID(dynamic id) { var test = new SimpleClient <T>(Db); if (id != null) { return(test.DeleteById(id)); } return(false); }
public bool DeleteById(int id) { return(rdb.DeleteById(id)); }
public bool delete(string id) { return(Client.DeleteById(id)); }
public virtual void Delete(object Id) { dynamic tmp = Id; client.DeleteById(tmp); }
/// <summary> /// delete data by id and return success or not /// </summary> /// <param name="id"></param> /// <returns></returns> public bool DeleteById(dynamic id) { return(currentDb.DeleteById(id)); }
public bool Delete(long id) { return(sdb.DeleteById(id)); }
public long Delete(long id) { var result = _dbSet.DeleteById(id); return(1); }
public bool Del(dynamic id) { return sdb.DeleteById<T>(id); }
/// <summary> /// 删除用户 /// </summary> /// <param name="id"></param> /// <returns></returns> public bool delete(string id) { return(userClent.DeleteById(id)); }
public bool delete(string id) { return roleClient.DeleteById(id); }