Ejemplo n.º 1
0
 ///<Summary>
 ///DeleteAllIdentityuserrole
 ///This method deletes all BOIdentityuserrole objects from its collection
 ///</Summary>
 ///<returns>
 ///void
 ///</returns>
 ///<parameters>
 ///
 ///</parameters>
 public virtual void DeleteAllIdentityuserrole()
 {
     Doing(this);
     RegisterDataObject(_iIdentityuserroleRepository, null);
     BeginTransaction(_iIdentityuserroleRepository, "deleteAllIdentityuserrole");
     try
     {
         _iIdentityuserroleRepository.DeleteAllByRoleId(_ıd);
         CommitTransaction(_iIdentityuserroleRepository);
         Done(this);
         if (_boIdentityuserroleCollection != null)
         {
             _boIdentityuserroleCollection.Clear();
             _boIdentityuserroleCollection = null;
         }
     }
     catch (Exception ex)
     {
         Failed(this, ex);
         RollbackTransaction(_iIdentityuserroleRepository, "deleteAllIdentityuserrole");
         Handle(this, ex);
     }
 }