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

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

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