public int insert(M_DownServer model) { return(Sql.insertID(TbName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }
public bool Add(M_DownServer model) { Sql.insertID(TbName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model)); return(true); }
public bool UpdateByID(M_DownServer model) { return(Sql.UpdateByIDs(TbName, PK, model.ServerID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters())); }