QueryFramework


The main function of the QueryFramework is to configure all the components to use a database dialect. A dialect is the sql language variation used by a database for queries.

For example, if you want to get the 5 first articles of the articles table, the sentence in Sql Server is:

SELECT TOP 5 * FROM Articles;


But the sentence is different in MySql:

SELECT * FROM Articles LIMIT 5;


This differences forces developers to have database types and their different dialects in mind when creating their queries. QueryFramework tries to simplify just configuring the dialect one time at application start.

Last edited Jun 14, 2011 at 2:54 PM by mcliment, version 3

Comments

No comments yet.