public bool SaveItems(Info_matchTb_tmp_set info) { return(this.Repository.Update <Tb_matchTb_tmp_set>() .Set() .Field(Model.Tb_matchTb_tmp_set.Table.Set_Items, info.Set_Items) .EndSet() .Where() .And(Model.Tb_matchTb_tmp_set.Table.Set_Id, info.Set_Id) .EndWhere() .Save() > 0 ? true : false); }
public bool AddTmpSet(Info_matchTb_tmp_set info) { info.Set_Id = NewId(); return(this.Add(this.Repository, info)); }