ADO.NET Entity Framework

Slides:



Advertisements
Similar presentations
Satisfy Your Technical Curiosity ADO.NET vNext The Entity Data Model, Object Services, and LINQ Bob Beauchemin Director of Developer Resources, SQLskills.
Advertisements

.NET 3.5 SP1 New features Enhancements Visual Studio 2008 SP1 New features Enhancements Additional features/enhancements.
Michael Pizzo Software Architect Data Programmability Microsoft Corporation.
Building Enterprise Applications Using Visual Studio ®.NET Enterprise Architect.
.NET Framework V3.5+ & RESTful web services Mike Taulty Developer & Platform Group Microsoft Ltd
Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft Ltd
The Microsoft Technical Roadshow 2007 Advances for Data in VS “Orcas” Mike Taulty Developer & Platform Group Microsoft Ltd
What’s new in ASP.NET 3.5? Mike Ormond Developer & Platform Group Microsoft Ltd
Design & Development Tools: Visual Studio 2005 SQL Server 2005 Biztalk Server 2006 David Gristwood, Mike Taulty Developer & Platform Group Microsoft Ltd.
Graeme Scott – Technology Solution Professional Reduce Infrastructure Costs & Increase Productivity with SQL Server 2008.
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.
Introduction to ADO Entity Framework ir Denis VOITURON Source:
Powerful, modern desktops enable next generation applications Hardware acceleration brings real-time lighting, texturing and rendering Visual.
LINQ Boot Camp ADO.Net Entity Framework Presenter : Date : Mahesh Moily Nov 26, 2009.
Entity Framework, a quickstart Florin−Tudor Cristea, Microsoft Student Partner.
Microsoft Dynamics AX 2009 Integration and Development with the.NET Framework Introduction to the Course.
Developing Reporting Solutions with SQL Server
Entity Framework Overview. Entity Framework A set of technologies in ADO.NET that support the development of data-oriented software applications A component.
Ronnie Saurenmann Principal Architect Microsoft Switzerland.
ADO.NET Entity Framework Mike Taulty Developer & Platform Group Microsoft Ltd
Lap Around Visual Studio 2008 &.NET 3.5 Enhancements.
James Akrigg Microsoft Ltd Integrating InfoPath Forms Into Workflow Solutions And Business Processes.
Microsoft Dynamics NAV 2009 and Architecture Overview Name Title Microsoft Corporation.
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.
Language Integrated Query (LINQ). Data Access Programming Challenges Developers must learn data store-specific query syntax Multiple, disparate data stores.
ADO.NET 3.0 – Entity Data Model Gert E.R. Drapers Chief Software Architect Visual Studio Team Edition for Database Professionals Microsoft Corporation.
Language Integrated Query Mike Taulty Developer & Platform Group Microsoft Ltd
2 Behind every great site, there is great data Eric Nelson Developer Evangelist Microsoft UK
Pulling Data into the Model. Agenda Overview BI Development Studio Integration Services Solutions Integration Services Packages DTS to SSIS.
DEV291 Microsoft CRM Jason Hunt Technical Product Manager.
Building Enterprise Applications Using Visual Studio®
Introduction to Entity framework
Part 1: Overview of LINQ Intro to LINQ Presenter: PhuongNQK.
Chris Menegay Sr. Consultant TECHSYS Business Solutions
Visual C# 2005: IDE Enhancements
Avalon – Using Data In Your Applications
Visual Studio Tools for Office 2005
2007 Office System Integration
Searching Business Data with MOSS 2007 Enterprise Search
Entity Framework 4 and WCF Data Services 4
ADO.NET Entity Framework Marcus Tillett
ADO.NET Entity Framework
Searching Business Data with MOSS 2007 Enterprise Search
ADO.NEXT Advances in Data Access for 2008
Matt Masson Software Development Engineer Microsoft Corporation
.NET Database Technologies:
Entity Framework Core.
SharePoint data access and LINQ to SharePoint
Language Integrated Query (LINQ)
Data Driven ASP.NET Web Forms Applications Deep Dive
Tech Ed North America /1/ :36 AM Required Slide
Microsoft Dynamics.
Project Management in SharePoint
Visual Studio 2005 Tools For Office: Creating A Multi-tier Application
Pablo Castro Software Architect Microsoft Corporation
2010 Microsoft BI Conference
Project Management in SharePoint
Microsoft Build /27/2019 2:26 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Introduction to VSTS Database Professional
Microsoft Office System UK Developers Conference
4/20/ :00 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
DEV322 Visual Studio 2005 C# IDE Enhancements
5/25/2019 2:40 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Visual Studio 2008.
Entity Framework & LINQ (Language Integrated Query)
Windows Forms in Visual Studio 2005: An in-depth look at key features
Introduction to ASP.NET Parts 1 & 2
.NET Framework V3.5+ & RESTful web services
Visual Studio 2005 IDE Features
Presentation transcript:

