Esempio n. 1
0
        public returnGetProcess GetProcess(int ID)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IProcess.IProcess obj = new RBSR_AUFW.DB.IProcess.IProcess(dbconn);
            return(obj.GetProcess(ID));
        }
Esempio n. 2
0
        public int NewProcess(string Name)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IProcess.IProcess obj = new RBSR_AUFW.DB.IProcess.IProcess(dbconn);
            return(obj.NewProcess(Name));
        }
Esempio n. 3
0
        public returnListProcess[] ListProcess(int?maxRowsToReturn, string extendedCriteria, string[] extendedParameters, string extendedSortOrder)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IProcess.IProcess obj = new RBSR_AUFW.DB.IProcess.IProcess(dbconn);
            return(obj.ListProcess(maxRowsToReturn, extendedCriteria, extendedParameters, extendedSortOrder));
        }
Esempio n. 4
0
        public int SetProcess(int ID, string Name)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IProcess.IProcess obj = new RBSR_AUFW.DB.IProcess.IProcess(dbconn);
            return(obj.SetProcess(ID, Name));
        }
Esempio n. 5
0
        protected void AssignTemporaryDirectory(RBSR_AUFW.DB.IProcess.IProcess obj)
        {
            string wsAppData = HttpContext.Current.Server.MapPath(".") + "\\App_Data";

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