From 640053562b7147c0f3c415f85ef2e6a38c87888a Mon Sep 17 00:00:00 2001 From: Jared Kremer Date: Wed, 9 Mar 2016 10:57:36 -0500 Subject: [PATCH 1/6] [Grant] Fix for date time parsing to UTC and not local --- Castle.DynamicLinqQueryBuilder.Tests/Tests.cs | 12 ++++++------ Castle.DynamicLinqQueryBuilder/QueryBuilder.cs | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Castle.DynamicLinqQueryBuilder.Tests/Tests.cs b/Castle.DynamicLinqQueryBuilder.Tests/Tests.cs index 0ea19b6..5d8742d 100644 --- a/Castle.DynamicLinqQueryBuilder.Tests/Tests.cs +++ b/Castle.DynamicLinqQueryBuilder.Tests/Tests.cs @@ -56,7 +56,7 @@ private List GetDateExpressionTreeData() Flags = new List(), IsPossiblyNotSetBool = true, IsSelected = true, - LastModified = DateTime.Parse("2/23/2016", CultureInfo.InvariantCulture, DateTimeStyles.AssumeUniversal), + LastModified = DateTime.Parse("2/23/2016", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal), LastModifiedIfPresent = DateTime.UtcNow.Date, LongerTextToFilter = "There is something interesting about this text", NullableContentTypeId = 1, @@ -64,7 +64,7 @@ private List GetDateExpressionTreeData() StatValue = 1.11, IntList = new List() { 1, 3, 5, 7 }, StrList = new List() { "Str1", "Str2" }, - DateList = new List() { DateTime.Parse("2/23/2016", CultureInfo.InvariantCulture, DateTimeStyles.AssumeUniversal), DateTime.UtcNow.Date.AddDays(-2) }, + DateList = new List() { DateTime.Parse("2/23/2016", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal), DateTime.UtcNow.Date.AddDays(-2) }, DoubleList = new List() { 1.48, 1.84, 1.33 }, IntNullList = new List() { 3, 4, 5, null } }; @@ -191,8 +191,8 @@ public void DateHandling() } } }; - - var contentIdFilteredList = startingQuery.BuildQuery(contentIdFilter).ToList(); + var queryable = startingQuery.BuildQuery(contentIdFilter); + var contentIdFilteredList = queryable.ToList(); Assert.IsTrue(contentIdFilteredList != null); Assert.IsTrue(contentIdFilteredList.Count == 1); @@ -236,8 +236,8 @@ public void DateHandling() } } }; - - var contentIdFilteredList2 = startingQuery.BuildQuery(contentIdFilter).ToList(); + queryable = startingQuery.BuildQuery(contentIdFilter); + var contentIdFilteredList2 = queryable.ToList(); Assert.IsTrue(contentIdFilteredList2 != null); Assert.IsTrue(contentIdFilteredList2.Count == 1); diff --git a/Castle.DynamicLinqQueryBuilder/QueryBuilder.cs b/Castle.DynamicLinqQueryBuilder/QueryBuilder.cs index 21bd425..e2163c6 100644 --- a/Castle.DynamicLinqQueryBuilder/QueryBuilder.cs +++ b/Castle.DynamicLinqQueryBuilder/QueryBuilder.cs @@ -242,7 +242,7 @@ private static List GetConstants(Type type, string value, bo .Select( p => DateTime.TryParse(p.Trim(), CultureInfo.InvariantCulture, - DateTimeStyles.AssumeUniversal, out tDate) + DateTimeStyles.AdjustToUniversal, out tDate) ? (DateTime?) tDate : null).Select(p => @@ -254,7 +254,7 @@ private static List GetConstants(Type type, string value, bo return new List() { Expression.Constant(DateTime.TryParse(value.Trim(), CultureInfo.InvariantCulture, - DateTimeStyles.AssumeUniversal, out tDate) + DateTimeStyles.AdjustToUniversal, out tDate) ? (DateTime?) tDate : null) From 48f3051d6c4cae899968783cfade99d4b8b22319 Mon Sep 17 00:00:00 2001 From: Grant Hamm Date: Fri, 1 Jul 2016 19:35:51 -0400 Subject: [PATCH 2/6] Addresses problem in the sample project with between handling --- .../Sample/PersonBuilder.cs | 2078 ++++++++++------- .../Views/Home/Index.cshtml | 22 +- 2 files changed, 1208 insertions(+), 892 deletions(-) diff --git a/Castle.DynamicLinqQueryBuilder.Samples/Sample/PersonBuilder.cs b/Castle.DynamicLinqQueryBuilder.Samples/Sample/PersonBuilder.cs index 28cff86..ed2d241 100644 --- a/Castle.DynamicLinqQueryBuilder.Samples/Sample/PersonBuilder.cs +++ b/Castle.DynamicLinqQueryBuilder.Samples/Sample/PersonBuilder.cs @@ -24,910 +24,1208 @@ private static string TestData { get { - return @" + return @" [ { - ""FirstName"": ""Silas"", + ""FirstName"": ""Jane"", - ""LastName"": ""Boyd"", - ""Birthday"": ""1951-07-07T22:26:11-07:00"", - ""Address"": ""P.O. Box 590, 8220 Laoreet, Avenue"", + ""LastName"": ""Hansen"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 492, 4607 Tempus, Rd."", + ""City"": ""Polatlı"", + ""State"": ""Ankara"", + ""ZipCode"": ""3536"", + ""Age"": 44 + + }, + + { + ""FirstName"": ""Robin"", + ""LastName"": ""Hudson"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""211-4877 In, Avenue"", + ""City"": ""Saint Louis"", + ""State"": ""MO"", + ""ZipCode"": ""82383-505"", + ""Age"": 44 + + }, + + { + ""FirstName"": ""Ebony"", + ""LastName"": ""Greene"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""4025 Ac Avenue"", + ""City"": ""Estación Central"", + ""State"": ""RM"", + ""ZipCode"": ""6818"", + ""Age"": 33 + + }, + + { + ""FirstName"": ""Sybill"", + ""LastName"": ""Nunez"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""497-7769 Vel St."", + ""City"": ""Cumberland County"", + ""State"": ""Nova Scotia"", + ""ZipCode"": ""9115"", + ""Age"": 79 + + }, + + { + ""FirstName"": ""Plato"", + ""LastName"": ""Lindsey"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""8300 Id, Rd."", + ""City"": ""Istanbul"", + ""State"": ""Istanbul"", + ""ZipCode"": ""793409"", + ""Age"": 32 + + }, + + { + ""FirstName"": ""Sydnee"", + ""LastName"": ""Potter"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 733, 9062 Lacus. Ave"", + ""City"": ""Kitscoty"", + ""State"": ""Alberta"", + ""ZipCode"": ""05-325"", + ""Age"": 43 + + }, + + { + ""FirstName"": ""Craig"", + ""LastName"": ""Kim"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""8122 Duis Avenue"", + ""City"": ""Carmen"", + ""State"": ""C"", + ""ZipCode"": ""55925"", + ""Age"": 42 + + }, + + { + ""FirstName"": ""Bradley"", + ""LastName"": ""Sharpe"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""Ap #275-2062 Quisque Ave"", + ""City"": ""Ammanford"", + ""State"": ""Carmarthenshire"", + ""ZipCode"": ""91574"", + ""Age"": 50 + + }, + + { + ""FirstName"": ""Leonard"", + ""LastName"": ""Horne"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""793-7072 Lacus, Av."", + ""City"": ""Mogi das Cruzes"", + ""State"": ""SP"", + ""ZipCode"": ""71402"", + ""Age"": 74 + + }, + + { + ""FirstName"": ""Alea"", + ""LastName"": ""Harmon"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""7128 Nullam St."", + ""City"": ""Bal‰tre"", + ""State"": ""NA"", + ""ZipCode"": ""1823"", + ""Age"": 49 + + }, + + { + ""FirstName"": ""Daphne"", + ""LastName"": ""Alford"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""996-2807 Pharetra Rd."", + ""City"": ""Balfour"", + ""State"": ""OK"", + ""ZipCode"": ""8935"", + ""Age"": 48 + + }, + + { + ""FirstName"": ""Rigel"", + ""LastName"": ""Miranda"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 144, 4719 Ullamcorper St."", + ""City"": ""Izmir"", + ""State"": ""İzm"", + ""ZipCode"": ""9413"", + ""Age"": 88 + + }, + + { + ""FirstName"": ""Karly"", + ""LastName"": ""Livingston"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 184, 7103 Phasellus St."", + ""City"": ""Waiuku"", + ""State"": ""North Island"", + ""ZipCode"": ""4879HC"", + ""Age"": 73 + + }, + + { + ""FirstName"": ""Andrew"", + ""LastName"": ""Jennings"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 561, 9407 Dolor. St."", + ""City"": ""Vienna"", + ""State"": ""Wie"", + ""ZipCode"": ""01629"", + ""Age"": 92 + + }, + + { + ""FirstName"": ""Sean"", + ""LastName"": ""Vaughn"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 600, 6211 Lorem St."", + ""City"": ""Tarnów"", + ""State"": ""MP"", + ""ZipCode"": ""59112"", + ""Age"": 68 + + }, + + { + ""FirstName"": ""Hiroko"", + ""LastName"": ""Nunez"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 126, 4110 Tellus. Road"", + ""City"": ""Columbia"", + ""State"": ""Maryland"", + ""ZipCode"": ""H2H 8S6"", + ""Age"": 87 + + }, + + { + ""FirstName"": ""Eliana"", + ""LastName"": ""Davis"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 681, 305 Faucibus Rd."", + ""City"": ""Belfast"", + ""State"": ""Ulster"", + ""ZipCode"": ""92047"", + ""Age"": 25 + + }, + + { + ""FirstName"": ""Ria"", + ""LastName"": ""Decker"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""Ap #441-5962 Aliquam Rd."", + ""City"": ""Isle-aux-Coudres"", + ""State"": ""QC"", + ""ZipCode"": ""94-657"", + ""Age"": 73 + + }, + + { + ""FirstName"": ""Cyrus"", + ""LastName"": ""Hoffman"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""Ap #559-2803 Viverra. Rd."", + ""City"": ""Lower Hutt"", + ""State"": ""North Island"", + ""ZipCode"": ""19025"", + ""Age"": 30 + + }, + + { + ""FirstName"": ""Asher"", + ""LastName"": ""Farmer"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""292-3474 Phasellus Rd."", + ""City"": ""Civo"", + ""State"": ""Lombardia"", + ""ZipCode"": ""87252"", + ""Age"": 41 + + }, + + { + ""FirstName"": ""Sacha"", + ""LastName"": ""Jacobs"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 283, 8202 Non Road"", + ""City"": ""Saint-Malo"", + ""State"": ""BR"", + ""ZipCode"": ""193202"", + ""Age"": 91 + + }, + + { + ""FirstName"": ""Malik"", + ""LastName"": ""Bailey"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""Ap #959-4425 In, Avenue"", + ""City"": ""Cartago"", + ""State"": ""Cartago"", + ""ZipCode"": ""30918"", + ""Age"": 40 + + }, + + { + ""FirstName"": ""Brenden"", + ""LastName"": ""House"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""Ap #293-9293 Malesuada Av."", + ""City"": ""Wrocław"", + ""State"": ""Dolnośląskie"", + ""ZipCode"": ""834638"", + ""Age"": 68 + + }, + + { + ""FirstName"": ""Wanda"", + ""LastName"": ""Sutton"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""1876 Dolor Avenue"", + ""City"": ""Mielec"", + ""State"": ""Podkarpackie"", + ""ZipCode"": ""X7 1SE"", + ""Age"": 40 + + }, + + { + ""FirstName"": ""Noble"", + ""LastName"": ""Cleveland"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 303, 5774 Tristique Avenue"", + ""City"": ""Funtua"", + ""State"": ""Katsina"", + ""ZipCode"": ""01-984"", + ""Age"": 92 + + }, + + { + ""FirstName"": ""Hammett"", + ""LastName"": ""Hebert"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""280-2274 Risus Avenue"", + ""City"": ""Issy-les-Moulineaux"", + ""State"": ""IL"", + ""ZipCode"": ""D4G 9NQ"", + ""Age"": 90 + + }, + + { + ""FirstName"": ""Bernard"", + ""LastName"": ""Dunn"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""802-3660 Neque St."", + ""City"": ""Tirúa"", + ""State"": ""VII"", + ""ZipCode"": ""70432"", + ""Age"": 35 + + }, + + { + ""FirstName"": ""Willa"", + ""LastName"": ""Berry"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""Ap #383-2386 Magna Rd."", + ""City"": ""Tarnów"", + ""State"": ""Małopolskie"", + ""ZipCode"": ""5560"", + ""Age"": 79 + + }, + + { + ""FirstName"": ""Jolie"", + ""LastName"": ""Carpenter"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""124-2205 Eget Av."", + ""City"": ""Hofstade"", + ""State"": ""OV"", + ""ZipCode"": ""62989"", + ""Age"": 58 + + }, + + { + ""FirstName"": ""Clayton"", + ""LastName"": ""Burnett"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""Ap #475-7245 Sed Ave"", + ""City"": ""Green Bay"", + ""State"": ""Wisconsin"", + ""ZipCode"": ""14946"", + ""Age"": 25 + + }, + + { + ""FirstName"": ""Regan"", + ""LastName"": ""Hull"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""213-9665 Orci Ave"", + ""City"": ""Santander"", + ""State"": ""Cantabria"", + ""ZipCode"": ""38088"", + ""Age"": 74 + + }, + + { + ""FirstName"": ""Yoko"", + ""LastName"": ""Booker"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 846, 691 Elit Rd."", + ""City"": ""Brive-la-Gaillarde"", + ""State"": ""Limousin"", + ""ZipCode"": ""9067"", + ""Age"": 33 + + }, + + { + ""FirstName"": ""Mikayla"", + ""LastName"": ""Erickson"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""4579 Eu, Avenue"", + ""City"": ""Belfast"", + ""State"": ""U"", + ""ZipCode"": ""7242RG"", + ""Age"": 46 + + }, + + { + ""FirstName"": ""Nomlanga"", + ""LastName"": ""Reynolds"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""791-2917 Mi Rd."", + ""City"": ""Oakham"", + ""State"": ""Rutland"", + ""ZipCode"": ""4694"", + ""Age"": 30 + + }, + + { + ""FirstName"": ""Jelani"", + ""LastName"": ""Wong"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""Ap #231-7055 Aliquam Rd."", + ""City"": ""Alloa"", + ""State"": ""CL"", + ""ZipCode"": ""1118"", + ""Age"": 60 + + }, + + { + ""FirstName"": ""David"", + ""LastName"": ""Glover"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""Ap #279-9118 Gravida. St."", + ""City"": ""Bamberg"", + ""State"": ""BY"", + ""ZipCode"": ""349601"", + ""Age"": 86 + + }, + + { + ""FirstName"": ""Stella"", + ""LastName"": ""Gilmore"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""637-8390 Ultrices St."", + ""City"": ""Kano"", + ""State"": ""Kano"", + ""ZipCode"": ""61704"", + ""Age"": 77 + + }, + + { + ""FirstName"": ""Wesley"", + ""LastName"": ""Dunn"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""Ap #144-2949 Erat, Avenue"", + ""City"": ""Dos Hermanas"", + ""State"": ""AN"", + ""ZipCode"": ""51632"", + ""Age"": 76 + + }, + + { + ""FirstName"": ""Bree"", + ""LastName"": ""Griffin"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 645, 9670 Sed Street"", + ""City"": ""Buin"", + ""State"": ""RM"", + ""ZipCode"": ""30683"", + ""Age"": 80 + + }, + + { + ""FirstName"": ""Unity"", + ""LastName"": ""Morin"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""Ap #924-1217 Auctor St."", + ""City"": ""Vandoeuvre-lès-Nancy"", + ""State"": ""Lorraine"", + ""ZipCode"": ""3679"", + ""Age"": 54 + + }, + + { + ""FirstName"": ""Paul"", + ""LastName"": ""Mueller"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""Ap #816-3088 Maecenas St."", + ""City"": ""Gdynia"", + ""State"": ""PM"", + ""ZipCode"": ""03944"", + ""Age"": 69 + + }, + + { + ""FirstName"": ""Roanna"", + ""LastName"": ""Wolfe"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 954, 2248 Sed Rd."", + ""City"": ""Helmond"", + ""State"": ""Noord Brabant"", + ""ZipCode"": ""7471"", + ""Age"": 46 + + }, + + { + ""FirstName"": ""Skyler"", + ""LastName"": ""Summers"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""840-7901 Blandit Avenue"", + ""City"": ""Newbury"", + ""State"": ""BR"", + ""ZipCode"": ""A4M 0B1"", + ""Age"": 20 + + }, + + { + ""FirstName"": ""Orla"", + ""LastName"": ""Pace"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 766, 4773 Donec Rd."", + ""City"": ""Aieta"", + ""State"": ""Calabria"", + ""ZipCode"": ""YB25 0QQ"", + ""Age"": 60 + + }, + + { + ""FirstName"": ""Felix"", + ""LastName"": ""Benjamin"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""Ap #667-505 Dui. Rd."", + ""City"": ""Piovene Rocchette"", + ""State"": ""Veneto"", + ""ZipCode"": ""51916"", + ""Age"": 80 + + }, + + { + ""FirstName"": ""Asher"", + ""LastName"": ""Pierce"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""378 Sollicitudin Av."", + ""City"": ""Shipshaw"", + ""State"": ""QC"", + ""ZipCode"": ""3656"", + ""Age"": 62 + + }, + + { + ""FirstName"": ""Sawyer"", + ""LastName"": ""Newton"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""367-2790 Diam. St."", + ""City"": ""Saint Louis"", + ""State"": ""Missouri"", + ""ZipCode"": ""762545"", + ""Age"": 24 + + }, + + { + ""FirstName"": ""Shaine"", + ""LastName"": ""Potter"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 173, 7409 Mi Rd."", + ""City"": ""Warrnambool"", + ""State"": ""VIC"", + ""ZipCode"": ""3914"", + ""Age"": 62 + + }, + + { + ""FirstName"": ""Aretha"", + ""LastName"": ""Schmidt"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 445, 7331 Nam Avenue"", + ""City"": ""Belfast"", + ""State"": ""U"", + ""ZipCode"": ""779586"", + ""Age"": 59 + + }, + + { + ""FirstName"": ""Clementine"", + ""LastName"": ""Burton"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 155, 2023 Phasellus Avenue"", + ""City"": ""Lawton"", + ""State"": ""OK"", + ""ZipCode"": ""628731"", + ""Age"": 36 + + }, + + { + ""FirstName"": ""Wynter"", + ""LastName"": ""Whitley"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 760, 2621 Et Ave"", + ""City"": ""Hamburg"", + ""State"": ""Hamburg"", + ""ZipCode"": ""L1M 0S7"", + ""Age"": 55 + + }, + + { + ""FirstName"": ""Athena"", + ""LastName"": ""Foster"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""Ap #336-2619 Taciti Street"", + ""City"": ""Soria"", + ""State"": ""Castilla y León"", + ""ZipCode"": ""091632"", + ""Age"": 52 + + }, + + { + ""FirstName"": ""Molly"", + ""LastName"": ""Emerson"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""Ap #881-1231 Non Ave"", + ""City"": ""Aalst"", + ""State"": ""OV"", + ""ZipCode"": ""733068"", + ""Age"": 78 + + }, + + { + ""FirstName"": ""Cathleen"", + ""LastName"": ""Trujillo"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""Ap #884-8620 Auctor Street"", + ""City"": ""Pedro Aguirre Cerda"", + ""State"": ""RM"", + ""ZipCode"": ""6333"", + ""Age"": 23 + + }, + + { + ""FirstName"": ""Abdul"", + ""LastName"": ""Mclaughlin"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""6193 Tempor Av."", + ""City"": ""Berlin"", + ""State"": ""Berlin"", + ""ZipCode"": ""60508"", + ""Age"": 22 + + }, + + { + ""FirstName"": ""Britanney"", + ""LastName"": ""Fitzgerald"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""3186 Aliquet Avenue"", + ""City"": ""Ergani"", + ""State"": ""Diy"", + ""ZipCode"": ""6793"", + ""Age"": 77 + + }, + + { + ""FirstName"": ""Skyler"", + ""LastName"": ""Harris"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""Ap #112-8236 Convallis St."", + ""City"": ""Rzeszów"", + ""State"": ""PK"", + ""ZipCode"": ""738234"", + ""Age"": 47 + + }, + + { + ""FirstName"": ""India"", + ""LastName"": ""Walker"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""303-4357 Risus. Street"", + ""City"": ""Hudiksvall"", + ""State"": ""Gävleborgs län"", + ""ZipCode"": ""28-549"", + ""Age"": 80 + + }, + + { + ""FirstName"": ""Tad"", + ""LastName"": ""Calhoun"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""6945 Orci, Ave"", + ""City"": ""Łomża"", + ""State"": ""PD"", + ""ZipCode"": ""59961"", + ""Age"": 79 + + }, + + { + ""FirstName"": ""Keane"", + ""LastName"": ""Murphy"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""923-4469 Aliquet. Ave"", + ""City"": ""Vienna"", + ""State"": ""Vienna"", + ""ZipCode"": ""86083"", + ""Age"": 22 + + }, + + { + ""FirstName"": ""Iola"", + ""LastName"": ""Hester"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 417, 319 Enim St."", + ""City"": ""Vienna"", + ""State"": ""Wie"", + ""ZipCode"": ""6569"", + ""Age"": 20 + + }, + + { + ""FirstName"": ""Russell"", + ""LastName"": ""Mcfadden"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 427, 5366 Malesuada Rd."", + ""City"": ""Helensburgh"", + ""State"": ""DN"", + ""ZipCode"": ""6532"", + ""Age"": 20 + + }, + + { + ""FirstName"": ""Ryder"", + ""LastName"": ""Jordan"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""Ap #442-9545 Ultrices Road"", + ""City"": ""Kaduna"", + ""State"": ""KD"", + ""ZipCode"": ""9993"", + ""Age"": 70 + + }, + + { + ""FirstName"": ""Garrett"", + ""LastName"": ""Matthews"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""7936 Sit Street"", + ""City"": ""Albany"", + ""State"": ""Western Australia"", + ""ZipCode"": ""9159"", + ""Age"": 31 + + }, + + { + ""FirstName"": ""Kevin"", + ""LastName"": ""Buck"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""3822 Dictum. Street"", + ""City"": ""Dover"", + ""State"": ""Delaware"", + ""ZipCode"": ""M9M 3LK"", + ""Age"": 73 + + }, + + { + ""FirstName"": ""Price"", + ""LastName"": ""Gill"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 111, 9317 Fringilla St."", + ""City"": ""Pellezzano"", + ""State"": ""CAM"", + ""ZipCode"": ""50316-005"", + ""Age"": 77 + + }, + + { + ""FirstName"": ""Ariel"", + ""LastName"": ""Macias"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""790-9339 At Av."", + ""City"": ""South Portland"", + ""State"": ""Maine"", + ""ZipCode"": ""25-492"", + ""Age"": 63 + + }, + + { + ""FirstName"": ""Caesar"", + ""LastName"": ""Townsend"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""1920 Volutpat. Av."", + ""City"": ""Regina"", + ""State"": ""SK"", + ""ZipCode"": ""763688"", + ""Age"": 74 + + }, + + { + ""FirstName"": ""Natalie"", + ""LastName"": ""Holcomb"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""Ap #433-4592 Aliquam St."", + ""City"": ""Tomaszów Mazowiecki"", + ""State"": ""LD"", + ""ZipCode"": ""9698"", + ""Age"": 92 + + }, + + { + ""FirstName"": ""Quail"", + ""LastName"": ""Dean"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""451-6711 Quisque Av."", + ""City"": ""Las Condes"", + ""State"": ""Metropolitana de Santiago"", + ""ZipCode"": ""69718"", + ""Age"": 60 + + }, + + { + ""FirstName"": ""Basil"", + ""LastName"": ""Hayden"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 250, 8079 Dignissim Rd."", + ""City"": ""Minna"", + ""State"": ""NI"", + ""ZipCode"": ""20821"", + ""Age"": 27 + + }, + + { + ""FirstName"": ""Quentin"", + ""LastName"": ""Savage"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""806-7895 Duis St."", + ""City"": ""Vienna"", + ""State"": ""Vienna"", + ""ZipCode"": ""78430"", + ""Age"": 23 + + }, + + { + ""FirstName"": ""Natalie"", + ""LastName"": ""Whitaker"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""5065 Fusce Avenue"", + ""City"": ""Brora"", + ""State"": ""SU"", + ""ZipCode"": ""730777"", + ""Age"": 52 + + }, + + { + ""FirstName"": ""Kasper"", + ""LastName"": ""Padilla"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""6355 Nunc St."", + ""City"": ""Saharanpur"", + ""State"": ""Uttar Pradesh"", + ""ZipCode"": ""99673"", + ""Age"": 65 + + }, + + { + ""FirstName"": ""Ariel"", + ""LastName"": ""Slater"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""Ap #580-721 Non, Rd."", + ""City"": ""Bergama"", + ""State"": ""İzm"", + ""ZipCode"": ""21016"", + ""Age"": 18 + + }, + + { + ""FirstName"": ""Henry"", + ""LastName"": ""Newman"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""Ap #967-1632 In Av."", + ""City"": ""Belgrave"", + ""State"": ""Victoria"", + ""ZipCode"": ""48429"", + ""Age"": 32 + + }, + + { + ""FirstName"": ""Chelsea"", + ""LastName"": ""Clemons"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""325-6198 Quis St."", + ""City"": ""Atlanta"", + ""State"": ""Georgia"", + ""ZipCode"": ""5929"", + ""Age"": 19 + + }, + + { + ""FirstName"": ""Alvin"", + ""LastName"": ""Clayton"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""340-6081 Hendrerit. Rd."", + ""City"": ""Siena"", + ""State"": ""Toscana"", + ""ZipCode"": ""09890"", + ""Age"": 51 + + }, + + { + ""FirstName"": ""Nicole"", + ""LastName"": ""Brennan"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""Ap #588-4705 Lorem Ave"", + ""City"": ""Pollena Trocchia"", + ""State"": ""CAM"", + ""ZipCode"": ""09557"", + ""Age"": 38 + + }, + + { + ""FirstName"": ""Oscar"", + ""LastName"": ""Henson"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""984-2297 Posuere Rd."", + ""City"": ""Georgia"", + ""State"": ""Georgia"", + ""ZipCode"": ""34242"", + ""Age"": 62 + + }, + + { + ""FirstName"": ""Dai"", + ""LastName"": ""Kline"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""6066 Metus. Rd."", ""City"": ""Hamburg"", - ""State"": ""HH"", - ""ZipCode"": ""62036"" + ""State"": ""Hamburg"", + ""ZipCode"": ""67752"", + ""Age"": 26 }, - { - ""FirstName"": ""Dieter"", - ""LastName"": ""Snow"", - ""Birthday"": ""1976-06-29T20:53:12-07:00"", - ""Address"": ""Ap #724-5804 Sed Rd."", - ""City"": ""Canmore"", - ""State"": ""Alberta"", - ""ZipCode"": ""74331"" - }, - { - ""FirstName"": ""Raja"", - ""LastName"": ""Carrillo"", - ""Birthday"": ""1948-02-22T06:22:40-08:00"", - ""Address"": ""1152 Et Street"", - ""City"": ""Armidale"", + + { + ""FirstName"": ""Indira"", + ""LastName"": ""Hahn"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""5792 Dolor Rd."", + ""City"": ""Lowell"", + ""State"": ""Massachusetts"", + ""ZipCode"": ""8678"", + ""Age"": 66 + + }, + + { + ""FirstName"": ""Uta"", + ""LastName"": ""Flowers"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""1268 Suspendisse Rd."", + ""City"": ""Blue Mountains"", ""State"": ""NSW"", - ""ZipCode"": ""82127"" - }, - { - ""FirstName"": ""Ezekiel"", - ""LastName"": ""Leach"", - ""Birthday"": ""1921-04-30T07:33:13-08:00"", - ""Address"": ""P.O. Box 283, 7433 Class Rd."", - ""City"": ""Dublin"", - ""State"": ""L"", - ""ZipCode"": ""14447"" - }, - { - ""FirstName"": ""Channing"", - ""LastName"": ""Burgess"", - ""Birthday"": ""1918-05-20T11:45:05-07:00"", - ""Address"": ""Ap #124-6155 Sit Ave"", - ""City"": ""Belfast"", - ""State"": ""U"", - ""ZipCode"": ""8043MM"" - }, - { - ""FirstName"": ""Orlando"", - ""LastName"": ""Gilbert"", - ""Birthday"": ""1991-12-25T07:56:24-08:00"", - ""Address"": ""9085 Velit. Rd."", - ""City"": ""Okigwe"", - ""State"": ""Imo"", - ""ZipCode"": ""11759"" - }, - { - ""FirstName"": ""Reese"", - ""LastName"": ""Matthews"", - ""Birthday"": ""1931-12-23T12:50:45-08:00"", - ""Address"": ""P.O. Box 442, 7031 Nam Av."", + ""ZipCode"": ""5554KZ"", + ""Age"": 28 + + }, + + { + ""FirstName"": ""Kimberly"", + ""LastName"": ""Aguirre"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""2796 Malesuada Street"", + ""City"": ""Pavone del Mella"", + ""State"": ""LOM"", + ""ZipCode"": ""OV5Z 9YE"", + ""Age"": 62 + + }, + + { + ""FirstName"": ""Asher"", + ""LastName"": ""Jones"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""3021 Ac St."", + ""City"": ""Gulfport"", + ""State"": ""Mississippi"", + ""ZipCode"": ""4349"", + ""Age"": 81 + + }, + + { + ""FirstName"": ""Zelenia"", + ""LastName"": ""Walton"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 709, 5710 Bibendum Ave"", ""City"": ""Belfast"", ""State"": ""U"", - ""ZipCode"": ""647818"" - }, - { - ""FirstName"": ""Camden"", - ""LastName"": ""Oliver"", - ""Birthday"": ""1923-01-31T20:01:14-08:00"", - ""Address"": ""P.O. Box 911, 7135 Lacus. Rd."", - ""City"": ""Masterton"", + ""ZipCode"": ""85487"", + ""Age"": 94 + + }, + + { + ""FirstName"": ""Norman"", + ""LastName"": ""Harmon"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 601, 181 Sed St."", + ""City"": ""Rotorua"", + ""State"": ""North Island"", + ""ZipCode"": ""53149"", + ""Age"": 51 + + }, + + { + ""FirstName"": ""Judah"", + ""LastName"": ""Battle"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""785-7665 At St."", + ""City"": ""Martigues"", + ""State"": ""PR"", + ""ZipCode"": ""82052"", + ""Age"": 52 + + }, + + { + ""FirstName"": ""Wayne"", + ""LastName"": ""Turner"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""Ap #984-1978 Donec Road"", + ""City"": ""Cartagena"", + ""State"": ""MU"", + ""ZipCode"": ""7587"", + ""Age"": 86 + + }, + + { + ""FirstName"": ""Griffith"", + ""LastName"": ""Juarez"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""5949 Dictum Avenue"", + ""City"": ""Ferness"", + ""State"": ""NA"", + ""ZipCode"": ""07735"", + ""Age"": 52 + + }, + + { + ""FirstName"": ""Renee"", + ""LastName"": ""Landry"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""6015 Eros Rd."", + ""City"": ""Cheyenne"", + ""State"": ""WY"", + ""ZipCode"": ""18-213"", + ""Age"": 52 + + }, + + { + ""FirstName"": ""Sydnee"", + ""LastName"": ""Simmons"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 206, 5293 Phasellus Road"", + ""City"": ""Gisborne"", ""State"": ""NI"", - ""ZipCode"": ""04765"" - }, - { - ""FirstName"": ""Raja"", - ""LastName"": ""Woods"", - ""Birthday"": ""1991-01-05T17:17:55-08:00"", - ""Address"": ""Ap #640-9348 Gravida Avenue"", - ""City"": ""Bremerhaven"", - ""State"": ""Bremen"", - ""ZipCode"": ""9126"" - }, - { - ""FirstName"": ""Wayne"", - ""LastName"": ""Maxwell"", - ""Birthday"": ""1955-06-05T19:01:15-07:00"", - ""Address"": ""310-3284 Feugiat Avenue"", - ""City"": ""Natales"", - ""State"": ""XII"", - ""ZipCode"": ""29351"" - }, - { - ""FirstName"": ""Dante"", - ""LastName"": ""Tran"", - ""Birthday"": ""1979-04-21T19:29:46-08:00"", - ""Address"": ""P.O. Box 980, 4015 Ac, St."", - ""City"": ""Bicester"", - ""State"": ""Oxfordshire"", - ""ZipCode"": ""40956-324"" - }, - { - ""FirstName"": ""Nissim"", - ""LastName"": ""Nash"", - ""Birthday"": ""1935-11-19T05:58:23-08:00"", - ""Address"": ""3529 Nulla Rd."", - ""City"": ""Balen"", - ""State"": ""Antwerpen"", - ""ZipCode"": ""20609"" - }, - { - ""FirstName"": ""Jasper"", - ""LastName"": ""Moss"", - ""Birthday"": ""1995-02-11T18:59:05-08:00"", - ""Address"": ""P.O. Box 605, 3230 Suspendisse Street"", - ""City"": ""Barrie"", - ""State"": ""Ontario"", - ""ZipCode"": ""05209"" - }, - { - ""FirstName"": ""Justin"", - ""LastName"": ""Shaw"", - ""Birthday"": ""1938-08-03T10:44:17-08:00"", - ""Address"": ""Ap #503-5101 Elit St."", - ""City"": ""Queanbeyan"", - ""State"": ""New South Wales"", - ""ZipCode"": ""8366"" - }, - { - ""FirstName"": ""Kuame"", - ""LastName"": ""Blair"", - ""Birthday"": ""1959-06-02T06:36:38-07:00"", - ""Address"": ""Ap #249-4614 Egestas. Rd."", - ""City"": ""Biggleswade"", - ""State"": ""Bedfordshire"", - ""ZipCode"": ""17752"" - }, - { - ""FirstName"": ""Keegan"", - ""LastName"": ""Norman"", - ""Birthday"": ""1971-08-11T10:18:20-07:00"", - ""Address"": ""Ap #489-2582 Nec Av."", - ""City"": ""Heerenveen"", - ""State"": ""Friesland"", - ""ZipCode"": ""53121"" - }, - { - ""FirstName"": ""Garrett"", - ""LastName"": ""Mccarthy"", - ""Birthday"": ""1931-02-13T15:14:46-08:00"", - ""Address"": ""P.O. Box 572, 8609 Phasellus Street"", - ""City"": ""Gasteiz"", - ""State"": ""PV"", - ""ZipCode"": ""173598"" - }, - { - ""FirstName"": ""Hayden"", - ""LastName"": ""Miranda"", - ""Birthday"": ""1993-06-18T10:47:02-07:00"", - ""Address"": ""P.O. Box 292, 5090 Augue Rd."", - ""City"": ""Louth"", - ""State"": ""Lincolnshire"", - ""ZipCode"": ""28175"" - }, - { - ""FirstName"": ""Austin"", - ""LastName"": ""Chambers"", - ""Birthday"": ""1950-06-05T02:22:52-07:00"", - ""Address"": ""1801 Ac Av."", - ""City"": ""Brisbane"", - ""State"": ""Queensland"", - ""ZipCode"": ""25488"" - }, - { - ""FirstName"": ""Vladimir"", - ""LastName"": ""Doyle"", - ""Birthday"": ""1938-06-25T02:21:01-08:00"", - ""Address"": ""P.O. Box 791, 8086 Cubilia Rd."", - ""City"": ""Vienna"", - ""State"": ""Wie"", - ""ZipCode"": ""6018"" - }, - { - ""FirstName"": ""Ethan"", - ""LastName"": ""Byers"", - ""Birthday"": ""1946-01-07T03:17:07-08:00"", - ""Address"": ""Ap #707-4237 Ullamcorper. Rd."", - ""City"": ""Łomża"", - ""State"": ""Podlaskie"", - ""ZipCode"": ""41804"" - }, - { - ""FirstName"": ""Fritz"", - ""LastName"": ""Hughes"", - ""Birthday"": ""1995-12-19T09:26:59-08:00"", - ""Address"": ""P.O. Box 392, 3833 Nullam Ave"", - ""City"": ""Berlin"", - ""State"": ""BE"", - ""ZipCode"": ""38041"" - }, - { - ""FirstName"": ""Hashim"", - ""LastName"": ""Johns"", - ""Birthday"": ""1925-07-23T03:48:30-08:00"", - ""Address"": ""P.O. Box 389, 7414 At St."", - ""City"": ""Charters Towers"", - ""State"": ""Queensland"", - ""ZipCode"": ""C1 2XS"" - }, - { - ""FirstName"": ""Robert"", - ""LastName"": ""Valenzuela"", - ""Birthday"": ""1921-02-06T16:44:59-08:00"", - ""Address"": ""3365 Id St."", - ""City"": ""Sint-Joost-ten-Node"", - ""State"": ""BU"", - ""ZipCode"": ""7474"" - }, - { - ""FirstName"": ""Brennan"", - ""LastName"": ""Spence"", - ""Birthday"": ""1960-01-11T10:03:32-08:00"", - ""Address"": ""P.O. Box 478, 2102 Lectus Ave"", - ""City"": ""Little Rock"", - ""State"": ""Arkansas"", - ""ZipCode"": ""8229"" - }, - { - ""FirstName"": ""Trevor"", - ""LastName"": ""Shepard"", - ""Birthday"": ""1968-01-12T13:52:41-08:00"", - ""Address"": ""P.O. Box 144, 4905 Cursus Av."", - ""City"": ""Belfast"", - ""State"": ""U"", - ""ZipCode"": ""3168"" - }, - { - ""FirstName"": ""Rajah"", - ""LastName"": ""Cobb"", - ""Birthday"": ""1961-06-02T02:35:43-07:00"", - ""Address"": ""378-5263 In Road"", - ""City"": ""Springfield"", - ""State"": ""Massachusetts"", - ""ZipCode"": ""5389"" - }, - { - ""FirstName"": ""Jonas"", - ""LastName"": ""Burns"", - ""Birthday"": ""1926-02-24T16:12:11-08:00"", - ""Address"": ""P.O. Box 442, 141 Ullamcorper, Av."", - ""City"": ""Södertälje"", - ""State"": ""Stockholms län"", - ""ZipCode"": ""23-482"" - }, - { - ""FirstName"": ""Barry"", - ""LastName"": ""Hinton"", - ""Birthday"": ""1941-09-29T16:54:22-08:00"", - ""Address"": ""4651 Ultrices St."", + ""ZipCode"": ""31715"", + ""Age"": 60 + + }, + + { + ""FirstName"": ""Abra"", + ""LastName"": ""Savage"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 810, 5626 Eu Avenue"", + ""City"": ""Coreglia Antelminelli"", + ""State"": ""Toscana"", + ""ZipCode"": ""60117"", + ""Age"": 39 + + }, + + { + ""FirstName"": ""Xaviera"", + ""LastName"": ""Pickett"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""Ap #829-7772 Imperdiet St."", + ""City"": ""A Coruña"", + ""State"": ""GA"", + ""ZipCode"": ""748123"", + ""Age"": 21 + + }, + + { + ""FirstName"": ""Halla"", + ""LastName"": ""Harding"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 580, 1732 Cras Rd."", + ""City"": ""Istres"", + ""State"": ""Provence-Alpes-Côte d'Azur"", + ""ZipCode"": ""9970RK"", + ""Age"": 30 + + }, + + { + ""FirstName"": ""Ruby"", + ""LastName"": ""Cannon"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 711, 4460 Dolor. St."", + ""City"": ""Smithers"", + ""State"": ""British Columbia"", + ""ZipCode"": ""3585"", + ""Age"": 49 + + }, + + { + ""FirstName"": ""Maris"", + ""LastName"": ""Bauer"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""3183 Vitae St."", + ""City"": ""Deerlijk"", + ""State"": ""West-Vlaanderen"", + ""ZipCode"": ""2892"", + ""Age"": 64 + + }, + + { + ""FirstName"": ""Bevis"", + ""LastName"": ""Hyde"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""Ap #193-4293 Nulla St."", ""City"": ""Dublin"", - ""State"": ""Leinster"", - ""ZipCode"": ""05221"" - }, - { - ""FirstName"": ""Colt"", - ""LastName"": ""Snyder"", - ""Birthday"": ""1938-09-28T15:02:43-08:00"", - ""Address"": ""Ap #599-6491 Magnis Avenue"", - ""City"": ""Agen"", - ""State"": ""AQ"", - ""ZipCode"": ""9816"" - }, - { - ""FirstName"": ""Andrew"", - ""LastName"": ""Foley"", - ""Birthday"": ""1989-12-15T02:07:19-08:00"", - ""Address"": ""Ap #537-2005 Dui Rd."", - ""City"": ""Sosnowiec"", - ""State"": ""SL"", - ""ZipCode"": ""38516-736"" - }, - { - ""FirstName"": ""Keith"", - ""LastName"": ""Rodgers"", - ""Birthday"": ""1943-06-15T14:44:45-07:00"", - ""Address"": ""438-6958 Duis Rd."", - ""City"": ""Belfast"", - ""State"": ""U"", - ""ZipCode"": ""4653TO"" - }, - { - ""FirstName"": ""Nicholas"", - ""LastName"": ""Rivers"", - ""Birthday"": ""1937-12-10T13:11:49-08:00"", - ""Address"": ""349-5195 Elit, Rd."", - ""City"": ""Cambridge"", - ""State"": ""MA"", - ""ZipCode"": ""738500"" - }, - { - ""FirstName"": ""Cyrus"", - ""LastName"": ""Roth"", - ""Birthday"": ""1985-09-18T21:57:54-07:00"", - ""Address"": ""1188 Sit Rd."", - ""City"": ""Miramichi"", - ""State"": ""NB"", - ""ZipCode"": ""287216"" - }, - { - ""FirstName"": ""Garrett"", - ""LastName"": ""Henson"", - ""Birthday"": ""1952-04-28T22:41:11-07:00"", - ""Address"": ""900-3851 Aliquam St."", - ""City"": ""Sokoto"", - ""State"": ""SO"", - ""ZipCode"": ""47662"" - }, - { - ""FirstName"": ""Elliott"", - ""LastName"": ""Cunningham"", - ""Birthday"": ""1927-01-13T20:21:09-08:00"", - ""Address"": ""351-7582 Consectetuer St."", - ""City"": ""Ilesa"", - ""State"": ""Osun"", - ""ZipCode"": ""9568EE"" - }, - { - ""FirstName"": ""Hayden"", - ""LastName"": ""Rosales"", - ""Birthday"": ""1921-08-15T15:20:11-08:00"", - ""Address"": ""8150 Tristique Rd."", - ""City"": ""Flushing"", - ""State"": ""Zl"", - ""ZipCode"": ""54888"" - }, - { - ""FirstName"": ""Chandler"", - ""LastName"": ""Holder"", - ""Birthday"": ""1951-07-23T15:14:30-07:00"", - ""Address"": ""Ap #686-3489 Enim. St."", - ""City"": ""Guápiles"", ""State"": ""L"", - ""ZipCode"": ""55236"" - }, - { - ""FirstName"": ""Byron"", - ""LastName"": ""Parrish"", - ""Birthday"": ""1963-03-22T04:38:06-08:00"", - ""Address"": ""2743 Vivamus St."", - ""City"": ""Burns Lake"", - ""State"": ""BC"", - ""ZipCode"": ""4727"" - }, - { - ""FirstName"": ""Herman"", - ""LastName"": ""Holder"", - ""Birthday"": ""1985-02-07T18:30:40-08:00"", - ""Address"": ""4972 Ut St."", - ""City"": ""Raurkela Civil Township"", - ""State"": ""Odisha"", - ""ZipCode"": ""P2 6YS"" - }, - { - ""FirstName"": ""Flynn"", - ""LastName"": ""Mcclure"", - ""Birthday"": ""1966-04-25T20:19:34-07:00"", - ""Address"": ""P.O. Box 582, 1614 Leo Rd."", - ""City"": ""Northumberland"", - ""State"": ""Ontario"", - ""ZipCode"": ""215543"" - }, - { - ""FirstName"": ""Aristotle"", - ""LastName"": ""Sandoval"", - ""Birthday"": ""1954-05-30T06:09:00-07:00"", - ""Address"": ""487 Eu, Av."", - ""City"": ""Pike Creek"", - ""State"": ""DE"", - ""ZipCode"": ""4380"" - }, - { - ""FirstName"": ""Russell"", - ""LastName"": ""Hoffman"", - ""Birthday"": ""1975-07-09T06:49:15-07:00"", - ""Address"": ""Ap #196-4907 Aliquam Ave"", - ""City"": ""Navsari"", - ""State"": ""GJ"", - ""ZipCode"": ""66497"" - }, - { - ""FirstName"": ""Hashim"", - ""LastName"": ""Leblanc"", - ""Birthday"": ""1955-12-13T19:59:17-08:00"", - ""Address"": ""3304 Mi Av."", - ""City"": ""Bremerhaven"", - ""State"": ""HB"", - ""ZipCode"": ""78548"" - }, - { - ""FirstName"": ""Abraham"", - ""LastName"": ""Wells"", - ""Birthday"": ""1988-09-30T03:23:29-07:00"", - ""Address"": ""3728 Urna. St."", - ""City"": ""Terneuzen"", - ""State"": ""Zl"", - ""ZipCode"": ""04154"" - }, - { - ""FirstName"": ""Cairo"", - ""LastName"": ""Diaz"", - ""Birthday"": ""1936-03-28T16:08:45-08:00"", - ""Address"": ""P.O. Box 371, 177 Sed, Rd."", - ""City"": ""Suxy"", - ""State"": ""Luxemburg"", - ""ZipCode"": ""41317"" - }, - { - ""FirstName"": ""Marsden"", - ""LastName"": ""Sanford"", - ""Birthday"": ""1974-07-07T18:31:00-07:00"", - ""Address"": ""938-1902 Eleifend St."", - ""City"": ""Mount Gambier"", - ""State"": ""South Australia"", - ""ZipCode"": ""12997-495"" - }, - { - ""FirstName"": ""Plato"", - ""LastName"": ""Kirk"", - ""Birthday"": ""1969-11-09T01:16:42-08:00"", - ""Address"": ""4890 Arcu. Rd."", - ""City"": ""Bendigo"", - ""State"": ""VIC"", - ""ZipCode"": ""88783"" - }, - { - ""FirstName"": ""Uriel"", - ""LastName"": ""Strong"", - ""Birthday"": ""1935-09-23T08:02:53-08:00"", - ""Address"": ""642-1615 Ut Av."", - ""City"": ""Canberra"", - ""State"": ""Australian Capital Territory"", - ""ZipCode"": ""2304"" - }, - { - ""FirstName"": ""Grady"", - ""LastName"": ""Sanders"", - ""Birthday"": ""1921-07-12T11:14:15-08:00"", - ""Address"": ""3814 Aliquam Rd."", - ""City"": ""San Antonio"", - ""State"": ""Valparaíso"", - ""ZipCode"": ""E7W 0J4"" - }, - { - ""FirstName"": ""Jasper"", - ""LastName"": ""Pittman"", - ""Birthday"": ""1970-09-23T10:48:13-07:00"", - ""Address"": ""280-6359 Elit. Street"", + ""ZipCode"": ""7787"", + ""Age"": 38 + + }, + + { + ""FirstName"": ""Dawn"", + ""LastName"": ""Wheeler"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""Ap #163-3879 Consequat Road"", ""City"": ""Vienna"", - ""State"": ""Vienna"", - ""ZipCode"": ""6048"" - }, - { - ""FirstName"": ""Reese"", - ""LastName"": ""Finley"", - ""Birthday"": ""1979-06-16T20:36:45-07:00"", - ""Address"": ""6077 Imperdiet Road"", - ""City"": ""Salzburg"", - ""State"": ""Sbg"", - ""ZipCode"": ""12841"" - }, - { - ""FirstName"": ""Nathaniel"", - ""LastName"": ""Richmond"", - ""Birthday"": ""1983-04-27T01:05:26-07:00"", - ""Address"": ""Ap #444-4132 Dictum Ave"", - ""City"": ""St. Petersburg"", - ""State"": ""Florida"", - ""ZipCode"": ""9043"" - }, - { - ""FirstName"": ""Curran"", - ""LastName"": ""Michael"", - ""Birthday"": ""1926-03-18T00:44:19-08:00"", - ""Address"": ""Ap #153-5061 Vitae Street"", - ""City"": ""Casper"", - ""State"": ""WY"", - ""ZipCode"": ""3210"" - }, - { - ""FirstName"": ""Kamal"", - ""LastName"": ""Townsend"", - ""Birthday"": ""1971-04-15T05:53:02-08:00"", - ""Address"": ""9991 Sed Rd."", - ""City"": ""Montpelier"", - ""State"": ""VT"", - ""ZipCode"": ""49591"" - }, - { - ""FirstName"": ""Ferdinand"", - ""LastName"": ""Travis"", - ""Birthday"": ""1962-09-24T15:45:30-07:00"", - ""Address"": ""578-1438 Ipsum. St."", - ""City"": ""Sete Lagoas"", - ""State"": ""Minas Gerais"", - ""ZipCode"": ""4520"" - }, - { - ""FirstName"": ""Dillon"", - ""LastName"": ""Mcdonald"", - ""Birthday"": ""1922-09-30T22:25:35-08:00"", - ""Address"": ""518-2041 Vulputate Ave"", - ""City"": ""Casper"", - ""State"": ""WY"", - ""ZipCode"": ""3136"" - }, - { - ""FirstName"": ""Orson"", - ""LastName"": ""Blake"", - ""Birthday"": ""1937-09-28T13:34:34-08:00"", - ""Address"": ""8642 Magnis Av."", - ""City"": ""Delitzsch"", - ""State"": ""SN"", - ""ZipCode"": ""824029"" - }, - { - ""FirstName"": ""Kuame"", - ""LastName"": ""Payne"", - ""Birthday"": ""1938-02-02T09:33:36-08:00"", - ""Address"": ""P.O. Box 767, 8575 Metus St."", - ""City"": ""Juiz de Fora"", - ""State"": ""MG"", - ""ZipCode"": ""11099"" - }, - { - ""FirstName"": ""Nissim"", - ""LastName"": ""Mcguire"", - ""Birthday"": ""1979-09-15T15:18:24-07:00"", - ""Address"": ""5355 Morbi Road"", - ""City"": ""Vaux-lez-Rosieres"", - ""State"": ""Luxemburg"", - ""ZipCode"": ""74277"" - }, - { - ""FirstName"": ""Alvin"", - ""LastName"": ""Patel"", - ""Birthday"": ""1950-08-14T16:22:09-07:00"", - ""Address"": ""Ap #246-9166 Amet, Street"", - ""City"": ""Bosa"", - ""State"": ""Sardegna"", - ""ZipCode"": ""2743"" - }, - { - ""FirstName"": ""Carter"", - ""LastName"": ""Kirk"", - ""Birthday"": ""1923-03-11T00:48:15-08:00"", - ""Address"": ""Ap #684-7692 Ac St."", - ""City"": ""Molino dei Torti"", - ""State"": ""Piemonte"", - ""ZipCode"": ""50650"" - }, - { - ""FirstName"": ""Nathan"", - ""LastName"": ""Fields"", - ""Birthday"": ""1978-10-05T00:36:59-07:00"", - ""Address"": ""Ap #578-5238 Erat, Road"", - ""City"": ""Bristol"", - ""State"": ""GL"", - ""ZipCode"": ""111899"" - }, - { - ""FirstName"": ""Jacob"", - ""LastName"": ""Tucker"", - ""Birthday"": ""1977-07-14T13:23:35-07:00"", - ""Address"": ""975-1596 Dolor Rd."", - ""City"": ""Putignano"", - ""State"": ""Puglia"", - ""ZipCode"": ""64684-970"" - }, - { - ""FirstName"": ""Nero"", - ""LastName"": ""Taylor"", - ""Birthday"": ""1922-09-22T21:14:46-08:00"", - ""Address"": ""Ap #223-8802 Aliquet. Av."", - ""City"": ""Belfast"", - ""State"": ""U"", - ""ZipCode"": ""031113"" - }, - { - ""FirstName"": ""Jerome"", - ""LastName"": ""Figueroa"", - ""Birthday"": ""1930-11-21T06:41:38-08:00"", - ""Address"": ""P.O. Box 541, 4741 Justo St."", - ""City"": ""Brisbane"", - ""State"": ""QLD"", - ""ZipCode"": ""15085"" - }, - { - ""FirstName"": ""Fulton"", - ""LastName"": ""Caldwell"", - ""Birthday"": ""1922-12-19T20:23:49-08:00"", - ""Address"": ""P.O. Box 236, 3962 Ipsum. St."", - ""City"": ""Alajuela"", - ""State"": ""Alajuela"", - ""ZipCode"": ""69624"" - }, - { - ""FirstName"": ""Alec"", - ""LastName"": ""Terry"", - ""Birthday"": ""1981-12-28T01:13:39-08:00"", - ""Address"": ""6044 Luctus Road"", - ""City"": ""Hunstanton"", - ""State"": ""Norfolk"", - ""ZipCode"": ""21-766"" - }, - { - ""FirstName"": ""Jelani"", - ""LastName"": ""Calhoun"", - ""Birthday"": ""1938-01-18T08:54:57-08:00"", - ""Address"": ""2245 Nunc Rd."", - ""City"": ""Bevilacqua"", - ""State"": ""VEN"", - ""ZipCode"": ""2529"" - }, - { - ""FirstName"": ""Oliver"", - ""LastName"": ""Cabrera"", - ""Birthday"": ""1966-04-06T06:31:19-08:00"", - ""Address"": ""637-7876 Convallis, Rd."", - ""City"": ""Hartford"", - ""State"": ""Connecticut"", - ""ZipCode"": ""47273"" - }, - { - ""FirstName"": ""Bruno"", - ""LastName"": ""Russo"", - ""Birthday"": ""1964-05-21T12:12:06-07:00"", - ""Address"": ""659-2384 Vestibulum Av."", - ""City"": ""Orilla"", - ""State"": ""Ontario"", - ""ZipCode"": ""26873"" - }, - { - ""FirstName"": ""Grady"", - ""LastName"": ""Bailey"", - ""Birthday"": ""1974-12-07T19:30:56-08:00"", - ""Address"": ""3951 Mollis Avenue"", - ""City"": ""Pointe-du-Lac"", - ""State"": ""QC"", - ""ZipCode"": ""95015"" - }, - { - ""FirstName"": ""Stone"", - ""LastName"": ""Duran"", - ""Birthday"": ""1933-06-06T21:28:38-08:00"", - ""Address"": ""137 Nisl. Ave"", - ""City"": ""Belfast"", - ""State"": ""U"", - ""ZipCode"": ""32132"" - }, - { - ""FirstName"": ""Victor"", - ""LastName"": ""Randall"", - ""Birthday"": ""1950-08-27T01:06:31-07:00"", - ""Address"": ""Ap #561-4146 Nunc Ave"", - ""City"": ""Izmir"", - ""State"": ""İzmir"", - ""ZipCode"": ""66475"" - }, - { - ""FirstName"": ""Wylie"", - ""LastName"": ""Roy"", - ""Birthday"": ""1976-07-21T20:40:47-07:00"", - ""Address"": ""P.O. Box 666, 8507 Proin Avenue"", - ""City"": ""Geertruidenberg"", + ""State"": ""Wie"", + ""ZipCode"": ""44043"", + ""Age"": 60 + + }, + + { + ""FirstName"": ""Risa"", + ""LastName"": ""Ortega"", + ""Birthday"": ""1969-12-31T16:00:00-08:00"", + ""Address"": ""P.O. Box 755, 223 Elit, Rd."", + ""City"": ""Naarden"", ""State"": ""N."", - ""ZipCode"": ""0415AC"" - }, - { - ""FirstName"": ""Rigel"", - ""LastName"": ""Wilkerson"", - ""Birthday"": ""1998-06-08T07:12:29-07:00"", - ""Address"": ""714-6545 Non Ave"", - ""City"": ""Tobermory"", - ""State"": ""Argyllshire"", - ""ZipCode"": ""M1Y 6W8"" - }, - { - ""FirstName"": ""Rafael"", - ""LastName"": ""Henson"", - ""Birthday"": ""1950-04-16T11:27:53-08:00"", - ""Address"": ""P.O. Box 443, 8572 Eu St."", - ""City"": ""Pozantı"", - ""State"": ""Ada"", - ""ZipCode"": ""396626"" - }, - { - ""FirstName"": ""Vaughan"", - ""LastName"": ""Gates"", - ""Birthday"": ""1923-07-26T14:10:05-08:00"", - ""Address"": ""539-3039 Amet Rd."", - ""City"": ""Greymouth"", - ""State"": ""South Island"", - ""ZipCode"": ""52478"" - }, - { - ""FirstName"": ""Reed"", - ""LastName"": ""Harris"", - ""Birthday"": ""1966-06-29T13:43:49-07:00"", - ""Address"": ""P.O. Box 184, 475 Non Ave"", - ""City"": ""Şereflikoçhisar"", - ""State"": ""Ank"", - ""ZipCode"": ""5575KV"" - }, - { - ""FirstName"": ""Julian"", - ""LastName"": ""Waters"", - ""Birthday"": ""1931-12-09T00:48:42-08:00"", - ""Address"": ""Ap #211-6966 Blandit Av."", - ""City"": ""Galway"", - ""State"": ""C"", - ""ZipCode"": ""18795"" - }, - { - ""FirstName"": ""Zahir"", - ""LastName"": ""Conrad"", - ""Birthday"": ""1968-04-15T15:18:04-08:00"", - ""Address"": ""P.O. Box 499, 6873 Iaculis Av."", - ""City"": ""Le Cannet"", - ""State"": ""Provence-Alpes-Côte d'Azur"", - ""ZipCode"": ""05991-790"" - }, - { - ""FirstName"": ""Gannon"", - ""LastName"": ""Wyatt"", - ""Birthday"": ""1920-08-10T17:19:19-08:00"", - ""Address"": ""P.O. Box 222, 3085 Egestas Ave"", - ""City"": ""Bauchi"", - ""State"": ""BA"", - ""ZipCode"": ""L9Z 5P9"" - }, - { - ""FirstName"": ""Aladdin"", - ""LastName"": ""Blackburn"", - ""Birthday"": ""1931-08-01T04:40:55-08:00"", - ""Address"": ""Ap #386-3036 Dolor Road"", - ""City"": ""Warszawa"", - ""State"": ""Mazowieckie"", - ""ZipCode"": ""3165"" - }, - { - ""FirstName"": ""Nathan"", - ""LastName"": ""Beck"", - ""Birthday"": ""1963-06-22T03:34:25-07:00"", - ""Address"": ""716-2085 Sollicitudin St."", - ""City"": ""Patan"", - ""State"": ""GJ"", - ""ZipCode"": ""54770"" - }, - { - ""FirstName"": ""Plato"", - ""LastName"": ""Brennan"", - ""Birthday"": ""1942-10-07T22:56:42-07:00"", - ""Address"": ""615-5632 Morbi St."", - ""City"": ""Cork"", - ""State"": ""M"", - ""ZipCode"": ""409521"" - }, - { - ""FirstName"": ""Ronan"", - ""LastName"": ""Erickson"", - ""Birthday"": ""1928-11-29T02:31:03-08:00"", - ""Address"": ""P.O. Box 976, 4671 Nec St."", - ""City"": ""Pocatello"", - ""State"": ""ID"", - ""ZipCode"": ""4276"" - }, - { - ""FirstName"": ""Ivan"", - ""LastName"": ""Pena"", - ""Birthday"": ""1919-08-23T10:25:10-07:00"", - ""Address"": ""Ap #352-3991 Rutrum Road"", - ""City"": ""Gresham"", - ""State"": ""OR"", - ""ZipCode"": ""8313"" - }, - { - ""FirstName"": ""Tyler"", - ""LastName"": ""Higgins"", - ""Birthday"": ""1955-06-19T09:12:44-07:00"", - ""Address"": ""Ap #848-2077 A Street"", - ""City"": ""Lower Hutt"", - ""State"": ""NI"", - ""ZipCode"": ""881944"" - }, - { - ""FirstName"": ""Randall"", - ""LastName"": ""Boyle"", - ""Birthday"": ""1935-02-28T14:51:48-08:00"", - ""Address"": ""P.O. Box 650, 8865 Tincidunt Street"", - ""City"": ""Bikaner"", - ""State"": ""Rajasthan"", - ""ZipCode"": ""01124"" - }, - { - ""FirstName"": ""Uriah"", - ""LastName"": ""Hill"", - ""Birthday"": ""1953-01-28T21:20:37-08:00"", - ""Address"": ""P.O. Box 789, 6050 Aliquet Street"", - ""City"": ""Invercargill"", - ""State"": ""SI"", - ""ZipCode"": ""90595"" - }, - { - ""FirstName"": ""Rooney"", - ""LastName"": ""Hays"", - ""Birthday"": ""1961-01-18T21:23:41-08:00"", - ""Address"": ""Ap #730-2904 Aliquam Street"", - ""City"": ""L'Hospitalet de Llobregat"", - ""State"": ""Catalunya"", - ""ZipCode"": ""349390"" - }, - { - ""FirstName"": ""Baker"", - ""LastName"": ""Bean"", - ""Birthday"": ""1961-10-05T00:39:43-08:00"", - ""Address"": ""766-3968 Lobortis Ave"", - ""City"": ""Rueglio"", - ""State"": ""PIE"", - ""ZipCode"": ""3542"" - }, - { - ""FirstName"": ""Oliver"", - ""LastName"": ""Fuentes"", - ""Birthday"": ""1980-11-07T00:27:15-08:00"", - ""Address"": ""8097 Sodales. Rd."", - ""City"": ""San José de Alajuela"", - ""State"": ""A"", - ""ZipCode"": ""52469"" - }, - { - ""FirstName"": ""Rafael"", - ""LastName"": ""Kane"", - ""Birthday"": ""1957-09-24T13:38:06-07:00"", - ""Address"": ""4653 Massa St."", - ""City"": ""Santarcangelo di Romagna"", - ""State"": ""Emilia-Romagna"", - ""ZipCode"": ""44934-527"" - }, - { - ""FirstName"": ""David"", - ""LastName"": ""Anthony"", - ""Birthday"": ""1919-01-01T00:06:32-08:00"", - ""Address"": ""Ap #354-5011 Justo. St."", - ""City"": ""Musson"", - ""State"": ""LX"", - ""ZipCode"": ""87-166"" - }, - { - ""FirstName"": ""Elton"", - ""LastName"": ""Clemons"", - ""Birthday"": ""1944-03-15T20:48:35-07:00"", - ""Address"": ""489-2720 Cras St."", - ""City"": ""Niterói"", - ""State"": ""Rio de Janeiro"", - ""ZipCode"": ""5650"" - }, - { - ""FirstName"": ""Orlando"", - ""LastName"": ""Griffin"", - ""Birthday"": ""1974-03-07T09:27:15-07:00"", - ""Address"": ""P.O. Box 414, 5440 Nascetur St."", - ""City"": ""Torrejón de Ardoz"", - ""State"": ""MA"", - ""ZipCode"": ""59781"" - }, - { - ""FirstName"": ""Tobias"", - ""LastName"": ""Newman"", - ""Birthday"": ""1996-10-19T21:36:43-07:00"", - ""Address"": ""443-8692 Consectetuer Av."", - ""City"": ""San Vicente"", - ""State"": ""SJ"", - ""ZipCode"": ""82144"" - }, - { - ""FirstName"": ""Derek"", - ""LastName"": ""Odonnell"", - ""Birthday"": ""1946-03-05T16:46:52-08:00"", - ""Address"": ""P.O. Box 711, 3487 Sem Rd."", - ""City"": ""Coalville"", - ""State"": ""Leicestershire"", - ""ZipCode"": ""9770"" - }, - { - ""FirstName"": ""Raphael"", - ""LastName"": ""Carroll"", - ""Birthday"": ""1918-03-06T00:14:58-08:00"", - ""Address"": ""P.O. Box 562, 3030 In St."", - ""City"": ""Trois-Rivi�res"", - ""State"": ""Quebec"", - ""ZipCode"": ""396855"" - } + ""ZipCode"": ""60914"", + ""Age"": 70 + + } ]"; } } diff --git a/Castle.DynamicLinqQueryBuilder.Samples/Views/Home/Index.cshtml b/Castle.DynamicLinqQueryBuilder.Samples/Views/Home/Index.cshtml index 400658e..51bbcb7 100644 --- a/Castle.DynamicLinqQueryBuilder.Samples/Views/Home/Index.cshtml +++ b/Castle.DynamicLinqQueryBuilder.Samples/Views/Home/Index.cshtml @@ -30,14 +30,32 @@ sortable: 'fa fa-exclamation-triangle' } }); + var convertArraysToCommaDelimited = function(obj) { + if (obj != null) { + if (obj.hasOwnProperty("value")) { + if( Object.prototype.toString.call( obj.value ) === '[object Array]' ) { + obj.value = obj.value.join(", "); + } + } + if (obj.hasOwnProperty("rules") && obj.rules != null) { + for (var i = 0; i < obj.rules.length; i++) { + convertArraysToCommaDelimited(obj.rules[i]); + } + } + } + } var getRules = function() { try { - return jqueryQueryBuilder.queryBuilder('getRules'); + var res = jqueryQueryBuilder.queryBuilder('getRules'); + convertArraysToCommaDelimited(res); + return res; + debugger; } catch (ex) { //console.log(ex); return null; } } + var buildTable; var filterData = function() { @@ -65,7 +83,7 @@ }); buildTable = function() { var tbody = $('#data-table tbody'), - props = ["FirstName", "LastName", "Birthday", "Address", "City", "State", "ZipCode"]; + props = ["FirstName", "LastName", "Birthday", "Age", "Address", "City", "State", "ZipCode"]; tbody.empty(); $.each(tableData, function(i, reservation) { var tr = $(''); From 2837737234aae619036a6175a048130a70535358 Mon Sep 17 00:00:00 2001 From: Grant Hamm Date: Fri, 1 Jul 2016 19:40:10 -0400 Subject: [PATCH 3/6] fixes #7 --- Castle.DynamicLinqQueryBuilder.Samples/Views/Home/Index.cshtml | 1 + 1 file changed, 1 insertion(+) diff --git a/Castle.DynamicLinqQueryBuilder.Samples/Views/Home/Index.cshtml b/Castle.DynamicLinqQueryBuilder.Samples/Views/Home/Index.cshtml index 51bbcb7..780edd1 100644 --- a/Castle.DynamicLinqQueryBuilder.Samples/Views/Home/Index.cshtml +++ b/Castle.DynamicLinqQueryBuilder.Samples/Views/Home/Index.cshtml @@ -30,6 +30,7 @@ sortable: 'fa fa-exclamation-triangle' } }); + var convertArraysToCommaDelimited = function(obj) { if (obj != null) { if (obj.hasOwnProperty("value")) { From c203739330e2e826bf9c2de446995890f5fd2fe3 Mon Sep 17 00:00:00 2001 From: Grant Hamm Date: Fri, 1 Jul 2016 19:43:48 -0400 Subject: [PATCH 4/6] Left in a debugger --- Castle.DynamicLinqQueryBuilder.Samples/Views/Home/Index.cshtml | 1 - 1 file changed, 1 deletion(-) diff --git a/Castle.DynamicLinqQueryBuilder.Samples/Views/Home/Index.cshtml b/Castle.DynamicLinqQueryBuilder.Samples/Views/Home/Index.cshtml index 780edd1..8e39ad9 100644 --- a/Castle.DynamicLinqQueryBuilder.Samples/Views/Home/Index.cshtml +++ b/Castle.DynamicLinqQueryBuilder.Samples/Views/Home/Index.cshtml @@ -50,7 +50,6 @@ var res = jqueryQueryBuilder.queryBuilder('getRules'); convertArraysToCommaDelimited(res); return res; - debugger; } catch (ex) { //console.log(ex); return null; From 64b8935d8e8595c3b779d5c6e5edb3b7839a3af8 Mon Sep 17 00:00:00 2001 From: Grant Hamm Date: Sat, 2 Jul 2016 10:50:02 -0400 Subject: [PATCH 5/6] Package updates and spelling --- Castle.DynamicLinqQueryBuilder.Nuget/Package.nuspec | 2 +- Castle.DynamicLinqQueryBuilder.Samples/Views/Home/Index.cshtml | 2 +- .../Views/Shared/_Layout.cshtml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Castle.DynamicLinqQueryBuilder.Nuget/Package.nuspec b/Castle.DynamicLinqQueryBuilder.Nuget/Package.nuspec index 3e37f26..6d77f76 100644 --- a/Castle.DynamicLinqQueryBuilder.Nuget/Package.nuspec +++ b/Castle.DynamicLinqQueryBuilder.Nuget/Package.nuspec @@ -2,7 +2,7 @@ Castle.DynamicLinqQueryBuilder - 1.0.4 + 1.0.5-prerelease Dynamic Linq Query Builder Grant Hamm Castle Worldwide, Inc diff --git a/Castle.DynamicLinqQueryBuilder.Samples/Views/Home/Index.cshtml b/Castle.DynamicLinqQueryBuilder.Samples/Views/Home/Index.cshtml index 400658e..1ffde62 100644 --- a/Castle.DynamicLinqQueryBuilder.Samples/Views/Home/Index.cshtml +++ b/Castle.DynamicLinqQueryBuilder.Samples/Views/Home/Index.cshtml @@ -86,7 +86,7 @@ }
-

Dnamyic Linq Query Builder Sample

+

Dynamic Linq Query Builder Sample

Dynamically filter object collections based on complex queries at runtime.

diff --git a/Castle.DynamicLinqQueryBuilder.Samples/Views/Shared/_Layout.cshtml b/Castle.DynamicLinqQueryBuilder.Samples/Views/Shared/_Layout.cshtml index ee0bf6b..d5c970c 100644 --- a/Castle.DynamicLinqQueryBuilder.Samples/Views/Shared/_Layout.cshtml +++ b/Castle.DynamicLinqQueryBuilder.Samples/Views/Shared/_Layout.cshtml @@ -17,7 +17,7 @@ - @Html.ActionLink("Dyanmic Linq Query Builder", "Index", "Home", new { area = "" }, new { @class = "navbar-brand" }) + @Html.ActionLink("Dynamic Linq Query Builder", "Index", "Home", new { area = "" }, new { @class = "navbar-brand" })