예제 #1
0
        public returnGetTcodeDictionary GetTcodeDictionary(int ID)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.ITcodeDictionary.ITcodeDictionary obj = new RBSR_AUFW.DB.ITcodeDictionary.ITcodeDictionary(dbconn);
            return(obj.GetTcodeDictionary(ID));
        }
예제 #2
0
        public int NewTcodeDictionary(string TcodeID)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.ITcodeDictionary.ITcodeDictionary obj = new RBSR_AUFW.DB.ITcodeDictionary.ITcodeDictionary(dbconn);
            return(obj.NewTcodeDictionary(TcodeID));
        }
예제 #3
0
        public returnListTcodeDictionary[] ListTcodeDictionary(int?maxRowsToReturn, string extendedCriteria, string[] extendedParameters, string extendedSortOrder)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.ITcodeDictionary.ITcodeDictionary obj = new RBSR_AUFW.DB.ITcodeDictionary.ITcodeDictionary(dbconn);
            return(obj.ListTcodeDictionary(maxRowsToReturn, extendedCriteria, extendedParameters, extendedSortOrder));
        }
예제 #4
0
        public int SetTcodeDictionary(int ID, string TcodeID, string Description)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.ITcodeDictionary.ITcodeDictionary obj = new RBSR_AUFW.DB.ITcodeDictionary.ITcodeDictionary(dbconn);
            return(obj.SetTcodeDictionary(ID, TcodeID, Description));
        }
예제 #5
0
        protected void AssignTemporaryDirectory(RBSR_AUFW.DB.ITcodeDictionary.ITcodeDictionary obj)
        {
            string wsAppData = HttpContext.Current.Server.MapPath(".") + "\\App_Data";

            if (!Directory.Exists(wsAppData))
            {
                Directory.CreateDirectory(wsAppData);
            }
            obj.TempDir = wsAppData;
        }