From a sample to your own project
/getting-started/from-sample-to-your-own-project[EasyQuery GitHub repositories](https://github.com/easyquery) contain several sample projects that demonstrate how to use EasyQuery library on different platforms, with differen frameworks and in different scenarios. The best way to start with EasyQuery is to choose the sample closest to your scenario and modify it according to your requirements (your DB, data model, environment, layout, styles, etc). So, in this section we are going to describe how to do it.
How to save/load queries to/from database
/how-to/mvc-save-load-query-databaseFind out how to change this default behavior and save/load queries to any other storage
Query saving and loading
/tutorials/query-saving-and-loadingEasyQuery has built-in means for query saving and loading. Here we are going to describe the most common approaches for solving this task
Copying the EasyQuery's code from a sample to your project
/getting-started/from-sample-to-your-own-project/copying-the-easyquerys-code-from-sample-to-your-projectIf you have already modified one of our sample projects to make it work with your DB, the next step will be to copy the EasyQuery's code to your own solution. This article describes how to do it.
Store queries in a database
/how-to/store-queries-in-a-databaseHere 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.
Generating queries for 2 (or more) databases
/how-to/querying-several-databasesHere you can find tricks for executing this task
Connect to your database
/getting-started/from-sample-to-your-own-project/connect-to-your-databaseThis article describes how to modify our sample project to make it work with your own database instead of Northwind DB used by default.
Add query builder page from our MVC sample project in your own app
/how-to/mvc-query-builder-view-in-your-appThis article described how to set up an advanced search page in your web-application using EqMvcDemoDB project as a template.
Using MS SQL instead of Access in WebDemo sample project
/getting-started/sample-webforms-change-to-mssqlIn this article, you will find the detailed instructions how to modify WebDemoCS or WebDemoAjaxCS to make it work with SQL Server instead of Access
Using EqMvcDemoEF sample with your own DB context
/getting-started/sample-mvc-entity-framework-new-dbcontextThis article contains a brief instruction how to modify EqMvcDemoEF sample project to make it work with your own context class
Getting started for WPF
/getting-started/version-3-x/wpfYou will be able to apply EasyQuery WPF to your application, performing all the instructions in this article
Getting started for Silverlight
/getting-started/silverlightThis article will guide you through all steps necessary to apply EasyQuery.NET to your application, with extract examples
Getting started for WPF
/getting-started/wpfGetting started tutorial on how to use EasyQuery components to implement an ad-hoc query builder in WPF application.
Getting started for EasyQuery ASP.NET MVC
/getting-started/version-3-x/asp-net-mvcThis article will guide you through all steps necessary to apply EasyQuery ASP.NET to MVC web application
Getting started for Windows Forms
/getting-started/version-3-x/winformsThis article shows how to apply EasyQuery.NET to your application
Upgrading to 5.x: WinForms and WPF projects
/upgrade-instructions/net4-editions-from-3-x-to-5-x/winforms-and-wpfThis tutorial describes how to modify your old Windows Forms or WPF project with EasyQuery 3.x to upgrade to EasyQuery version 5.2.0 (or higher). Please note. Version 5.2.0 of EasyQuery works only on .NET Framework 4.6.1 or higher. So, if your project targets a lower version of .NET Framework - you will need to update Target Framework for your project first (right-click on the project in Solution
Query with OR operators
/tutorials/query-with-or-operatorsIn this article, you will learn how to build queries that contain both AND and OR operators.
Upgrading to 5.x: ASP.NET (MVC and WebForms) projects
/upgrade-instructions/net-framework-3-x-to-5-x-/asp-net-mvc-webformsThis tutorial describes how to upgrde your old ASP.NET MVC project with EasyQuery 3.x to EasyQuery version 5.2.0 (or higher). 1.2 Use NuGet Package Manager to install the following packages: Korzh.EasyQuery.AspNet4 Korzh.EasyQuery.EntityFramewok6 - if you are using Entity Framework 6.x Korzh.EasyQuery.DataExport - if you will need the data exporting functions Korzh.EasyQuery.MsSqlGate (or .MySqlGate or .OdbcGate depending on your DB) - if you need to load your model directly from DB connection. Finally, we need to make some modifications on our pages where we use EasyQuery scripts. Version 5.2.0 and higher of EasyQuery scripts will not need JQuery anymore, so you will be able to throw them away if they are not used in your own pages. Here is an example for "advanced search" view: To update your Web Forms page your will need to do the following 3 steps: Add EasyQuery scripts and styles on your page.