Beispiel #1
0
        public int SetSAPsecurityOrgAxis(int ID, string English_Name, string SAP_Name)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.ISAPsecurityOrgAxis.ISAPsecurityOrgAxis obj = new RBSR_AUFW.DB.ISAPsecurityOrgAxis.ISAPsecurityOrgAxis(dbconn);
            return(obj.SetSAPsecurityOrgAxis(ID, English_Name, SAP_Name));
        }
Beispiel #2
0
        protected void AssignTemporaryDirectory(RBSR_AUFW.DB.ISAPsecurityOrgAxis.ISAPsecurityOrgAxis obj)
        {
            string wsAppData = HttpContext.Current.Server.MapPath(".") + "\\App_Data";

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