Entity Framework MIS 324 MIS 324 Professor Sandvig Professor Sandvig.

Slides:



Advertisements
Similar presentations
Language Integrated Query (LINQ) Martin Parry Developer & Platform Group Microsoft Ltd
Advertisements

Michael Pizzo Software Architect Data Programmability Microsoft Corporation.
.NET 3.5 – Mysteries. NetFx Evolution NetFx 1.0 C# 1.0, VB 7.0, VS.NET NetFx 1.1 C# 1.1, VB 7.1, VS 2003 NetFx 2.0 C# 2.0, VB 8.0, VS 2005 NetFx 3.0 C#
Chapter 10 Database Applications Copyright © 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved. McGraw-Hill.
Collections Create and organize your own privet and public collections.
Stored Procedures & User Defined Functions MacDonald Ch. 23 MIS 424 MIS 424 Professor Sandvig Professor Sandvig.
Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft Ltd
What’s new in ASP.NET 3.5? Mike Ormond Developer & Platform Group Microsoft Ltd
Some Introductory Programming 1. Structured Query Language - used for queries. - a standard database product. 2. Visual Basic for Applications - use of.
René Balzano Technology Solution Professional Data Platform Microsoft Switzerland Database Development with SQL Server Data Tools (SSDT)
A tour of new features introducing LINQ. Agenda of LINQ Presentation We have features for every step of the way LINQ Fundamentals Anonymous Functions/Lambda.
Discover, Master, InfluenceSlide 1 SQL Server Compact Edition and the Entity Framework Rob Sanders Readify.
SQL Server 2008 Basmah AlQadheeb-213 MIS What is a Database ? A database is a collection of Data that is organized so that it can easily be accessed,
Overview of Database Access in.Net Josh Bowen CIS 764-FS2008.
Sql Server Advanced Features MIS 424 Professor Sandvig.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Some Basic Database Terminology
 Introduction  What is LINQ  Syntax  How to Query  Example Program.
Introduction to ASP.NET MIS 324 Professor Sandvig.
What’s Next? MIS 314 Professor Sandvig. Outline  What’s Next? ISC tracks ISC tracks E-commerce developer track E-commerce developer track MIS Intermediate.
Chapter 15: Using LINQ to Access Data in C# Programs.
Overview of Data Access MacDonald Ch. 15 MIS 324 Professor Sandvig.
Demo Slides to explain major points Questions are welcome whenever! Hands on code.
Entity Framework Overview. Entity Framework A set of technologies in ADO.NET that support the development of data-oriented software applications A component.
Introduction to LINQ Lecture # 19 August Introduction How do you interrogate/manipulate data? What if you could do the work in a type-safe," string-free.
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.
Pradeep S Pushpendra Singh Consultants, Neudesic Technologies, Hyderabad, India.
C# AND ASP.NET What will I do in this course?. MAJOR TOPICS Learn to program in the C# language with the Visual Studio IDE (Interactive Development Environment)
Introduction to LINQ Chapter 11. Introduction Large amounts of data are often stored in a database—an organized collection of data. A database management.
Oct * Brad Tutterow. VS 2008.NET 3.5LINQ Entity Framework  The ADO.NET Entity Framework is part of Microsoft’s next generation of.NET technologies.
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.
Lecture 1: IDE - Integrated Development Environment.NET Framework Visual Studio 2010.NET Solution Explorer Properties Window.
Language Integrated Query (LINQ). Data Access Programming Challenges Developers must learn data store-specific query syntax Multiple, disparate data stores.
What’s Next? MIS 314 Mr. David Auer. Outline  What’s Next? ISC tracks ISC tracks E-commerce developer track E-commerce developer track MIS Intermediate.
Database and Information Management Chapter 9 – Computers: Understanding Technology, 3 rd edition.
Database Projects in Visual Studio Improving Reliability & Productivity.
Database Connectivity with ASP.NET. 2 Introduction Web pages commonly used to: –Gather information stored on a Web server database Most server-side scripting.
Microsoft Data Stack smackdown! Mike
LINQ Language Integrated Query LINQ1. LINQ: Why and what? Problem Many data sources: Relational databases, XML, in-memory data structures, objects, etc.
Visual Basic 2010 How to Program © by Pearson Education, Inc. All Rights Reserved.
The Jukebox is a.NET web application that plays streaming music files to it’s clients according to their favorites musical genres. Clients can rate the.
Chapter 11.  Large amounts of data are often stored in a database—an organized collection of data.  A database management system (DBMS) provides mechanisms.
IFS180 Intro. to Data Management Chapter 10 - Unions.
LINQ for SQL SQL Saturday May 2009 David Fekke.
LiNQ SQL Saturday David Fekke.
Overview of Data Access
LINQ to DATABASE-2.
Fundamentals of Information Systems
Overview of Data Access
SQL Server Data Tools Gert Drapers
MIS Professor Sandvig MIS 324 Professor Sandvig
Introduction to LINQ Chapter 11 10/28/2015 Lect 4 CT1411.
Language Integrated Query (LINQ)
MIS Professor Sandvig MIS 324 Professor Sandvig
Introduction to LINQ Chapter 11.
Language Integrated Query (LINQ)
Advances for Data in VS “Orcas”
Advances for Data in VS “Orcas”
MIS Professor Sandvig MIS 324 Professor Sandvig
Microsoft Build /27/2019 2:26 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Databases Continued 10/18/05.
Visual Studio + SQL Server Is Better
ADO.NET Entity Framework
Database SQL.
LINQ to SQL Part 3.
Visual Studio 2008.
Entity Framework & LINQ (Language Integrated Query)
.NET Framework V3.5+ & RESTful web services
CS4540 Special Topics in Web Development Course Overview
MIS Professor Sandvig MIS 324 Professor Sandvig
Presentation transcript:

Entity Framework MIS 324 MIS 324 Professor Sandvig Professor Sandvig

Outline  What is Entity Framework  Benefits  Drawbacks  Example

What is Entity Framework  Microsoft’s newest data access technology  Visual Studio: Examines database Examines database Creates objects that represent data schema Creates objects that represent data schema  LINQ (Language Integrated Query) Replaces SQL Replaces SQL Select, sort, filter, etc. Select, sort, filter, etc.

Benefits  Eliminates disconnect between code & database No sql statements in code No sql statements in code  Use intellisense to write query  LINQ works on all data collections Arrays, lists, dataviews, etc. Arrays, lists, dataviews, etc.

Drawbacks  Microsoft propriety technology  LINQ query syntax different than SQL Better in many ways Better in many ways  Synchronization between database and entity objects Change database Change database Rebuild entity objects Rebuild entity objects

Creating Model

Note: Relationships should be defined in database

Linq

Output  Music Store Example Example