万本电子书0元读

万本电子书0元读

顶部广告

Code-First Development with Entity Framework电子书

售       价:¥

67人正在读 | 1人评论 9.8

作       者:Sergey Barskiy

出  版  社:Packt Publishing

出版时间:2015-03-20

字       数:73.3万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:此类商品不支持退换货,不支持下载打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
This book is intended for software developers with some prior experience with the Microsoft .NET framework who want to learn how to use Entity Framework. This book will get you up and running quickly, providing many examples that illustrate all the key concepts of Entity Framework.
目录展开

Code-First Development with Entity Framework

Table of Contents

Code-First Development with Entity Framework

Credits

About the Author

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. Introducing Entity Framework

What is ORM?

A brief history of Entity Framework

The capabilities of Entity Framework

The Entity Framework architecture

Self-test questions

Summary

2. Your First Entity Framework Application

Creating a new project that uses Entity Framework

Creating a new database based on .NET classes

Saving a new record to the database

Querying data in a database

Updating a record

Deleting a row from the database

Introduction to schema changes

Self-test questions

Summary

3. Defining the Database Structure

Creating table structures

Mapping .NET types to SQL types

Configuring primitive properties

Handling nullable properties

Defining relationships

The One-to-Many relationship

The Many-to-Many relationship

The One-to-One relationship

Self-test questions

Summary

4. Querying, Inserting, Updating, and Deleting Data

The basics of LINQ

Filtering data in queries

Sorting data in queries

Exploring LINQ functions

Element operations

Quantifiers

Working with related entities

Filtering based on related data

Lazy and eager loading

Inserting data into the database

Updating data in the database

Deleting data from the database

Working with in-memory data

Self-test questions

Summary

5. Advanced Modeling and Querying Techniques

Advanced modeling techniques

Complex types

Using an explicit table and column mappings

Adding supporting columns

Enumerations

Using multiple tables for a single entity

Advanced querying techniques

Projections

Aggregations and grouping

Advanced query construction

Paging data with windowing functions

Using joins

Groupings and left outer joins

Set operations

Self-test questions

Summary

6. Working with Views, Stored Procedures, the Asynchronous API, and Concurrency

Working with views

Working with stored procedures

Create, update, and delete entities with stored procedures

The asynchronous API

Handling concurrency

Self-test questions

Summary

7. Database Migrations and Additional Features

Enabling and running migrations

Using the migrations API

Applying migrations

Applying migrations via a script

Applying migrations via migrate.exe

Applying migrations via an initializer

Adding migrations to an existing database

Additional Entity Framework features

Custom conventions

Geospatial data

Dependency injection and logging

Startup performance

Multiple contexts per database

Self-test questions

Summary

A. Answers to Self-test Questions

Chapter 1: Introducing Entity Framework

Chapter 2: Your First Entity Framework Application

Chapter 3: Defining the Database Structure

Chapter 4: Querying, Inserting, Updating, and Deleting Data

Chapter 5: Advanced Modeling and Querying Techniques

Chapter 6: Working with Views, Stored Procedures, the Asynchronous API, and Concurrency

Chapter 7: Database Migrations and Additional Features

Index

累计评论(0条) 1个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部