CodeInsiders.SharpQL.Doc.Usage.Class1.GetMatchingColumnsFor C# (CSharp) Метод

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

private GetMatchingColumnsFor ( ) : void
Результат void
        public void GetMatchingColumnsFor()
        {
            var table = new UserTable();

            var cols = table.GetMatchingColumnsFor(typeof(User));

            var expected = new[]
                           {
                               table.Id,
                               table.Email,
                               table.FirstName
                           };

            CollectionAssert.AreEquivalent(expected, cols);
        }