예제 #1
0
        protected bool CreateSessionThrowsException(IDatabase database)
        {
            try
            {
                using (database.CreateSession())
                {
                }

                return(false);
            }
            catch
            {
                return(true);
            }
        }
예제 #2
0
        protected bool CreateSessionThrowsException(IDatabase database)
        {
            try
            {
                using (database.CreateSession())
                {
                }

                return false;
            }
            catch
            {
                return true;
            }
        }