コード例 #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;
        }