EntityDAC

EntityDemo



Launching EntityDemo

  1. Launch your IDE.
  2. In your IDE, choose File | Open Project from the menu bar.
  3. Find the directory you installed EntityDAC to and open the Demos folder.
  4. Browse through the demo project folders located here and open the project file of the demo you would like to use.
  5. Compile and launch the demo. If it exists, consult the ReadMe.txt file for more details.

Connecting to the EntityDemo database.

To start exploring the main EntityDAC demo:

  1. Choose a data provider from the list of installed data providers at the top-left corner of the main demo form.
  2. Select desired SQL dialect (if the data provider supports multiple dialects) from the list below.
  3. Fill up the connection string for the selected data provider.
  4. Press the "Connect" button.
  5. If needed, create all necessary database objects by pressing the "Create" button (or re-create database objects by sequentially pressing "Drop" and "Create" buttons).

Description of specific connection string parameters for all supported data providers you can find in the Connection String article.

Note: For simplifying the process of of acquaintance with the possibilities of EntityDAC, we supply a ready-to-work SQLite demo database with the demo project. The database is placed in the "%EntityDemo%\DB\SQLite\" folder.

Also, when the demo starts for the first time, it automatically checks whether UniDAC, LiteDAC or the default dbExpress SQLite driver installed and fills the connection string for the provider found.

EntityDemo content

The main demo project includes a number of demos that show various aspects of EntityDAC. The following table describes all demos contained in the project.

General Demos

Name Description
Working with DataContext Demonstrates how to perform general tasks with entities. The section includes four identical sub-sections for the four mapping types supported by EntityDAC.
Working with EntityDataSet Demonstrates how to bind entities and collections of entities to data-aware controls.
Working with LINQ queries Demonstrates how to retrieve various entity collections using LINQ queries.

See also:

© 1997-2017 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback