How to: Create Domain Model Based on MariaDB Database
This article is relevant to entity models that utilize the deprecated Visual Studio integration of Telerik Data Access. The current documentation of the Data Access framework is available here.
This topic will walk you through the common task of creating a new Telerik Data Access Domain Model connected to a MariaDB database.
To use MariaDB with Telerik Data Access, make sure you have installed Connector/Net driver for MySQL. Telerik Data Access supports only the Connector/Net driver.
To create a new domain model:
- In Solution Explorer, right-click your project, point Add and then New Item.
- In the Add New Item dialog box, choose Data and then Telerik Data Access Domain Model. Click Add.
-
In the Select Domain Model Type Dialog dialog, choose Populate from database. In the Backend option, choose MySql. Click Next.
-
In the Setup Database Connection Dialog, create a new connection to your MariaDB database.
Click Next to proceed. The rest of the actions should be familiar for all Telerik Data Access developers.