Entity Framework from a database perspective

Slides:



Advertisements
Similar presentations
Yukon – What is New Rajesh Gala. Yukon – What is new.NET Framework Programming Data Types Exception Handling Batches Databases Database Engine Administration.
Advertisements


Big Data Working with Terabytes in SQL Server Andrew Novick
Meanwhile RAM cost continues to drop Moore’s Law on total CPU processing power holds but in parallel processing… CPU clock rate stalled… Because.
Jaap Wesselius May 27, 2009 Exchange Server 2010 what’s new?
Tempdb Parasites Jason Hall-Dir. of Client SQL Sentry Blog-jasonhall.blogs.sqlsentry.net.
Gavin Payne Oracle for SQL Server DBAs. Why Oracle? Installation Physical Storage Backup and Recovery 20 slides in 50 minutes Inside the database Programmability.
Discover, Master, InfluenceSlide 1 SQL Server Compact Edition and the Entity Framework Rob Sanders Readify.
Entity Framework Code First End to End
Database Design for DNN Developers Sebastian Leupold.
Some key-value stores using log-structure Zhichao Liang LevelDB Riak.
Oracle9i Performance Tuning Chapter 1 Performance Tuning Overview.
DEV-05: Ratcheting up your OpenEdge™ Development Productivity Sunil S Belgaonkar Principal Software Engineer.
Understanding SQL Server 2008 Change Data Capture Bret Stateham Training Manager Vortex Learning Solutions blogs.netconnex.com.
SQL Basics Review Reviewing what we’ve learned so far…….
Session Name Pelin ATICI SQL Premier Field Engineer.
ROLLING DATABASE SNAPSHOTS David Cobb Daveslog.com.
Use Cases for In-Memory OLTP Warner Chaves SQL MCM / MVP SQLTurbo.com Pythian.com.
Memory-Optimized Tables Querying at the speed of light.
Top 10 Entity Framework Features Every Developer Should Know
FileTables Sam Nasr, MCAD, MCTS, MVP NIS Technologies
Securing SQL Server Processes with Certificates
5/15/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
- for the SSASMD Developer
UFC #1433 In-Memory tables 2014 vs 2016
FileTables By Sam Nasr, MCAD, MCT, MCTS NIS October 6, 2012
Using FileTables Sam Nasr, MCSA, MCT, MVP NIS Technologies
Did your feature got in, out or planned?
Entity Framework By: Casey Griffin.
Using FileTables Sam Nasr, MCAD, MCTS, MVP NIS Technologies
SQL Server Integration Services
Microsoft Virtual Academy
Simplifying XEvents Management with dbatools
SQL Server May Let You Do It, But it Doesn’t Mean You Should
…and web frameworks in general
SQL Server Master Data Services
ADO.NEXT Advances in Data Access for 2008
The Vocabulary of Performance Tuning
Please support our sponsors
Microsoft Build /15/2018 6:28 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
In-Memory OLTP (IMOLTP) What Can It Do For Me?
SQL 2014 In-Memory OLTP What, Why, and How
Entity Framework Core.
Welcome to SQL Saturday Denmark
Visual Studio Database Tools (aka SQL Server Data Tools)
TEMPDB – INTERNALS AND USAGE
Entity Framework Core (EF Core)
The 5 Hidden Performance Gems
Please thank our sponsors!
Introduction to Object-Relational Mapping for DBAs
Transact SQL Performance Tips
In Memory OLTP Not Just for OLTP.
Designing Complex Tabular Models
Stretch Database - Historical data storage in SQL Server 2016
It’s TEMPDB Why Should You Care?
The Vocabulary of Performance Tuning
Database hidden disasters…
Transaction Log Internals and Performance David M Maxwell
Summit Nashville /3/2019 1:48 AM
…and web frameworks in general
Get More Than CRUD From Your ORM
In Memory OLTP Not Just for OLTP.
Implementing Entity Framework with MVC Jump Start
Summit Nashville /26/2019 4:32 AM
Bob Duffy 22 years in database sector, 250+ projects
The Vocabulary of Performance Tuning
Why should I care about SQL, if I have ORM?
Mark Quirk Head of Technology Developer & Platform Group
Blazor A new framework for browser-based .NET apps Ryan Nowak
Accelerated DATABASE RECOVERY
Presentation transcript:

