This project is read-only.
This is the LinqIndex project that gives the possibility to add an index to linq to object query.

The following commands are supported:
  • Where for equal (==) and unequal (<,<=,>,>=) comparison.
  • Join
  • GroupJoin

Here is a simple example for a where query with index:

IEnumerable<Customer> customers = Customer.SampleData();
IndexDefinition<Customer> indexPart = customers.CreateIndexKey(c => c.Number);
var result = indexPart.Where(c => c.Number == 100000).ToList();

This project is currently in alpha state, that means it works only for special cases.
For further information and some examples please look at my blog.

Last edited Nov 7, 2012 at 12:15 PM by netmatze, version 10