public returnGetSAProle GetSAProle(int ID)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.ISAProle.ISAProle obj = new RBSR_AUFW.DB.ISAProle.ISAProle(dbconn);
            return(obj.GetSAProle(ID));
        }
        public int NewSAProle(string Name, int SubProcessID)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.ISAProle.ISAProle obj = new RBSR_AUFW.DB.ISAProle.ISAProle(dbconn);
            return(obj.NewSAProle(Name, SubProcessID));
        }
        public returnListSAProleByBusRole[] ListSAProleByBusRole(int?maxRowsToReturn, string extendedCriteria, string[] extendedParameters, string extendedSortOrder, int BusRoleID)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.ISAProle.ISAProle obj = new RBSR_AUFW.DB.ISAProle.ISAProle(dbconn);
            return(obj.ListSAProleByBusRole(maxRowsToReturn, extendedCriteria, extendedParameters, extendedSortOrder, BusRoleID));
        }
        public int SetSAProle(int ID, string Name, string Description, int SubProcessID, string System, string Platform)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.ISAProle.ISAProle obj = new RBSR_AUFW.DB.ISAProle.ISAProle(dbconn);
            return(obj.SetSAProle(ID, Name, Description, SubProcessID, System, Platform));
        }
        protected void AssignTemporaryDirectory(RBSR_AUFW.DB.ISAProle.ISAProle obj)
        {
            string wsAppData = HttpContext.Current.Server.MapPath(".") + "\\App_Data";

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