Arc.Unit.Tests.Infrastructure.Data.NHibernate.CriteriaExamples.Should_add_ascending_ordering C# (CSharp) Метод

Should_add_ascending_ordering() приватный Метод

private Should_add_ascending_ordering ( ) : void
Результат void
        public void Should_add_ascending_ordering()
        {
            var expected = DetachedCriteria.For<Person>()
                .AddOrder(Order.Asc("FirstName"));

            var actual = Criteria.For<Person>()
                .AscendingOrdering<Person>(x => x.FirstName);

            AssertCriteria.AreEqual(actual, expected);
        }