public bool UpdateMapByMid(M_App model) { return(Sql.UpdateByID(TbName, "ID", model.ID, BLLCommon.GetFieldAndPara(model), model.GetParameters())); }
public int Insert(M_App model) { return(Sql.insertID(TbName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }