/// <summary> /// 修改添加更新记录 /// </summary> /// <param name="record">实体</param> /// <returns></returns> public int ModifyKey(UpdateRecord record) { return(BaseM.Modify(record) ? record._id : 0); }