ADO.NET Entity Framework © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

ADO.NET Entity Framework An Adaptive Framework An Extensible Framework Agenda ADO.NET Entity Framework An Adaptive Framework An Extensible Framework An Evolutionary Framework © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

ADO.NET Entity Framework Today’s Challenges Developers need to understand the logical database schema in order to program against it Logical Database Schema Developers need to know multiple languages and dialects to program against disparate data sources Disparate Data Sources Developers need to write complex code to work with business object whose data is spread across many tables and rows Normalized Data © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

ADO.NET Entity Framework Solutions Developers can use the Entity Data Model to transform relational data into conceptual entities Entity Data Model Developers can use LINQ and Entity SQL to write data access code in a .NET programming language LINQ and Entity SQL Developers can work with entities instead of tables and rows to simplify data access code Entities © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

ADO.NET Entity Framework An Adaptive Framework An Extensible Framework Agenda ADO.NET Entity Framework An Adaptive Framework An Extensible Framework An Evolutionary Framework © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

An Adaptive Framework Work with Conceptual Business Objects Map tables in the data source to entities in the conceptual model dbo.CustomerDetails dbo.Customer Customer Map multiple tables to a single entity and map many-to-many relationships Use complex types to represent related objects © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

An Adaptive Framework Use Inheritance with Data Conceptual model that supports inheritance Developers are familiar with inheritance The ADO.NET Entity Framework brings inheritance to the conceptual model The ADO.NET Entity Framework supports three types of inheritance Table per hierarchy Table per subclass Table per concrete type © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

An Adaptive Framework Customize Client Views Use an Entity SQL WHERE clause to return a subset of the data Use a DefiningQuery to specify the required data using the native query language Customize the automatically generated client views to meet your business requirements SELECT P FROM AW.Production.Product AS P WHERE p.ProductCategory.Name = 'Road Bikes' <EntitySet Name="Product" EntityType="AW.Product"> <DefiningQuery> SELECT p.Name, p.ProductNumber, p.ReorderPoint FROM Product as p WHERE p.DaysToManufacture > 1 </DefiningQuery> </EntitySet> © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

ADO.NET Entity Framework An Adaptive Framework An Extensible Framework Agenda ADO.NET Entity Framework An Adaptive Framework An Extensible Framework An Evolutionary Framework © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

An Extensible Framework Customize Modeling Files Use a schema-aware XML editor to add metadata or modify properties in the automatically generated modeling and mapping files CSDL <FunctionImport Name="GetOrderDetails" EntitySet="SalesOrderDetail" ReturnType="Collection(AdventureWorksModel.SalesOrderDetail)"> <Parameter Name="SalesOrderHeaderId" Type="Int32" Mode="in"> </Parameter> </FunctionImport> MSL <FunctionImportMapping FunctionImportName="GetOrderDetails" FunctionName="AdventureWorksModel.Store.GetOrderDetails"/> © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

An Extensible Framework Customize Generated Code Add business logic to data access code Extend the partial classes that the tools generate Create custom implementations of the partial classes’ base interfaces [Serializable()] public partial class Customers : Cust { // autogenerated code } [Serializable()] public partial class Customers : Cust { // your code } © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

ADO.NET Entity Framework An Adaptive Framework An Extensible Framework Agenda ADO.NET Entity Framework An Adaptive Framework An Extensible Framework An Evolutionary Framework © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

An Evolutionary Framework Visual Studio 2008 Tools Microsoft® Visual Studio® 2008 provides Entity Framework Tools to work with models and mappings Entity Designer to generate and validate models Entity Mapping Tool to define entities and associations Entity Model Browser to visualize the model

An Evolutionary Framework Familiar Data Provider Functionality Continue to use the ADO.NET data provider model Use the EntityClient data provider to query against conceptual models

An Evolutionary Framework Write Better Code By using LINQ or Entity SQL Query and return results as strongly typed CLR data objects IntelliSense supports strongly typed objects Use IntelliSense® LINQ var newPeople = from p in aw.SalesPeople where p.HireDate > hireDate select p; foreach(SalesPerson p in newPeople) { Console.WriteLine("{0}\t{1}", p.FirstName, p.LastName); }

An Evolutionary Framework Simplify Maintenance When using entities, schema changes do not always result in changes to the application code Upgrade to more powerful editions of SQL Server™ with minimal changes to code

Adaptive Extensible Evolutionary Summary Map tables to entities Map many-to-many relationships Use inheritance Build custom data views Adaptive Customize modeling files Customize generated code Extensible Simplify modeling and mapping Use new functionality in a familiar way Write better code Simplify application maintenance Evolutionary

© 2004 Microsoft Corporation. All rights reserved. 5/14/2019 7:36 AM This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.