. Net Ria service creates ORM generation (3)

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.