Пример #1
0
        public bool M_MovePurpose_Select(M_MovePurpose_Entity me)
        {
            M_MovePurpose_DL mmdl = new M_MovePurpose_DL();
            DataTable        dt   = mmdl.M_MovePurpose_Select(me);

            if (dt.Rows.Count == 0)
            {
                return(false);
            }
            else
            {
                me.MovePurposeName = dt.Rows[0]["MovePurposeName"].ToString();
                me.DisplayOrder    = dt.Rows[0]["DisplayOrder"].ToString();
                me.MovePurposeType = dt.Rows[0]["MovePurposeType"].ToString();
                me.MoveRequestFLG  = dt.Rows[0]["MoveRequestFLG"].ToString();
                me.MoveFLG         = dt.Rows[0]["MoveFLG"].ToString();
                me.ToSoukoFLG      = dt.Rows[0]["ToSoukoFLG"].ToString();
                me.MailFLG         = dt.Rows[0]["MailFLG"].ToString();
            }
            return(true);
        }
        /// <summary>
        /// 移動区分コンボボックスBind処理用
        /// </summary>
        /// <param name="me"></param>
        /// <returns></returns>
        public DataTable M_MovePurpose_Bind(M_MovePurpose_Entity me)
        {
            M_MovePurpose_DL mmdl = new M_MovePurpose_DL();

            return(mmdl.M_MovePurpose_Bind(me));
        }