Ejemplo n.º 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会員マスタ));
 }
Ejemplo n.º 2
0
 protected int DelegateDelete(Mst会員マスタ e)
 {
     if (!ProcessBeforeDelete(e))
     {
         return(1);
     }
     return(this.Dao.DeleteNonstrict(e));
 }
Ejemplo n.º 3
0
 protected int DelegateUpdate(Mst会員マスタ e)
 {
     if (!ProcessBeforeUpdate(e))
     {
         return(1);
     }
     return(this.Dao.UpdateNonstrictModifiedOnly(e));
 }
Ejemplo n.º 4
0
 protected int DelegateInsert(Mst会員マスタ e)
 {
     if (!ProcessBeforeInsert(e))
     {
         return(1);
     }
     return(this.Dao.Insert(e));
 }
Ejemplo n.º 5
0
        public virtual Mst会員マスタ SelectEntityWithDeletedCheck(Mst会員マスタCB cb)
        {
            AssertConditionBeanNotNull(cb);
            Mst会員マスタ entity = SelectEntity(cb);

            AssertEntityNotDeleted(entity, cb);
            return(entity);
        }
Ejemplo n.º 6
0
        public virtual void Update(Mst会員マスタ entity)
        {
            AssertEntityNotNull(entity);
            AssertEntityHasVersionNoValue(entity);
            AssertEntityHasUpdateDateValue(entity);
            int updatedCount = this.DelegateUpdate(entity);

            AssertUpdatedEntity(entity, updatedCount);
        }
Ejemplo n.º 7
0
        /// <summary>
        /// 会員マスタからリストの行を生成します。
        /// </summary>
        /// <param name="会員マスタ">会員マスタ</param>
        /// <returns></returns>
        private DataGridViewRow Create会員ListDataGridViewRow(Mst会員マスタ 会員マスタ)
        {
            var row = new DataGridViewRow();

            row.CreateCells(this.会員ListDataGridView);
            row.Cells[0].Value = 会員マスタ.会員番号;
            row.Cells[1].Value = 会員マスタ.氏名;
            row.Cells[2].Value = 会員マスタ.メールアドレス;
            row.Cells[3].Value = 会員マスタ.電話番号;
            row.Cells[4].Value = 会員マスタ.入会年月日.Value.ToYYYYMMDD();
            return(row);
        }
Ejemplo n.º 8
0
 /// <summary>
 /// 会員マスタを更新します。
 /// </summary>
 /// <param name="会員マスタ">会員マスタ</param>
 public void Update会員マスタ(Mst会員マスタ 会員マスタ)
 {
     this.会員マスタBhv.Update(会員マスタ);
 }
Ejemplo n.º 9
0
 /// <summary>
 /// 会員マスタを作成します。
 /// </summary>
 /// <param name="会員マスタ">会員マスタ</param>
 /// <returns></returns>
 public Mst会員マスタ Create会員マスタ(Mst会員マスタ 会員マスタ)
 {
     会員マスタBhv.Insert(会員マスタ);
     return(会員マスタ);
 }
Ejemplo n.º 10
0
 public virtual void Delete(Mst会員マスタ entity)
 {
     HelpDeleteInternally <Mst会員マスタ>(entity, new MyInternalDeleteCallback(this));
 }
Ejemplo n.º 11
0
 public void InsertOrUpdate(Mst会員マスタ entity)
 {
     HelpInsertOrUpdateInternally <Mst会員マスタ, Mst会員マスタCB>(entity, new MyInternalInsertOrUpdateCallback(this));
 }
Ejemplo n.º 12
0
        // ===============================================================================
        //                                                                Pull out Foreign
        //                                                                ================
        #region Pullout Foreign
        #endregion


        // ===============================================================================
        //                                                                   Entity Update
        //                                                                   =============
        #region Basic Entity Update
        public virtual void Insert(Mst会員マスタ entity)
        {
            AssertEntityNotNull(entity);
            this.DelegateInsert(entity);
        }
Ejemplo n.º 13
0
 public virtual void LoadDch宿泊利用台帳List(Mst会員マスタ mst会員マスタ, LoadReferrerOption <Dch宿泊利用台帳CB, Dch宿泊利用台帳> loadReferrerOption)
 {
     AssertObjectNotNull("mst会員マスタ", mst会員マスタ); AssertObjectNotNull("loadReferrerOption", loadReferrerOption);
     LoadDch宿泊利用台帳List(xnewLRLs <Mst会員マスタ>(mst会員マスタ), loadReferrerOption);
 }
Ejemplo n.º 14
0
 // ===============================================================================
 //                                                                   Load Referrer
 //                                                                   =============
 #region Load Referrer
 public virtual void LoadDch宿泊利用台帳List(Mst会員マスタ mst会員マスタ, ConditionBeanSetupper <Dch宿泊利用台帳CB> conditionBeanSetupper)
 {
     AssertObjectNotNull("mst会員マスタ", mst会員マスタ); AssertObjectNotNull("conditionBeanSetupper", conditionBeanSetupper);
     LoadDch宿泊利用台帳List(xnewLRLs <Mst会員マスタ>(mst会員マスタ), conditionBeanSetupper);
 }