This project has moved. For the latest updates, please go here.

Overview

NQuery mainly provides three classes: Query, Expression and DataContext.

NQuery Overview.png

The DataContext represents something like a scope in which you can place tables, relations, functions, named constants and aggregates.

Query can be used to execute a SELECT statement against a data context. Expression can be used in scenarios where you only need an expression instead of a full query. This can be especially useful for features like searching, filtering or field mapping.

Both Query and Expression contain a parameter collection that is very similar to the parameter collection used by .NET database classes. Changing parameter values does not require the Query or Expression to be recompiled.

See Query Demo or Expression Demo to see how these classes are actually used.

Last edited Oct 6, 2006 at 9:00 PM by terrajobst, version 2

Comments

No comments yet.