Ejemplo n.º 1
0
        public returnGetApplication GetApplication(int ID)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IApplication.IApplication obj = new RBSR_AUFW.DB.IApplication.IApplication(dbconn);
            return(obj.GetApplication(ID));
        }
Ejemplo n.º 2
0
        public int NewApplication(string Name)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IApplication.IApplication obj = new RBSR_AUFW.DB.IApplication.IApplication(dbconn);
            return(obj.NewApplication(Name));
        }
Ejemplo n.º 3
0
        public returnListApplication[] ListApplication(int?maxRowsToReturn)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IApplication.IApplication obj = new RBSR_AUFW.DB.IApplication.IApplication(dbconn);
            return(obj.ListApplication(maxRowsToReturn));
        }
Ejemplo n.º 4
0
        public int SetApplication(int ID, string Name)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IApplication.IApplication obj = new RBSR_AUFW.DB.IApplication.IApplication(dbconn);
            return(obj.SetApplication(ID, Name));
        }
Ejemplo n.º 5
0
        protected void AssignTemporaryDirectory(RBSR_AUFW.DB.IApplication.IApplication obj)
        {
            string wsAppData = HttpContext.Current.Server.MapPath(".") + "\\App_Data";

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