protected int DelegateDelete(Mst権限マスタ e) { if (!ProcessBeforeDelete(e)) { return(1); } return(this.Dao.DeleteNonstrict(e)); }
protected int DelegateInsert(Mst権限マスタ e) { if (!ProcessBeforeInsert(e)) { return(1); } return(this.Dao.Insert(e)); }
protected int DelegateUpdate(Mst権限マスタ e) { if (!ProcessBeforeUpdate(e)) { return(1); } return(this.Dao.UpdateNonstrictModifiedOnly(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)); }
// =============================================================================== // Entity Update // ============= #region Basic Entity Update public virtual void Insert(Mst権限マスタ entity) { AssertEntityNotNull(entity); this.DelegateInsert(entity); }