The Grid View below lists all invoice lines of the database. All fields are searcheable, and can be sorted.

The implementation is very easy with RelatedSearchBehavior. Check out the 'Invoiceline' model to see how it is done.

In the left corner above you may have access to debug functionnality. Click on "DB Query" to see the SQL queries, and specifically the search query near the end.

The database is open source from http://chinookdatabase.codeplex.com The schema is shown further below.

Displaying 1-4 of 2240 results.
InvoiceTrack NameComposerUnit PriceAlbum TitleArtistMedia TypeGenreLast NameFirst NameSupport Last NameSupport First NameSupport PhoneSupport Email
1Balls to the Wall 0.99Balls to the WallAcceptProtected AAC audio fileRockKöhlerLeonieJohnsonSteve1 (780) 836-9987steve@chinookcorp.com
4Por Causa De Você 0.99Warner 25 AnosAntônio Carlos JobimMPEG audio fileJazzPhilipsMarkJohnsonSteve1 (780) 836-9987steve@chinookcorp.com
4Angela 0.99Warner 25 AnosAntônio Carlos JobimMPEG audio fileJazzPhilipsMarkJohnsonSteve1 (780) 836-9987steve@chinookcorp.com
5Super Terrorizer 0.99Alcohol Fueled Brewtality Live! [Disc 1]Black Label SocietyMPEG audio fileMetalGordonJohnParkMargaret+1 (403) 263-4423margaret@chinookcorp.com