This example demonstrates how to build an Office-inspired application with DevExpress Scaffolding Wizards.
Refer to a corresponding tutorial in DevExpress Documentation to learn step-by-step how to build this application: Building Office-Inspired Applications
You can encounter the following exception:
A first chance exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.dll
Additional information: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 52 - Unable to locate a Local Database Runtime installation. Verify that SQL Server Express is properly installed and that the Local Database Runtime feature is enabled.)
This error is caused because the EntityFramework uses the missing LocalDB component.
To fix the issue, locate the App.config file within your application and open it. Change the defaultConnectionFactory in the following manner:
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />