Exemplo n.º 1
0
        public returnGetUser GetUser(int ID)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IUser1.IUser1 obj = new RBSR_AUFW.DB.IUser1.IUser1(dbconn);
            return(obj.GetUser(ID));
        }
Exemplo n.º 2
0
        public int SetUserTcodeAssignmentSet(int ID, int UserID, int TcodeAssignmentSetID)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IUser1.IUser1 obj = new RBSR_AUFW.DB.IUser1.IUser1(dbconn);
            return(obj.SetUserTcodeAssignmentSet(ID, UserID, TcodeAssignmentSetID));
        }
Exemplo n.º 3
0
        public int NewUser(string EID, string Name)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IUser1.IUser1 obj = new RBSR_AUFW.DB.IUser1.IUser1(dbconn);
            return(obj.NewUser(EID, Name));
        }
Exemplo n.º 4
0
        public returnListUserTcodeAssignmentSet[] ListUserTcodeAssignmentSet(int?maxRowsToReturn)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IUser1.IUser1 obj = new RBSR_AUFW.DB.IUser1.IUser1(dbconn);
            return(obj.ListUserTcodeAssignmentSet(maxRowsToReturn));
        }
Exemplo n.º 5
0
        public int DeleteUserEntAssignmentSet(int ID)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IUser1.IUser1 obj = new RBSR_AUFW.DB.IUser1.IUser1(dbconn);
            return(obj.DeleteUserEntAssignmentSet(ID));
        }
Exemplo n.º 6
0
        public int NewUserEntAssignmentSet(int UserID, int EntAssignmentSetID)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IUser1.IUser1 obj = new RBSR_AUFW.DB.IUser1.IUser1(dbconn);
            return(obj.NewUserEntAssignmentSet(UserID, EntAssignmentSetID));
        }
Exemplo n.º 7
0
        public returnListUserEditingWorkspace[] ListUserEditingWorkspace(int?maxRowsToReturn)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IUser1.IUser1 obj = new RBSR_AUFW.DB.IUser1.IUser1(dbconn);
            return(obj.ListUserEditingWorkspace(maxRowsToReturn));
        }
Exemplo n.º 8
0
        public int SetUserEditingWorkspace(int ID, int UserID, int EditingWorkspaceID)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IUser1.IUser1 obj = new RBSR_AUFW.DB.IUser1.IUser1(dbconn);
            return(obj.SetUserEditingWorkspace(ID, UserID, EditingWorkspaceID));
        }
Exemplo n.º 9
0
        public int DeleteUserEditingWorkspace(int ID)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IUser1.IUser1 obj = new RBSR_AUFW.DB.IUser1.IUser1(dbconn);
            return(obj.DeleteUserEditingWorkspace(ID));
        }
Exemplo n.º 10
0
        protected void AssignTemporaryDirectory(RBSR_AUFW.DB.IUser1.IUser1 obj)
        {
            string wsAppData = HttpContext.Current.Server.MapPath(".") + "\\App_Data";

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