What is EF, and the Entity Framework demo simple to build a good development environment

Source: Internet
Author: User


Entity Framwork (Solid framework. Abbreviation EF) This is the ORM (Object relational Mapping. Object mapping Relationship) a solution.

The table mapping for EF is an entity. and encapsulates the method of operation. Easy for developers to manipulate the database directly.

EF has three development models. Each is:

Database First: Maps the tables in an existing database to entities;

Code First: Write the code and then reverse-generate the database's table from EF.

Model first: Generate the database and code separately from a visual model.

The sample shown here is the database first mode.

Prerequisite Tools: Visual Studio 2013 (. NET Framework supports EF from 3.5, so the VS version number should support more than 3.5 of the. NET Framework. I use 13, actually 10 can also);

The ODT development tool (assuming that no oracleclient is required to install.)

The Demo sample database is 11g, and the previously used 11g ODT is available. But because I'm using Visual Studio 2013. The ODT 11g does not support Visual Studio 2013.

Later I had the wit to think with 12C of the ODT, installed when it was found to support Visual Studio 2013, and compatible with 11g, the problem solved.

Address: http://www.oracle.com/technetwork/topics/dotnet/utilsoft-086879.html

Copyright notice: This article blog original article. Blogs, without consent, may not be reproduced.

What is EF, and the Entity Framework demo simple to build a good development environment

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.