/// <summary> /// 添加条件权限(用户编码+ID+主对象 为主键) /// </summary> public void AddNew() { CDealLayerObject tempDealLayerObject; SortedList FieldValueList = new SortedList();; SortedList ForeignKeyList = new SortedList();; try { tempDealLayerObject = new CDealLayerObject(ConnectInfo); //外键集合 ForeignKeyList.Add("ZA0100", this.m_UserGroupCode); //用户编码 //值集合 FieldValueList.Add("ZA0100", m_UserGroupCode); //编码 FieldValueList.Add("XE03ID", 0); //序号 FieldValueList.Add("ZC9993", "1"); //标志位 FieldValueList.Add("XE0310", this.m_MainObject); //主对象 FieldValueList.Add("XE0311", this.m_baseExpr); //条件表达式 FieldValueList.Add("XE0312", this.m_baseItem); //条件表达项 FieldValueList.Add("XE0313", this.m_chineseItem); //条件描述 //加记录 tempDealLayerObject.gsAddNew("XE03", FieldValueList, ForeignKeyList); } catch (Exception e) { throw new Exception(e.Message); } }
/// <summary> /// 添加条件权限(用户组编码+ID+主对象 为主键) /// </summary> public void AddNew(SortedList FieldValueList, SortedList ForeignKeyList) { CDealLayerObject tempDealLayerObject; try { //添加新记录 tempDealLayerObject = new CDealLayerObject(ConnectInfo); tempDealLayerObject.gsAddNew("XE03", FieldValueList, ForeignKeyList); } catch (Exception e) { throw new Exception(e.Message); } }
/// <summary> /// 添加条件权限(用户编码+ID+主对象 为主键) /// </summary> public void AddNew() { CDealLayerObject tempDealLayerObject; SortedList FieldValueList=new SortedList(); ; SortedList ForeignKeyList=new SortedList(); ; try { tempDealLayerObject=new CDealLayerObject(ConnectInfo); //外键集合 ForeignKeyList.Add("ZA0100",this.m_UserGroupCode); //用户编码 //值集合 FieldValueList.Add("ZA0100",m_UserGroupCode); //编码 FieldValueList.Add("XE03ID",0); //序号 FieldValueList.Add("ZC9993","1"); //标志位 FieldValueList.Add("XE0310",this.m_MainObject); //主对象 FieldValueList.Add("XE0311",this.m_baseExpr); //条件表达式 FieldValueList.Add("XE0312",this.m_baseItem); //条件表达项 FieldValueList.Add("XE0313",this.m_chineseItem);//条件描述 //加记录 tempDealLayerObject.gsAddNew("XE03",FieldValueList,ForeignKeyList); } catch(Exception e) { throw new Exception (e.Message ); } }
/// <summary> /// 添加条件权限(用户组编码+ID+主对象 为主键) /// </summary> public void AddNew(SortedList FieldValueList,SortedList ForeignKeyList) { CDealLayerObject tempDealLayerObject; try { //添加新记录 tempDealLayerObject=new CDealLayerObject(ConnectInfo); tempDealLayerObject.gsAddNew("XE03",FieldValueList,ForeignKeyList); } catch(Exception e) { throw new Exception (e.Message ); } }