Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
EF Core 1: News features and changes
1. 1
Entity Framework Core 1 (formerly EF 7):
New features and changes
Manfred Steyer
About me …
Manfred Steyer
Trainer & Consultant
Angular & .NET
Page 2
3. 3
EF 6.x
Folie 7
O/R-Mapper
Mature
(since 2008)
Optimized
Ecosystem
Integration
Recommended LINQ
Modes of Operation
Folie 8
• Model First
• DB First
Mapping via XML
• Code First
• Code First with Reverse Engineering
Mapping via Code
4. 4
Code First brings several advantages
Folie 9
Reverse
Engineering
Source Control
More Intuitive for
Developers
More Freedom
for Developers
Code-based
Configuration
Conventions
Migrations
DbContext
Object Model
Folie 10
ObjectContext
7. 7
Goals
Reach
• .NET Core
• NoSQL
Tity up
• Focus: Code First
• RIP ObjectContext
Folie 15
Non-Goals
Folie 16
• Yes, but only when it
really makes sense
API-
Changes
• NoSQL != RDBMS
Abstract
Paradigms
8. 8
Migration
You have to modify existing code
Don't do it now!
Current Version 6.x will stay
Feature Set now
Folie 18
EF 6
EF Core 1
EF 6 is still the recommended version!
9. 9
Feature Set in Future
Folie 19
EF 6
EF Core 1.x+
Some Limitations in EF Core 1.x
M:N-Relations
Model it with two 1:N
Lazy Loading
Just TPH-Inheritance
Complex Types
Custom Conventions
Mappings to Stored Procedures
Update Model from Database
Non-relational Providers
10. 10
Some new Features
Handling of detached Entities
Improvements for Eager-Loading and Batching
Client-Evaluation and Raw SQL
Shadow State
Alternate Keys
Linux, Universal-Apps
PostgreSQL, SQLite
Folie 21
Core 1.x or 6.x
Web with
.NET Core
EF Core
1.0
Universal
Apps
EF Core
1.0
Else EF 6.x
Code Frist
11. 11
DEMO
Page 23
Conclusion
EF Core 1.x: Spring-Cleaning
Getting rid of Legacy
One Mode of Operation: "Code First"
Time seems to be fitting: .NET Core
Increasing Reach:
NoSQL, Linux, Universal-Apps (.NET Core)
Providers for SQL Server, PostgreSQL, SQLite
New features, like Batching or Shadow Properties
EF 6.x is still recommended
Folie 24