20 results for "how-to/querying-several-databases"

Store queries in a database

/how-to/store-queries-in-a-database

Here we describe the case when all users of some web application create their own queries and would like to store those queries in some database.

How to save/load queries to/from database

/how-to/mvc-save-load-query-database

Find out how to change this default behavior and save/load queries to any other storage

Connect to your database

/getting-started/from-sample-to-your-own-project/connect-to-your-database

This article describes how to modify our sample project to make it work with your own database instead of Northwind DB used by default.

Query with OR operators

/tutorials/query-with-or-operators

In this article, you will learn how to build queries that contain both AND and OR operators.

Working with several data models

/tutorials/several-data-models

All EasyQuery demos works with one data model (and one database which corresponds to that model). Here we are going to describe how to add a selector that switches between two data models on your view/page and then how to setup a custom "model loader" to handle GetModel requests propertly. To make it possible to switch between these two models we need some selector element on our page. The only problem here - is to switch the database connection accordingly the the switches between the models. Now when the user selects an item in our model selector element on the client-side - our server-side code automatically loads the selected model and connects to a proper database (when necessary)..

Query with table joins

/tutorials/query-with-table-joins

An example of query which require to define a table join(s) in case of using SQL. It's much more simple with EasyQuery.

Paging in query results

/tutorials/paging-in-query-results

Paging can make your work with query more convenient. And here is detailed instruction on how to use it.

Simple query over one table

/tutorials/query-over-one-table

How to build a simple query with 1-2 conditions over one table (entity)

Navigate through query conditions

/how-to/run-through-query-conditions

A code snippet which demonstrates how to run through all conditions in your query

Query saving and loading

/tutorials/query-saving-and-loading

EasyQuery has built-in means for query saving and loading. Here we are going to describe the most common approaches for solving this task

Exporting query results

/tutorials/exporting-query-results

Detailed instruction on how to perform additional functionality while dealing with EasyQuery results.