コード例 #1
0
        }//-------------------------

        #endregion

        #region Programmers Defined Functions
        public void InitializeClass(CommonExchange.SysAccess userInfo)
        {
            //get the server Date and Time
            using (RemoteClient.RemCntBaseManager remClient = new RemoteClient.RemCntBaseManager())
            {
                _serverDateTime = remClient.GetServerDateTime(userInfo);
            } //---------------------
        }     //----------------------
コード例 #2
0
 //this procedure will Initialized the class
 private void InitializedClass(CommonExchange.SysAccess userInfo)
 {
     //get server date time
     using (RemoteClient.RemCntBaseManager remClient = new RemoteClient.RemCntBaseManager())
     {
         _serverDateTime = remClient.GetServerDateTime(userInfo);
     }
 }//-------------------------
コード例 #3
0
        public BaseServicesLogic(CommonExchange.SysAccess userInfo)
        {
            //get the server date and time and class dataset
            using (RemoteClient.RemCntBaseManager remClient = new RemoteClient.RemCntBaseManager())
            {
                _serverDateTime = remClient.GetServerDateTime(userInfo);

                _classDataSet = remClient.GetDataSetForBaseServices(userInfo);
            }//---------------------
        }
コード例 #4
0
ファイル: EmployeeLogic.cs プロジェクト: VijayMVC/lapis-ums
        } //---------------------------

        //this procedure initializes the class
        private void InitializeClass(CommonExchange.SysAccess userInfo)
        {
            //gets the server date and time
            using (RemoteClient.RemCntBaseManager remClient = new RemoteClient.RemCntBaseManager())
            {
                _serverDateTime = remClient.GetServerDateTime(userInfo);
            } //----------------------

            //get the dataset for employee information
            using (RemoteClient.RemCntEmployeeManager remClient = new RemoteClient.RemCntEmployeeManager())
            {
                _classDataSet = remClient.GetDataSetForEmployeeInfo(userInfo);
            } //---------------------------------
        }     //--------------------------
コード例 #5
0
        //this will initialize the class
        private void InitializeClass(CommonExchange.SysAccess userInfo)
        {
            //gets the server date and time
            using (RemoteClient.RemCntBaseManager remClient = new RemoteClient.RemCntBaseManager())
            {
                _serverDateTime = remClient.GetServerDateTime(userInfo);
            } //----------------------

            //gets the dataset for the course manager
            using (RemoteClient.RemCntMajorExamScheduleManager remClient = new RemoteClient.RemCntMajorExamScheduleManager())
            {
                _classDataSet = remClient.GetDataSetForMajorExamSchedule(userInfo, _serverDateTime);
            } //-----------------------
        }     //-------------------------------
コード例 #6
0
        //this procedure will initialize the class
        private void InitializeClass(CommonExchange.SysAccess userInfo)
        {
            //get the server date and time
            using (RemoteClient.RemCntBaseManager remClient = new RemoteClient.RemCntBaseManager())
            {
                _serverDateTime = remClient.GetServerDateTime(userInfo);
            }//---------------------

            //the the dataset administrator manager
            using (RemoteClient.RemCntAdministratorManager remClient = new RemoteClient.RemCntAdministratorManager())
            {
                _classDataSet = remClient.GetDataSetForAdministrator(userInfo);
            } //------------------
        }     //-------------------------
コード例 #7
0
        }//---------------------------

        //this procedure will initialize class
        private void InitializeClass(CommonExchange.SysAccess userInfo)
        {
            //get the server date and time
            using (RemoteClient.RemCntBaseManager remClient = new RemoteClient.RemCntBaseManager())
            {
                _serverDateTime = remClient.GetServerDateTime(userInfo);
            }//---------------------

            //get class Data Set
            using (RemoteClient.RemCntAccountingManager remClient = new RemoteClient.RemCntAccountingManager())
            {
                _classDataSet = remClient.GetDataSetForAccounting(userInfo);
            } //--------------------
        }     //---------------------------
コード例 #8
0
        }//---------------------

        //this procedure will initialized the class
        private void InitializeClass(CommonExchange.SysAccess userInfo)
        {
            //gets the server date and time
            using (RemoteClient.RemCntBaseManager remClient = new RemoteClient.RemCntBaseManager())
            {
                _serverDateTime = remClient.GetServerDateTime(userInfo);
            } //--------------------------------

            //get dataset for scholarship manager
            using (RemoteClient.RemCntScholarshipManager remClient = new RemoteClient.RemCntScholarshipManager())
            {
                _classDataSet = remClient.GetDataSetForScholarship(userInfo, _serverDateTime);
            }
        }//-------------------------
コード例 #9
0
ファイル: SchoolYearLogic.cs プロジェクト: VijayMVC/lapis-ums
        } //--------------------------------

        //this procedure initializes the class
        private void InitializeClass(CommonExchange.SysAccess userInfo)
        {
            //gets the server date and time
            using (RemoteClient.RemCntBaseManager remClient = new RemoteClient.RemCntBaseManager())
            {
                _serverDateTime = remClient.GetServerDateTime(userInfo);
            } //----------------------

            //gets the dataset for the school year information
            using (RemoteClient.RemCntSchoolYearSemesterManager remClient = new RemoteClient.RemCntSchoolYearSemesterManager())
            {
                _classDataSet = remClient.GetDataSetForSchoolYearSemeter(userInfo);
            } //-----------------------

            //gets the registrar standard
            using (RemoteClient.RemCntBaseManager remClient = new RemoteClient.RemCntBaseManager())
            {
                _stdRegistrar = remClient.SelectRegistrarStandard(userInfo);
            } //------------------
        }     //-----------------------
コード例 #10
0
        //this procedure will initialize the class
        private void InitializeClass(CommonExchange.SysAccess userInfo)
        {
            //set data set
            using (RemoteClient.RemCntCampusAccessManager remClient = new RemoteClient.RemCntCampusAccessManager())
            {
                _classDataSet = remClient.GetDataSetForCampusAccess(userInfo);
            }

            //set serverdate and time
            using (RemoteClient.RemCntBaseManager remClient = new RemoteClient.RemCntBaseManager())
            {
                _serverDateTime = remClient.GetServerDateTime(userInfo);
            }

            //initialize tables
            _campusAccessDetailsTable = new DataTable("CampusAccessTable");
            _campusAccessDetailsTable.Columns.Add("sysid_person", System.Type.GetType("System.String"));
            _campusAccessDetailsTable.Columns.Add("access_date_time", System.Type.GetType("System.DateTime"));
            _campusAccessDetailsTable.Columns.Add("access_point_id", System.Type.GetType("System.String"));
            //------------------------------
        }//-------------------------