예제 #1
0
        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));
        }
예제 #2
0
        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));
        }
예제 #3
0
        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));
        }
예제 #4
0
        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));
        }
예제 #5
0
        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;
        }