public int Insert(M_OA_BC model) { return(Sql.insert(strTableName, model.GetParameters(model), model.GetParas(), model.GetFields())); }
/// <summary> /// 更新记录 /// </summary> public bool UpdateByID(M_OA_BC model) { return(Sql.UpdateByIDs(strTableName, PK, model.ID.ToString(), model.GetFieldAndPara(), model.GetParameters(model))); }