LINQ in Action roller

LINQ to SQL with multiple StartsWith

I have some LINQ to SQL that must use StartsWith. To get all tours I use: var theseTours = from pr in db.PackageRegions where pr.regionID == RegionID && pr.Package.isVisible==true Now I want the LINQ to say ie. that pr.Package.name.StartsWith a, b, c, d or e Any help? I have broken my search into groups of 5 letters(a-e, f-j.....) and depending on what group you click on I want to do the search. Thank you Sarel Read More...
Published Wednesday, December 03, 2008 2:07 AM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication