コード例 #1
0
        public returnGetSAPsecurityOrg GetSAPsecurityOrg(int ID)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.ISAPsecurityOrg.ISAPsecurityOrg obj = new RBSR_AUFW.DB.ISAPsecurityOrg.ISAPsecurityOrg(dbconn);
            return(obj.GetSAPsecurityOrg(ID));
        }
コード例 #2
0
        public int NewSAPsecurityOrg(string Name)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.ISAPsecurityOrg.ISAPsecurityOrg obj = new RBSR_AUFW.DB.ISAPsecurityOrg.ISAPsecurityOrg(dbconn);
            return(obj.NewSAPsecurityOrg(Name));
        }
コード例 #3
0
        public returnListSAPsecurityOrg[] ListSAPsecurityOrg(int?maxRowsToReturn)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.ISAPsecurityOrg.ISAPsecurityOrg obj = new RBSR_AUFW.DB.ISAPsecurityOrg.ISAPsecurityOrg(dbconn);
            return(obj.ListSAPsecurityOrg(maxRowsToReturn));
        }
コード例 #4
0
        public int SetSAPsecurityOrg(int ID, string Name)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.ISAPsecurityOrg.ISAPsecurityOrg obj = new RBSR_AUFW.DB.ISAPsecurityOrg.ISAPsecurityOrg(dbconn);
            return(obj.SetSAPsecurityOrg(ID, Name));
        }
コード例 #5
0
        protected void AssignTemporaryDirectory(RBSR_AUFW.DB.ISAPsecurityOrg.ISAPsecurityOrg obj)
        {
            string wsAppData = HttpContext.Current.Server.MapPath(".") + "\\App_Data";

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