public returnGetEventLog GetEventLog(int ID)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IEventLog.IEventLog obj = new RBSR_AUFW.DB.IEventLog.IEventLog(dbconn);
            return(obj.GetEventLog(ID));
        }
        public int NewEventLog(DateTime TStamp, int IDuser, string IPaddr, string Action)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IEventLog.IEventLog obj = new RBSR_AUFW.DB.IEventLog.IEventLog(dbconn);
            return(obj.NewEventLog(TStamp, IDuser, IPaddr, Action));
        }
        public returnListEventLog[] ListEventLog(int?maxRowsToReturn)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IEventLog.IEventLog obj = new RBSR_AUFW.DB.IEventLog.IEventLog(dbconn);
            return(obj.ListEventLog(maxRowsToReturn));
        }
        public int SetEventLog(int ID, DateTime TStamp, int IDuser, string IPaddr, string Action, int?IDobject, string Detail)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IEventLog.IEventLog obj = new RBSR_AUFW.DB.IEventLog.IEventLog(dbconn);
            return(obj.SetEventLog(ID, TStamp, IDuser, IPaddr, Action, IDobject, Detail));
        }
        protected void AssignTemporaryDirectory(RBSR_AUFW.DB.IEventLog.IEventLog obj)
        {
            string wsAppData = HttpContext.Current.Server.MapPath(".") + "\\App_Data";

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