// =============================================================================== // 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客室タイプマスタ)); }
protected int DelegateDelete(Mst客室タイプマスタ e) { if (!ProcessBeforeDelete(e)) { return(1); } return(this.Dao.DeleteNonstrict(e)); }
protected int DelegateUpdate(Mst客室タイプマスタ e) { if (!ProcessBeforeUpdate(e)) { return(1); } return(this.Dao.UpdateNonstrictModifiedOnly(e)); }
protected int DelegateInsert(Mst客室タイプマスタ e) { if (!ProcessBeforeInsert(e)) { return(1); } return(this.Dao.Insert(e)); }
public virtual Mst客室タイプマスタ SelectEntityWithDeletedCheck(Mst客室タイプマスタCB cb) { AssertConditionBeanNotNull(cb); Mst客室タイプマスタ entity = SelectEntity(cb); AssertEntityNotDeleted(entity, cb); return(entity); }
public virtual void Update(Mst客室タイプマスタ entity) { AssertEntityNotNull(entity); AssertEntityHasVersionNoValue(entity); AssertEntityHasUpdateDateValue(entity); int updatedCount = this.DelegateUpdate(entity); AssertUpdatedEntity(entity, updatedCount); }
public virtual void Delete(Mst客室タイプマスタ entity) { HelpDeleteInternally <Mst客室タイプマスタ>(entity, new MyInternalDeleteCallback(this)); }
public void InsertOrUpdate(Mst客室タイプマスタ entity) { HelpInsertOrUpdateInternally <Mst客室タイプマスタ, Mst客室タイプマスタCB>(entity, new MyInternalInsertOrUpdateCallback(this)); }
// =============================================================================== // Pull out Foreign // ================ #region Pullout Foreign #endregion // =============================================================================== // Entity Update // ============= #region Basic Entity Update public virtual void Insert(Mst客室タイプマスタ entity) { AssertEntityNotNull(entity); this.DelegateInsert(entity); }
public virtual void LoadMst客室マスタList(Mst客室タイプマスタ mst客室タイプマスタ, LoadReferrerOption <Mst客室マスタCB, Mst客室マスタ> loadReferrerOption) { AssertObjectNotNull("mst客室タイプマスタ", mst客室タイプマスタ); AssertObjectNotNull("loadReferrerOption", loadReferrerOption); LoadMst客室マスタList(xnewLRLs <Mst客室タイプマスタ>(mst客室タイプマスタ), loadReferrerOption); }
// =============================================================================== // 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); }