public bool GetUpdate(M_Card model) { return(Sql.UpdateByIDs(TbName, PK, model.Card_ID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters())); }
public bool GetInsert(M_Card model) { return(Sql.insertID(TbName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model)) > 0); }