static void Main(string[] args)
        {
            var         repository = RepositoryFactory.Create(typeof(NHibernateHqlQueryStrongTypeRepository2));
            List <Song> songs      = repository.GetSongsByArtist("Pearl Jam").ToList();


            Tester tester;

            Console.WriteLine("Start: DataReaderNativeQueryTester");
            tester = new DataReaderNativeQueryTester();
            tester.Test();
            Console.WriteLine("ElapsedMilliseconds: " + tester.ElapsedMilliseconds);


            Console.WriteLine("Start: NHibernateHqlQueryTester1");
            tester = new NHibernateHqlQueryTester1();
            tester.Test();
            Console.WriteLine("ElapsedMilliseconds: " + tester.ElapsedMilliseconds);


            Console.WriteLine("Start: NHibernateHqlQueryTester2");
            tester = new NHibernateHqlQueryTester2();
            tester.Test();
            Console.WriteLine("ElapsedMilliseconds: " + tester.ElapsedMilliseconds);


            Console.WriteLine("Press <Enter> to finish.");
            Console.ReadLine();
        }
        static void Main(string[] args)
        {
            var repository = RepositoryFactory.Create(typeof(NHibernateHqlQueryStrongTypeRepository2));
            List<Song> songs = repository.GetSongsByArtist("Pearl Jam").ToList();

            Tester tester;

            Console.WriteLine("Start: DataReaderNativeQueryTester");
            tester = new DataReaderNativeQueryTester();
            tester.Test();
            Console.WriteLine("ElapsedMilliseconds: " + tester.ElapsedMilliseconds);

            Console.WriteLine("Start: NHibernateHqlQueryTester1");
            tester = new NHibernateHqlQueryTester1();
            tester.Test();
            Console.WriteLine("ElapsedMilliseconds: " + tester.ElapsedMilliseconds);

            Console.WriteLine("Start: NHibernateHqlQueryTester2");
            tester = new NHibernateHqlQueryTester2();
            tester.Test();
            Console.WriteLine("ElapsedMilliseconds: " + tester.ElapsedMilliseconds);

            Console.WriteLine("Press <Enter> to finish.");
            Console.ReadLine();
        }