示例#1
0
 static void Main(string[] args)
 {
     var table = Politicians.GetAllNamesData();
     var list  = table.Cast <PoliticiansRow>()
                 .Where(row => row.LastName.IsNeIgnoreCase(row.LastName.StripAccents()))
                 .Select(
         row => new { PoliticianKey = row.PoliticianKey, LastName = row.LastName })
                 .ToList();
 }