Introduction to Object-Relational Mapping for DBAs

Slides:



Advertisements
Similar presentations
Object Relational Mapping – ORM Entity Framework
Advertisements

Shyam Pather Development Manager Microsoft Session Code: DTL402.
Object Relational Mapping A to Z. About Me Over A Decade of I.T. Experience Web Developer, DBA, DevOps, Mobile Microsoft Cert. in SQL Server Twitter:
Hibernate 1. Introduction ORM goal: Take advantage of the things SQL databases do well, without leaving the Java language of objects and classes. ORM.
Session-01. Hibernate Framework ? Why we use Hibernate ?
Tutorial -01. Objective In this session we will discuss about : 1.What is MVC? 2.Why MVC? 3.Advantages of MVC over ASP.NET 4.ASP.NET development models.
Hibernatification! Roadmap for Migrating from Plain Old SQL on JDBC to JPA on Hibernate Duke Banerjee Senior Developer, DrillingInfo.com.
Entity Framework Code First End to End
By: Blake Peters.  OODB- Object Oriented Database  An OODB is a database management system in which information is represented in the form of objects.
1 Hammad Khan. COURSE CONTENTS.NET Framework And C# SQL Server 2008 ADO.NET LINQ ASP.NET Dynamics Data ASP.NET MVC framework 2 Advance C# Concepts Windows.
Information System Development Courses Figure: ISD Course Structure.
OR Mapping Object relational mapping (ORM, O/RM, and O/R mapping)
(1) Introduction to Models using the Play Framework Philip Johnson Collaborative Software Development Laboratory Information and Computer Sciences University.
Programming in R SQL in R. Running SQL in R In this session I will show you how to: Run basic SQL commands within R.
EntityFrame work and LINQ CH 14. linq LINQ enables you to query data from a wide variety of data sources, directly from your programming code. LINQ is.
Alternative Architectures: Inversion of Control Mike Hadlow mikehadlow.blogspot.com.
JPA / HIBERNATE CSCI 6370 Nilayan Bhattacharya Sanket Sable.
22-July-2002cse142-13B-Development © 2002 University of Washington1 Development Tools CSE 142, Summer 2002 Computer Programming 1
Introduction to ORM Hibernate Hibernate vs JDBC. May 12, 2011 INTRODUCTION TO ORM ORM is a programming technique for converting data between relational.
By Shantanu Narang CS 157b. Relational Model  Object Model Object Oriented Databases(OOD) Object Query Language(OQL) OOD pros and cons.
Submitted by: Moran Mishan. Instructed by: Osnat (Ossi) Mokryn, Dr.
Building Complete Web Application Using ASP.NET 3.5 & Visual Studio 2008 Omar Khan Group Program Manager Visual Studio.
A deep dive into Azure AD B2C
Introduction to .NET Florin Olariu
Data Persistence In A Web Hosted World
Lesson 10: Dictionaries Topic: Introduction to Programming, Zybook Ch 9, P4E Ch 9. Slides on website.
A very brief introduction
Solving the Hard Problems
Reading execution plans successfully
Entity Framework By: Casey Griffin.
Entity Framework Core for Enterprise Applications
Lexington PASS Kickoff
CO6025 Advanced Programming
Please Support Our Sponsors
Microsoft Virtual Academy
Four Rules For Columnstore Query Performance
DevOps Database Administration
Troubleshooting Service Broker
DevOps – Desired State Configuration –
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,
DevOps Database Administration
Making PowerShell Useful
It’s About Time : Temporal Table Support in SQL Server 2016/2017
Transforming Your Brain with SQL 2017 on Linux
ORMs and the DBA How to Make Both Happy.
Speaker Social Media Cards
SSIS Project Deployment: The T-SQL Way
The Mac DBA, using Docker and SQL Operations Studio
Entity Framework Core (EF Core)
Entity Framework from a database perspective
Microsoft Azure for SQL Server Professionals
ORMs and the DBA How to Make Both Happy.
PowerShell for the DBA: Why I love my inner pig-dog
Please support our sponsors
Please Support our Sponsors
ORMs and the DBA How to Make Both Happy.
Introduction to Computer Science
Entity Framework Code-First Migrations
IT College 2016, Andres käver
Entity Framework Core for Enterprise Applications
Power Query Tips & Tricks
Mario…Take My Data To The Cloud!
Azure DocumentDB Ryan CrawCour Senior Program Manager.
SQLOpsStudio Vs SSMS - There can be only one
Databases and the MVC Model
Summit Nashville /26/2019 4:32 AM
How To Load A Fact Table Really, Really Fast
Do-It-Yourself Performance Monitoring
Learn Like Your Life Depends On It
Presentation transcript:

Introduction to Object-Relational Mapping for DBAs Christopher Cumming Saturday Morning Productions Introduction to Object-Relational Mapping for DBAs

SQL Summit Annual International Conference November 6 -9 | Seattle, WA 2 Days of Pre-Cons 200+ sessions over 3 days Over 5,000 SQL Professionals Evening Networking Activities

Please Support Our Sponsors

Let’s Not Distract Others Please silent your phone We can chat later Please don’t snore

Slides and Example Code https://github.com/saturdaymp/IntroductionToORMForDBAs

Who am I? (i.e. Shamless Self Promotion) Saturday Morning Productions Owner/Consultant http://saturdaymp.com chris.cumming@satudaymp.com Edmonton .NET Users Group Program Director http://edmug.net info@edmug.net

What is Object-Relational Mapping? Wikipedia Definition Object-relational mapping (ORM, O/RM, and O/R mapping tool) in computer science is a programming technique for converting data between incompatible type systems using object-oriented programming languages. This creates, in effect, a "virtual object database" that can be used from within the programming language. There are both free and commercial packages available that perform object-relational mapping, although some programmers opt to construct their own ORM tools. My Definition Map relational data to objects.

What is an Object? An object is an instance of a class. What is a Class? Defines the initial state of an object and it’s behaviours.

Example of a Class public class Car { public Color ExternalColor { get; set; } public Sound HornSound { get; set; } public Current Speed { get; } public void HonkHorn(Time timeToHonk); public void PushPedal(Force forceOnPedel); }

Save Often

DRY – Don’t Repeat Yourself Good developers are like good DBAs. We don’t like to repeat ourselves.

What is Covered in the Demo? Code First Migrations Convention over Configuration Lazy Loading vs Eagar Loading Unit of Work Complex Queries

Learn More Slides and Example Code https://github.com/saturdaymp/IntroductionToORMForDBAs ASP.NET Core MVC with Entity Framework Tutorial https://docs.microsoft.com/en-us/aspnet/core/data/ef-mvc/intro?view=aspnetcore-2.0 Contact Me: chris.cumming@saturdaymp.com @saturdaymp