Example #1
0
 // ===============================================================================
 //                                                                    Query Update
 //                                                                    ============
 public int QueryUpdate(Dch月締確定台帳 dch月締確定台帳, Dch月締確定台帳CB cb)
 {
     AssertObjectNotNull("dch月締確定台帳", dch月締確定台帳); AssertConditionBeanNotNull(cb);
     SetupCommonColumnOfUpdateIfNeeds(dch月締確定台帳);
     FilterEntityOfUpdate(dch月締確定台帳); AssertEntityOfUpdate(dch月締確定台帳);
     return(this.Dao.UpdateByQuery(cb, dch月締確定台帳));
 }
Example #2
0
 protected int DelegateDelete(Dch月締確定台帳 e)
 {
     if (!ProcessBeforeDelete(e))
     {
         return(1);
     }
     return(this.Dao.DeleteNonstrict(e));
 }
Example #3
0
 protected int DelegateUpdate(Dch月締確定台帳 e)
 {
     if (!ProcessBeforeUpdate(e))
     {
         return(1);
     }
     return(this.Dao.UpdateNonstrictModifiedOnly(e));
 }
Example #4
0
 protected int DelegateInsert(Dch月締確定台帳 e)
 {
     if (!ProcessBeforeInsert(e))
     {
         return(1);
     }
     return(this.Dao.Insert(e));
 }
Example #5
0
        public virtual Dch月締確定台帳 SelectEntityWithDeletedCheck(Dch月締確定台帳CB cb)
        {
            AssertConditionBeanNotNull(cb);
            Dch月締確定台帳 entity = SelectEntity(cb);

            AssertEntityNotDeleted(entity, cb);
            return(entity);
        }
Example #6
0
        public virtual void Update(Dch月締確定台帳 entity)
        {
            AssertEntityNotNull(entity);
            AssertEntityHasVersionNoValue(entity);
            AssertEntityHasUpdateDateValue(entity);
            int updatedCount = this.DelegateUpdate(entity);

            AssertUpdatedEntity(entity, updatedCount);
        }
Example #7
0
 public virtual void Delete(Dch月締確定台帳 entity)
 {
     HelpDeleteInternally <Dch月締確定台帳>(entity, new MyInternalDeleteCallback(this));
 }
Example #8
0
 public void InsertOrUpdate(Dch月締確定台帳 entity)
 {
     HelpInsertOrUpdateInternally <Dch月締確定台帳, Dch月締確定台帳CB>(entity, new MyInternalInsertOrUpdateCallback(this));
 }
Example #9
0
        // ===============================================================================
        //                                                                   Load Referrer
        //                                                                   =============
        #region Load Referrer
        #endregion

        // ===============================================================================
        //                                                                Pull out Foreign
        //                                                                ================
        #region Pullout Foreign
        #endregion


        // ===============================================================================
        //                                                                   Entity Update
        //                                                                   =============
        #region Basic Entity Update
        public virtual void Insert(Dch月締確定台帳 entity)
        {
            AssertEntityNotNull(entity);
            this.DelegateInsert(entity);
        }