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

            RBSR_AUFW.DB.IWorkspaceTcode.IWorkspaceTcode obj = new RBSR_AUFW.DB.IWorkspaceTcode.IWorkspaceTcode(dbconn);
            return(obj.GetWorkspaceTcode(ID));
        }
Exemplo n.º 2
0
        public int NewWorkspaceTcode(string SAPRoleName, string StandardActivity, string RoleType, string System, string Platform, string TcodeName, string TcodeValue, int EditingWorkspaceID)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IWorkspaceTcode.IWorkspaceTcode obj = new RBSR_AUFW.DB.IWorkspaceTcode.IWorkspaceTcode(dbconn);
            return(obj.NewWorkspaceTcode(SAPRoleName, StandardActivity, RoleType, System, Platform, TcodeName, TcodeValue, EditingWorkspaceID));
        }
Exemplo n.º 3
0
        public returnListWorkspaceTcodeByEditingWorkspace[] ListWorkspaceTcodeByEditingWorkspace(int?maxRowsToReturn, int EditingWorkspaceID)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IWorkspaceTcode.IWorkspaceTcode obj = new RBSR_AUFW.DB.IWorkspaceTcode.IWorkspaceTcode(dbconn);
            return(obj.ListWorkspaceTcodeByEditingWorkspace(maxRowsToReturn, EditingWorkspaceID));
        }
Exemplo n.º 4
0
        public int SetWorkspaceTcode(int ID, string SAPRoleName, string StandardActivity, string RoleType, string System, string Platform, string TcodeName, string TcodeValue, string AuthObjName, string AuthObjValue, string FieldSecName, string FieldSecValue, string Commentary, int EditingWorkspaceID)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.IWorkspaceTcode.IWorkspaceTcode obj = new RBSR_AUFW.DB.IWorkspaceTcode.IWorkspaceTcode(dbconn);
            return(obj.SetWorkspaceTcode(ID, SAPRoleName, StandardActivity, RoleType, System, Platform, TcodeName, TcodeValue, AuthObjName, AuthObjValue, FieldSecName, FieldSecValue, Commentary, EditingWorkspaceID));
        }
Exemplo n.º 5
0
        protected void AssignTemporaryDirectory(RBSR_AUFW.DB.IWorkspaceTcode.IWorkspaceTcode obj)
        {
            string wsAppData = HttpContext.Current.Server.MapPath(".") + "\\App_Data";

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