Using ODataDB
Special offer: 50% discount ($1440) for ODataDB Enterprise until May 31, 2024

Using ODataDB

Table of Contents

What is ODataDB

ODataDB is a cross-platform ASP.NET Core application and a JavaScript OData client.

You can install it on Windows with IIS, on Linux with Apache, or Linux with Nginx.

The server-side part creates OData 4.0 endpoints on the fly for all connection strings specified in the application settings file.

ODataDB supports SQL Server, Oracle Database, MySQL, MariaDB, and PostgreSQL.

You can consume data in any client that supports OData, including Microsoft Excel, Power BI, and Qlik.

ODataDB includes a built-in JavaScript OData client that allows viewing and editing data.

You can try online samples at

The built-in client looks like this:

ODataDB Samples - s02.cashbook

How it works

ODataDB reads connection strings from the app settings file and creates OData endpoints for every string.

Here is a sample of a connection string:

  "ConnectionStrings": {
    "mssql": {
      "ProviderName": "System.Data.SqlClient",
      "ConnectionString": "Data;Initial Catalog=AzureDemo100;User ID=user;Pwd=pass"

In this case, ODataDB creates the mssql endpoint for the AzureDemo100 database on the server:


The user and pass are placeholders to turn on the authentication.

Also, you can use the built-in JavaScript OData client to view and edit data:


You can test this sample with the following credentials:

Username: sample02_user3
Password: Usr_2011#_Xls4168

See more details about ODataDB endpoints.

How to use ODataDB

ODataDB supports the following use-cases, all at once:

  • OData service with third-party OData clients
  • Web viewer and editor for database data
  • Web page embedded data

We recommend taking the following steps to start using ODataDB:

  1. Playing with online samples at (10-15 minutes)
  2. Testing ODataDB using the QuickStart steps (5-10 minutes)
  3. Installing ODataDB (10-20 minutes)

You will have an OData service and a web editor for your databases in less than an hour.

Note that ODataDB is free for two users (identified by logins).

So, you can use it for development purposes and yourself for free.

Activate the trial version when you are ready to try it for a large number of users.

How to configure OData models

ODataDB creates OData models, reading the database metadata under the user's credentials.

So, every user gets a model based on available objects only.

ODataDB analyses SQL definitions of views and stored procedures and adds a lot of features automatically.

We recommend trying the default models first. It should be enough to view and edit the data of well-designed databases.

Then developers can customize all the required features step-by-step.

See more details at Configuring OData Models.

Notes for SaveToDB and DBEdit customers

ODataDB uses the same data layer as DBEdit and the SaveToDB add-in for Microsoft Excel.

So, you might get almost the same application features with the built-in JavaScript OData client.

Moreover, the SaveToDB add-in supports ODataDB as a data source. So, you can use ODataDB as a proxy to connect to your databases via HTTP API.