public IBOIdentityrole BOİdentityrole(IIdentityroleRepository repo)
        {
            BOIdentityrole boİdentityrole = (BOIdentityrole)BOİdentityrole();

            boİdentityrole.Repository = repo;
            return(boİdentityrole);
        }
 ///<Summary>
 ///IdentityroleCollectionCount
 ///This method returns the collection count of BOIdentityrole objects
 ///</Summary>
 ///<returns>
 ///Int32
 ///</returns>
 ///<parameters>
 ///
 ///</parameters>
 public static Int32 IdentityroleCollectionCount(IIdentityroleRepository iIdentityroleRepository)
 {
     Doing(null);
     try
     {
         Int32 objCount = iIdentityroleRepository.SelectAllCount();
         return(objCount);
     }
     catch (Exception ex)
     {
         Failed(null, ex);
         Handle(null, ex);
         return(-1);
     }
 }
        ///<Summary>
        ///IdentityroleCollection
        ///This method returns the collection of BOIdentityrole objects
        ///</Summary>
        ///<returns>
        ///IList[IBOIdentityrole]
        ///</returns>
        ///<parameters>
        ///
        ///</parameters>
        public static IList <IBOIdentityrole> IdentityroleCollection(IIdentityroleRepository iIdentityroleRepository)
        {
            Doing(null);
            try
            {
                IList <IBOIdentityrole>  boIdentityroleCollection  = new List <IBOIdentityrole>();
                IList <IDAOIdentityrole> daoIdentityroleCollection = iIdentityroleRepository.SelectAll();
                Done(null);

                foreach (IDAOIdentityrole daoIdentityrole in daoIdentityroleCollection)
                {
                    boIdentityroleCollection.Add(new BOIdentityrole(daoIdentityrole));
                }

                return(boIdentityroleCollection);
            }
            catch (Exception ex)
            {
                Failed(null, ex);
                Handle(null, ex);
                return(null);
            }
        }