In short (and by its name), data model - is a model (representation) of some data stored in your database. It solves two major problems: Presents the data to the end user in a more friendly and familiar way. Contains some meta information that helps EasyQuery components to build query statements in SQL or other query languages. Any data model contains the following main sections:
Here we describe how EasyQuery helps to implement a query building UI for creating custom, dynamic queries in .NET projects which use Entity Framework (6.x)
For example, value editor allows you to define a list of available values - so your users will be able to select the value from a drop-down list. "Custom list" value editor raises an event which can be processed either on the client-side or on the server. All other editions of EasyQuery (WinForms, WebForms, WPF or Silverlight) has ListRequest event in QueryPanel control which is raised when a user adds an attribute (or operator) with Custom List or SQL list value editor assigned to that attribute/operator. Here we show how you can filter the returned list according to the value specified for some other attribute. If such condition is defined - we get the value (country code) from it and use that value as a filter for the list of regions.
Virtual attributes: what are they for and how to add one
This page describes entities participating in the data model and their attributes.
Here you can find tips how to value editor setup and how to value editor widget
The above scheme shows the general internal structure of the library and the main principles of its work. EasyQuery components All EasyQuery classes and components can be divided into two main parts: logical part (DataModel, Query, SqlQueryBuilder). the visual part (QueryPanel, ColumnsPanel, etc.). The logical part is responsible for the internal representation of data structures and user
Here you can find all necessary information of how to edit link dialog and how to add new conditions.
Gridview filtering with EasyQuery ASP.NET (WebForms)
Example of how to build data model by certain information from DataTable
Here you can find all information about how to add a new operator to your data model either using Data Model Editor (DME) or with a code
This article will guide you through all steps necessary to apply EasyQuery ASP.NET to MVC web application
Detailed instruction with various examples of how to operate with different query formats.
A code snippet which demonstrates how to run through all conditions in your query
Some tips for choosing right “entities” and their “attributes”
It's easier to fill your model right in the code directly from your database, using meta-information
Here you can find tricks for executing this task
Here you can find all steps you need to perfom
Here you can find the instructions how to add EasyQuery components into your ASP.NET WebForms project
This article defines operators which can be used in conditions (such as 'is equal to', 'less than' and others).
How to deal with lookup fields in EasyQuery
Here we explain how to implement different ways to limit the quantity of entities and attributes shown in Data Model
EasyQuery allows to add new aggregate functions for user's need. Here is detailed manual of how to do it with code example.
Common terms Database - may refer to any data storage but in most cases we mean some relational database such as MS SQL Server, My SQL, Oracle, etc. Result set - a result of some search request (query). Usually, is presented as tabular data. Query - a search request. Query condition - one of the search terms (for example: "Customer name starts with 'A'")
Here you can find detailed information about this instrument and guideline, how to use it to perform all needed tasks.
Learn how to work with tables and links within your Data Model, change and edit them.
How to upgrade your project from version 2.x to version 3.0 of EasyQuery
Dynamic PHP query builder with EasyQuery
Here is a step-by-step description what you need to achieve this goal
Here you can find all steps you need to perform
A code snippet which demonstrates how to do this task
How to limit columns from duplication in MVC project, so when you add a column that is already used in a report it won’t be added again.
How to show some descriptive texts for some column in result set instead of actual numeric values stored in DB
This article will guide you through all issues about working with data models in EasyQuery library. How to load it from the DbContext or from your DB connection, or now to create a new one using Data Model Editor.
A code snippet which demonstrates how to run through data model entities and attributes
The instructions on how to add a condition which compares a field against another field instead of constant value.
In this article, we provide all the information needed to use aliases properly. There is an explanation, what for aliases are in the DME and an example of using it.
This article explains how to work with parameterized conditions.
Example of code for adding columns and conditions
Here you can find the full list of editors and choose any you need in your work with Data Model:
First, of you will need to assign a custom (user-defined) value editor for some attribute or operator in your data model. You have to ways to do it: Run Data Model Editor (DME). Select an entity attribute which you want to assign custom value editor to. You can add a custom editor to any entity attribute in your model at run-time. Here is an example of very simple value editor in TypeScript.
This article will guide you through all steps necessary to apply EasyQuery.NET to your application, with extract examples
You will be able to apply EasyQuery WPF to your application, performing all the instructions in this article
This article shows how to localize widgets, with extract examples