Entity Framework 6

Download Report

Transcript Entity Framework 6

Intro to Entity
Framework 6
KEN TUCKER
Presentation Overview

Async support for query and save

Now Open Source

Connection Resiliency

Available on Code Plex

SQL logging

Designer Open Source also

Testability improvements

Improved transaction support

Performance improvements

SqlCeFunctions

Code first stored procedures
What you need to use Entity
Framework 6
Visual Studio
Versions
Designer
Nuget
• Visual Studio 2013
• Visual Studio 2012
• Will install in both VS 2012 and VS 2013
• http://www.microsoft.com/enus/download/details.aspx?id=40762
• Entity framework 6 is available as a nuget
package
Demo 1

Add entity framework 6 to app

Create a data model

Create a database

Add a record

Query db with ssdt tools
Demo 2

Entity framework migrations

Change model

Check database is updated
Demo 3

Code first stored procedures

Use stored procedure for updating record
Demo 4

Async queries

DataContext from IoC
Demo 5

SQL logging
Demo 7

Change provider to use SQL compact

Use SqlCe functions
Demo 8

Create model from existing database
Demo 9

Entity framework 6 customer data provider
Demo 10

Use non Microsoft database Sqlite
Resources
Web &
Software Tools
Social Media
Class web site
Twitter
Collaboration
tools
Facebook
Mobile/Other
apps
Other
Labs, Study
Groups
Labs
Study groups
Contact Information
Email [email protected]
Twitter @vb2ae
Blog
http://onteorasoftware.
azurewebsites.net
Comment in Meetup
group
Questions?