All the preliminary work is ready. Now start the systemArticle.
. Net Ria service uses an Asp.net project as the middle layer to access this. Net Ria service by different applications for related database operations.
Therefore, we must define database operations in the funsl.com. Web project.
The steps are as follows:
Database> ado.net EF> domain service class> Client
1. project Manager (Solution Explorer)-> funsl.com. web-> right-click-> Add-> new item-> templates-> ADO. NET Entity Data Model-> name-> funslmodel.
Click Add and click Next.
2. Select to create a model from the database:
3. Define the database connection and select our funsl. MDF database for connection:
Click Next to go to the next step.
4. Select data tables, charts, and stored procedures in the database. Here we only need to select the tables-> funslusers table.
Click Finish to complete automatic ORM generation.