コード例 #1
0
        public int NewTcodeAssignment(int TcodeAssignmentSetID, int SAProleID, int TcodeEntitlementID)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.ITcodeAssignment.ITcodeAssignment obj = new RBSR_AUFW.DB.ITcodeAssignment.ITcodeAssignment(dbconn);
            return(obj.NewTcodeAssignment(TcodeAssignmentSetID, SAProleID, TcodeEntitlementID));
        }
コード例 #2
0
        public returnGetTcodeAssignment GetTcodeAssignment(int ID)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.ITcodeAssignment.ITcodeAssignment obj = new RBSR_AUFW.DB.ITcodeAssignment.ITcodeAssignment(dbconn);
            return(obj.GetTcodeAssignment(ID));
        }
コード例 #3
0
        public returnListRoleTcodeAssignment[] ListRoleTcodeAssignment(int?maxRowsToReturn)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.ITcodeAssignment.ITcodeAssignment obj = new RBSR_AUFW.DB.ITcodeAssignment.ITcodeAssignment(dbconn);
            return(obj.ListRoleTcodeAssignment(maxRowsToReturn));
        }
コード例 #4
0
        public int SetRoleTcodeAssignment(int ID, int RoleID, int TcodeAssignmentID)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.ITcodeAssignment.ITcodeAssignment obj = new RBSR_AUFW.DB.ITcodeAssignment.ITcodeAssignment(dbconn);
            return(obj.SetRoleTcodeAssignment(ID, RoleID, TcodeAssignmentID));
        }
コード例 #5
0
        public returnListTcodeAssignmentByTcodeEntitlement[] ListTcodeAssignmentByTcodeEntitlement(int?maxRowsToReturn, int TcodeEntitlementID)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.ITcodeAssignment.ITcodeAssignment obj = new RBSR_AUFW.DB.ITcodeAssignment.ITcodeAssignment(dbconn);
            return(obj.ListTcodeAssignmentByTcodeEntitlement(maxRowsToReturn, TcodeEntitlementID));
        }
コード例 #6
0
        public returnListTcodeAssignmentBySAProle[] ListTcodeAssignmentBySAProle(int?maxRowsToReturn, int SAProleID)
        {
            OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW"));

            RBSR_AUFW.DB.ITcodeAssignment.ITcodeAssignment obj = new RBSR_AUFW.DB.ITcodeAssignment.ITcodeAssignment(dbconn);
            return(obj.ListTcodeAssignmentBySAProle(maxRowsToReturn, SAProleID));
        }
コード例 #7
0
        protected void AssignTemporaryDirectory(RBSR_AUFW.DB.ITcodeAssignment.ITcodeAssignment obj)
        {
            string wsAppData = HttpContext.Current.Server.MapPath(".") + "\\App_Data";

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