Entity Framework from a database perspective Mattias Lind, MCT & MVP Data Platform

First session I know it’s really early on a Saturday morning, but the great thing is that we have a full day ahead. If it’s been a Sunday morning, the logo in the bottom, right corner would have been wrong. It’s really awesome to have SQL Saturday today, and I’m looking forward to this. Did you know there’s another SQL Saturday today as well, in Johannesburg, South Africa. Anyway, I’m really happy being here and I hope you are excited about all the good content we have here today. I have already planned for what sessions I’m heading to after this session. So I guess we should get started. Have you been reading this slide? This slide is intentionally not left blank. If you have been reading this far, please giggle a bit. If you hear someone giggle before you, giggle harder. When all of you are laughing I’m changing the slide. If you still not laughing you probably think this slide is silly, and it is!

Without Our sponsors we wouldn’t be here!

Thank you Sponsors!

Mattias Lind A bit about me... @SoQooL mattias.lind@sogeti.se blog.mssqlserver.se Agenda Entity Framework Database Design Demo Sogeti * 2014 MVP * 2011 MCT * 2001 SQL * 1995 IT * 1992 BASIC * 1982 Birth * 1972

Entity Framework ORM for .Net Entities, Attributes, Relationships Currently 6.1.3 EF Core Complete rebuild Still beta (I hope so anyways...) Huge backlog Looks promising https://github.com/aspnet/EntityFramework/wiki/Roadmap Library Package Manager Console Install-Package EntityFramework

Entity Framework Two layers Model Object

Entity Framework The Model Layer Conceptual Logical Model Physical Database Schema Mapping between Logical and Physical

Entity Framework The Object Layer Run queries against the conceptual model. Materialize data as objects. Track changes to the objects. Propagate changes to the data source. Bind objects to controls.

Entity Framework Methodology Database First Model First Code First

Reality check! Developers tend to like Code First DBAs tend to like Database First Architects tend to like Model First

Just a small commercial break! Give the sponsors an applause!

Demo MVC ASP.Net with C# in VS2015 Code First Add data types and procedures

SQL Server Relational Database Management System Latest version 2016 Awesome features In-Memory OLTP

Physical Database Data file Filegroup Log file Rows Pages Extents Transactions Checkpoints

Logical Objects Database Schema Table Index View Function Procedure Trigger

Database Modelling/Design Logical/Physical model Normalization/Generalization/Denormalization Symmetric/Predictable Performance enabling Security enhancing

In-Memory OLTP Introduced in SQL Server 2014 Enterprise Row store, no pages Persisting/Non-persisting Based on FileStream No locking/Versioning Indexes only in RAM Fast, faster, fastest Natively compiled Transparent, (almost) no change in code

Common Sense Need Future Benefits Challenges

Demo MVC ASP.Net with C# in VS2015 Code First Add data types and procedures Remodel the database To disk based tables To In-Memory OLTP with natively stored procedures (If time permits we can do this live!)

Conclusion Entity Framework adds possibilities A full abstraction layer should also consist of supporting database objects Procedures, views and functions are still cool In-Memory OLTP can add extreme performance possibilities Use common sense

Mattias Lind Thank YOU... Stay in touch... @SoQooL mattias.lind@sogeti.se blog.mssqlserver.se or just google -> Mattias SQL Sogeti * 2014 MVP * 2011 MCT * 2001 SQL * 1995 IT * 1992 BASIC * 1982 Birth * 1972 Thank YOU...

Session Evaluations Sponsor Raffles After Party Don't forget…  Session Evaluations Sponsor Raffles After Party

Thank you to our sponsors!

Mattias Lind Thank YOU... Stay in touch... @SoQooL mattias.lind@sogeti.se blog.mssqlserver.se or just google -> Mattias SQL Sogeti * 2014 MVP * 2011 MCT * 2001 SQL * 1995 IT * 1992 BASIC * 1982 Birth * 1972 Thank YOU...