public IBOIdentityuserprofile BOİdentityuserprofile(IIdentityuserprofileRepository repo)
        {
            BOIdentityuserprofile boİdentityuserprofile = (BOIdentityuserprofile)BOİdentityuserprofile();

            boİdentityuserprofile.Repository = repo;
            return(boİdentityuserprofile);
        }
 ///<Summary>
 ///IdentityuserprofileCollectionCount
 ///This method returns the collection count of BOIdentityuserprofile objects
 ///</Summary>
 ///<returns>
 ///Int32
 ///</returns>
 ///<parameters>
 ///
 ///</parameters>
 public static Int32 IdentityuserprofileCollectionCount(IIdentityuserprofileRepository iIdentityuserprofileRepository)
 {
     Doing(null);
     try
     {
         Int32 objCount = iIdentityuserprofileRepository.SelectAllCount();
         return(objCount);
     }
     catch (Exception ex)
     {
         Failed(null, ex);
         Handle(null, ex);
         return(-1);
     }
 }
        ///<Summary>
        ///IdentityuserprofileCollection
        ///This method returns the collection of BOIdentityuserprofile objects
        ///</Summary>
        ///<returns>
        ///IList[IBOIdentityuserprofile]
        ///</returns>
        ///<parameters>
        ///
        ///</parameters>
        public static IList <IBOIdentityuserprofile> IdentityuserprofileCollection(IIdentityuserprofileRepository iIdentityuserprofileRepository)
        {
            Doing(null);
            try
            {
                IList <IBOIdentityuserprofile>  boIdentityuserprofileCollection  = new List <IBOIdentityuserprofile>();
                IList <IDAOIdentityuserprofile> daoIdentityuserprofileCollection = iIdentityuserprofileRepository.SelectAll();
                Done(null);

                foreach (IDAOIdentityuserprofile daoIdentityuserprofile in daoIdentityuserprofileCollection)
                {
                    boIdentityuserprofileCollection.Add(new BOIdentityuserprofile(daoIdentityuserprofile));
                }

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