- Entity Framework Tutorial(Second Edition)
- Joydip Kanjilal
- 335字
- 2021-07-16 20:41:54
Chapter 2. Getting Started
In the previous chapter, we took a look at Entity Framework, including its architecture and its features. We also had a look at the new and enhanced features in Entity Framework 7. Note that Entity Framework 6.0 ships with Visual Studio 2013, but you can also install it via NuGet if needed. Also, Entity Framework 7 is yet to be released.
In this chapter, we will design our Security
database, create an Entity Data Model (EDM) on top of it, and then use the EntityDataSource control to bind data exposed by the EDM to a GridView control.
The DataSource controls are those that are used to connect to a data source and then retrieve data from those data sources. If you use DataSource controls, the need of writing tedious code to perform Create, Read, Update, Delete (CRUD) operations on data-based controls is eliminated. The EntityDataSource control is a DataSource control that can connect to the data exposed by the EDM to perform CRUD operations.
In this chapter, we will cover the following points:
- Designing the
UserAuthentication
database - Creating an EDM for the
UserAuthentication
database - Introducing the EntityDataSource control
- Implementing our first application using Entity Framework 6
The latest version of Entity Framework is Entity Framework 7. As of this writing, Entity Framework 7 hasn't been released. It will be released as a "pre-release" at the same time ASP.NET 5 is released. You will be able to install the pre-release version of EF 7 using NuGet.
There are many changes coming up in Entity Framework 7—it is being rewritten from the ground up. The major goals of Entity Framework 7 include its support for new platforms and new data stores. So, support for additional providers will also be included in Entity Framework 7:

We will start this chapter with a discussion on our UserAuthentication
database that we will be using throughout this book, followed by a discussion on how we can create an EDM using the Security
database.
- Boost.Asio C++ Network Programming(Second Edition)
- 羅克韋爾ControlLogix系統應用技術
- Oracle數據庫從入門到運維實戰
- Python漫游數學王國:高等數學、線性代數、數理統計及運籌學
- C++面向對象程序設計習題解答與上機指導(第三版)
- RealSenseTM互動開發實戰
- Python預測之美:數據分析與算法實戰(雙色)
- Java并發實現原理:JDK源碼剖析
- 3ds Max 2018從入門到精通
- RESTful Web API Design with Node.js(Second Edition)
- C#網絡編程高級篇之網頁游戲輔助程序設計
- 匯編語言程序設計教程
- Visual C++實用教程
- Web應用程序設計:ASP
- 零基礎Linux從入門到精通