///<Summary> ///Update ///This method updates one Identityuserclaim record in the store ///</Summary> ///<returns> ///void ///</returns> ///<parameters> ///BOIdentityuserclaim ///</parameters> public virtual void Update() { Doing(this); IDAOIdentityuserclaim daoIdentityuserclaim = _iIdentityuserclaimRepository.New(); RegisterDataObject(_iIdentityuserclaimRepository, _iIdentityuserclaimRepository.BaseData(daoIdentityuserclaim)); BeginTransaction(_iIdentityuserclaimRepository, "updateBOIdentityuserclaim"); try { daoIdentityuserclaim.Id = _ıd; daoIdentityuserclaim.UserId = _userId; daoIdentityuserclaim.ClaimType = _claimType; daoIdentityuserclaim.ClaimValue = _claimValue; daoIdentityuserclaim.CtrVersion = _ctrVersion; _iIdentityuserclaimRepository.Update(daoIdentityuserclaim); CommitTransaction(_iIdentityuserclaimRepository); Done(this); _ıd = daoIdentityuserclaim.Id; _userId = daoIdentityuserclaim.UserId; _claimType = daoIdentityuserclaim.ClaimType; _claimValue = daoIdentityuserclaim.ClaimValue; _ctrVersion = daoIdentityuserclaim.CtrVersion; _isDirty = false; } catch (Exception ex) { Failed(this, ex); RollbackTransaction(_iIdentityuserclaimRepository, "updateBOIdentityuserclaim"); Handle(this, ex); } }
///<Summary> ///Constructor ///This constructor initializes the business object from its respective data object ///</Summary> ///<returns> ///void ///</returns> ///<parameters> ///DAOIdentityuserclaim ///</parameters> protected internal BOIdentityuserclaim(IDAOIdentityuserclaim daoIdentityuserclaim) { try { _ıd = daoIdentityuserclaim.Id; _userId = daoIdentityuserclaim.UserId; _claimType = daoIdentityuserclaim.ClaimType; _claimValue = daoIdentityuserclaim.ClaimValue; _ctrVersion = daoIdentityuserclaim.CtrVersion; } catch { throw; } }
///<Summary> ///Initializer ///Initializer using primary key(s) ///</Summary> ///<returns> ///void ///</returns> ///<parameters> ///string ıd ///</parameters> public void Init(string ıd) { try { IDAOIdentityuserclaim daoIdentityuserclaim = _iIdentityuserclaimRepository.SelectOne(ıd); _ıd = daoIdentityuserclaim.Id; _userId = daoIdentityuserclaim.UserId; _claimType = daoIdentityuserclaim.ClaimType; _claimValue = daoIdentityuserclaim.ClaimValue; _ctrVersion = daoIdentityuserclaim.CtrVersion; } catch { throw; } }
///<Summary> ///Delete ///This method deletes one Identityuserclaim record from the store ///</Summary> ///<returns> ///void ///</returns> ///<parameters> /// ///</parameters> public virtual void Delete() { Doing(this); IDAOIdentityuserclaim daoIdentityuserclaim = _iIdentityuserclaimRepository.New(); RegisterDataObject(_iIdentityuserclaimRepository, _iIdentityuserclaimRepository.BaseData(daoIdentityuserclaim)); BeginTransaction(_iIdentityuserclaimRepository, "deleteBOIdentityuserclaim"); try { daoIdentityuserclaim.Id = _ıd; _iIdentityuserclaimRepository.Delete(daoIdentityuserclaim); CommitTransaction(_iIdentityuserclaimRepository); Done(this); } catch (Exception ex) { Failed(this, ex); RollbackTransaction(_iIdentityuserclaimRepository, "deleteBOIdentityuserclaim"); Handle(this, ex); } }
public virtual void Delete(IDAOIdentityuserclaim daoIdentityuserclaim) { daoIdentityuserclaim.Delete(); }
public virtual void Update(IDAOIdentityuserclaim daoIdentityuserclaim) { daoIdentityuserclaim.Update(); }
public virtual void Insert(IDAOIdentityuserclaim daoIdentityuserclaim) { daoIdentityuserclaim.Insert(); }
public virtual IzNorthwindConn_BaseData BaseData(IDAOIdentityuserclaim daoIdentityuserclaim) { return((IzNorthwindConn_BaseData)(DAOIdentityuserclaim)daoIdentityuserclaim); }