示例#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月締確定台帳));
 }
示例#2
0
 protected int DelegateDelete(Dch月締確定台帳 e)
 {
     if (!ProcessBeforeDelete(e))
     {
         return(1);
     }
     return(this.Dao.DeleteNonstrict(e));
 }
示例#3
0
 protected int DelegateUpdate(Dch月締確定台帳 e)
 {
     if (!ProcessBeforeUpdate(e))
     {
         return(1);
     }
     return(this.Dao.UpdateNonstrictModifiedOnly(e));
 }
示例#4
0
 protected int DelegateInsert(Dch月締確定台帳 e)
 {
     if (!ProcessBeforeInsert(e))
     {
         return(1);
     }
     return(this.Dao.Insert(e));
 }
示例#5
0
        public virtual Dch月締確定台帳 SelectEntityWithDeletedCheck(Dch月締確定台帳CB cb)
        {
            AssertConditionBeanNotNull(cb);
            Dch月締確定台帳 entity = SelectEntity(cb);

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

            AssertUpdatedEntity(entity, updatedCount);
        }
示例#7
0
 public virtual void Delete(Dch月締確定台帳 entity)
 {
     HelpDeleteInternally <Dch月締確定台帳>(entity, new MyInternalDeleteCallback(this));
 }
示例#8
0
 public void InsertOrUpdate(Dch月締確定台帳 entity)
 {
     HelpInsertOrUpdateInternally <Dch月締確定台帳, Dch月締確定台帳CB>(entity, new MyInternalInsertOrUpdateCallback(this));
 }
示例#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);
        }