コード例 #1
0
        public void InitialData()
        {
            DataSet dsUserDuty = UserDutyManagerClient.Current.GetUserDutyByID(UserID);

            AllocateDutyList   = new ObservableCollection <DutyModel>(DataSetToModel.UserDutyToModel(dsUserDuty, 0));
            UnAllocateDutyList = new ObservableCollection <DutyModel>(DataSetToModel.UserDutyToModel3(dsUserDuty, 1));
        }
コード例 #2
0
        public void LoadOwnDutyList()
        {
            DataSet ds = UserDutyManagerClient.Current.GetUserDutyByID(SelectUser.UserId);

            OwnDutyList = new ObservableCollection <DutyModel>(DataSetToModel.UserDutyToModel(ds, 0));
        }