예제 #1
0
 // ===============================================================================
 //                                                                    Query Update
 //                                                                    ============
 public int QueryUpdate(Mst画面マスタ mst画面マスタ, Mst画面マスタCB cb)
 {
     AssertObjectNotNull("mst画面マスタ", mst画面マスタ); AssertConditionBeanNotNull(cb);
     SetupCommonColumnOfUpdateIfNeeds(mst画面マスタ);
     FilterEntityOfUpdate(mst画面マスタ); AssertEntityOfUpdate(mst画面マスタ);
     return(this.Dao.UpdateByQuery(cb, mst画面マスタ));
 }
예제 #2
0
 protected int DelegateDelete(Mst画面マスタ e)
 {
     if (!ProcessBeforeDelete(e))
     {
         return(1);
     }
     return(this.Dao.DeleteNonstrict(e));
 }
예제 #3
0
 protected int DelegateUpdate(Mst画面マスタ e)
 {
     if (!ProcessBeforeUpdate(e))
     {
         return(1);
     }
     return(this.Dao.UpdateNonstrictModifiedOnly(e));
 }
예제 #4
0
 protected int DelegateInsert(Mst画面マスタ e)
 {
     if (!ProcessBeforeInsert(e))
     {
         return(1);
     }
     return(this.Dao.Insert(e));
 }
예제 #5
0
        public virtual Mst画面マスタ SelectEntityWithDeletedCheck(Mst画面マスタCB cb)
        {
            AssertConditionBeanNotNull(cb);
            Mst画面マスタ entity = SelectEntity(cb);

            AssertEntityNotDeleted(entity, cb);
            return(entity);
        }
예제 #6
0
        /// <summary>
        /// メニューを設定します。
        /// </summary>
        /// <param name="画面マスタ">画面マスタ</param>
        public void SetMenu(Mst画面マスタ 画面マスタ)
        {
            var 画面マスタList = new List <Mst画面マスタ>()
            {
                画面マスタ
            };

            this.SetMenu(画面マスタList);
        }
예제 #7
0
        public virtual void Update(Mst画面マスタ entity)
        {
            AssertEntityNotNull(entity);
            AssertEntityHasVersionNoValue(entity);
            AssertEntityHasUpdateDateValue(entity);
            int updatedCount = this.DelegateUpdate(entity);

            AssertUpdatedEntity(entity, updatedCount);
        }
예제 #8
0
        /// <summary>
        /// MenuPageクラスを初期化します。
        /// </summary>
        /// <param name="画面マスタ">画面マスタ</param>
        public MenuPage(Mst画面マスタ 画面マスタ) : base()
        {
            // 画面マスタがnullの場合は何も設定しない
            if (画面マスタ == null)
            {
                return;
            }

            this.画面マスタ = 画面マスタ;

            // プロパティを設定
            this.Text = this.画面マスタ.画面名称;
        }
예제 #9
0
 public virtual void Delete(Mst画面マスタ entity)
 {
     HelpDeleteInternally <Mst画面マスタ>(entity, new MyInternalDeleteCallback(this));
 }
예제 #10
0
 public void InsertOrUpdate(Mst画面マスタ entity)
 {
     HelpInsertOrUpdateInternally <Mst画面マスタ, Mst画面マスタCB>(entity, new MyInternalInsertOrUpdateCallback(this));
 }
예제 #11
0
 // ===============================================================================
 //                                                                   Entity Update
 //                                                                   =============
 #region Basic Entity Update
 public virtual void Insert(Mst画面マスタ entity)
 {
     AssertEntityNotNull(entity);
     this.DelegateInsert(entity);
 }
예제 #12
0
 public virtual void LoadMst権限マスタList(Mst画面マスタ mst画面マスタ, LoadReferrerOption <Mst権限マスタCB, Mst権限マスタ> loadReferrerOption)
 {
     AssertObjectNotNull("mst画面マスタ", mst画面マスタ); AssertObjectNotNull("loadReferrerOption", loadReferrerOption);
     LoadMst権限マスタList(xnewLRLs <Mst画面マスタ>(mst画面マスタ), loadReferrerOption);
 }
예제 #13
0
 // ===============================================================================
 //                                                                   Load Referrer
 //                                                                   =============
 #region Load Referrer
 public virtual void LoadMst権限マスタList(Mst画面マスタ mst画面マスタ, ConditionBeanSetupper <Mst権限マスタCB> conditionBeanSetupper)
 {
     AssertObjectNotNull("mst画面マスタ", mst画面マスタ); AssertObjectNotNull("conditionBeanSetupper", conditionBeanSetupper);
     LoadMst権限マスタList(xnewLRLs <Mst画面マスタ>(mst画面マスタ), conditionBeanSetupper);
 }