public void WhenCriteriaProjectionThenNotThrows()
        {
            // during the fix of NH-2673 was faund another bug related to cacheability of criteria with projection + trasformer
            // then found reported as NH-1090
            var transformer = new BlogAuthorTrasformer();

            using (new Scenario(Sfi))
            {
                using (var session = OpenSession())
                    using (var tx = session.BeginTransaction())
                    {
                        var query = session.QueryOver <Blog>().Select(x => x.Author, x => x.Name).Where(x => x.Author == "Gabriel")
                                    .TransformUsing(transformer)
                                    .Cacheable();
                        query.List <BlogAuthorDto>();
                        tx.Commit();
                    }
                using (var session = OpenSession())
                    using (var tx = session.BeginTransaction())
                    {
                        var query = session.QueryOver <Blog>().Select(x => x.Author, x => x.Name).Where(x => x.Author == "Gabriel")
                                    .TransformUsing(transformer)
                                    .Cacheable();
                        query.Executing(q => q.List <BlogAuthorDto>()).NotThrows();
                        tx.Commit();
                    }
            }
        }
		public void WhenCriteriaProjectionThenNotThrows()
		{
			// during the fix of NH-2673 was faund another bug related to cacheability of criteria with projection + trasformer 
			// then found reported as NH-1090
			var transformer = new BlogAuthorTrasformer();
			using (new Scenario(Sfi))
			{
				using (var session = OpenSession())
				using (var tx = session.BeginTransaction())
				{
					var query = session.QueryOver<Blog>().Select(x=> x.Author, x=> x.Name).Where(x => x.Author == "Gabriel")
						.TransformUsing(transformer)
						.Cacheable();
					query.List<BlogAuthorDto>();
					tx.Commit();
				}
				using (var session = OpenSession())
				using (var tx = session.BeginTransaction())
				{
					var query = session.QueryOver<Blog>().Select(x => x.Author, x => x.Name).Where(x => x.Author == "Gabriel")
						.TransformUsing(transformer)
						.Cacheable();
					query.Executing(q => q.List<BlogAuthorDto>()).NotThrows();
					tx.Commit();
				}
			}
		}