Simplifying the Code First Approach in the Entity Framework Dhananjay Kumar Infragistics Consultant Microsoft MVP

Slides:



Advertisements
Similar presentations
Introduction to NHibernate By Andrew Smith. The Basics Object Relation Mapper Maps POCOs to database tables Based on Java Hibernate. V stable Generates.
Advertisements

Entity Framework Code First Migrations
Dhananjay Microsoft MVP
Virtual techdays INDIA │ 9-11 February 2011 Entity Framework – Future of Middle Tier Design Sunil Rathi │ Technical Architect, Dell Services.
How to Write Unit Tests in C#
Session-01. Hibernate Framework ? Why we use Hibernate ?
Virtual techdays INDIA │ august 2010 Building ASP.NET applications using SQL Server Compact Chaitanya Solapurkar │ Partner Technical Consultant,
Using Third-Party Frameworks in Building Blocks™ David Ashman Principal Architect, Product Development.
Deploying Dynamics Applications Thomas Hansen – Director, appSolutions a|s
Hibernatification! Roadmap for Migrating from Plain Old SQL on JDBC to JPA on Hibernate Duke Banerjee Senior Developer, DrillingInfo.com.
Partner Network Portal Anna Jones :: July 2006 Partner Training Webinar Communications Sector.
Edwin Sarmiento Microsoft MVP – Windows Server System Senior Systems Engineer/Database Administrator Fujitsu Asia Pte Ltd
Report Management and Creation using Microsoft SQL Server 2008 Reporting Services Chris Testa-O’Neill Database Product Planner Remarc Group.
Entity Framework Code First End to End
Building Data Driven Applications Using WinRT and XAML Sergey Barskiy, Magenic Microsoft MVP – Data Platform Principal Consultant Level: Intermediate.
.NET Database Technologies: Entity Framework additional notes – part 2.
Intro to Entity Framework By Shahed Chowdhuri Don’t drown in database design during WakeUpAndCode.com.
Getting Started with the ASP.NET Web API Dhananjay Kumar Infragistics Consultant Microsoft MVP
Dali JPA Tools. About Dali Dali JPA Tools is an Eclipse Web Tools Platform sub-Project Dali 1.0 is a part of WTP 2.0 Europa coordinated release Goal -
DTS Conversion to SSIS Conversion Best Practices Mike Davis
OVERVIEW ON HOW ENTITY FRAMEWORK CODE FIRST CAN EASE THE DEVELOPMENT PROCESS Entity Framework Code First 11/19/2013 Joe Walling Copyright Walling Info.
Hibernate 3.0. What is Hibernate Hibernate is a free, open source Java package that makes it easy to work with relational databases. Hibernate makes it.
Lesson 3 Getting started and Installing Web Matrix Getting started and Installing Web Matrix.
Entity Framework Code First – Beyond the Basics Sergey Barskiy, Magenic Microsoft MVP – Data Platform Principal Consultant.
Entity Framework: Code First SoftUni Team Technical Trainers Software University
Getting started with ASP.NET MVC Dhananjay
Rahul Garg National Technology Specialist Microsoft Australia SOA303.
Data Access Layer Shahed Chowdhuri Using Code-First Migrations.
Entity Framework Code First – Beyond the Basics Sergey Barskiy, Magenic Microsoft MVP – Data Platform Magenic, Principal Consultant Level: Introductory.
JavaScript for C# developers Dhananjay Microsoft MVP
Migrating Data to SQL Azure Arunraj Chandrasekaran Twitter June 21, 2011.
How to implement the Repository Pattern in an ASP.NET MVC Application Dhananjay Kumar Developer Evangelist – Infragistics Microsoft MVP
JPA in Vaadin CSCI 3130 Winter What is JPA?  Java Persistence API  Allows for “easy” storage of Java Objects  Is a type of Object Relational.
Stuart Leitch “Code First” & DbContext.
DOMAIN DRIVEN DESIGN Dave 12 May WHAT IS DDD? Set of principles to aid in building complex systems Enables us to focus on core problem domain NOT.
BE-com.eu Brussel, 26 april 2016 EXCHANGE 2010 HYBRID (IN THE EXCHANGE 2016 WORLD)
SQL Tips & Tricks Best practices from the field John Nelson Apps Systems Engineer Steve Thompson Senior Consultant,
BI06 THE TIME IS NOW TO GET STARTED WITH MICROSOFT POWER BI James Crowter MVP, Managing Director, Technology Management Sorry downloaders but you’ll have.
UNIT TESTING IN ANGULARJS Dhananjay
ASP.NET Core* Shahed Chowdhuri Sr. Technical WakeUpAndCode.com A Quick Overview of ASP.NET Core * aka ASP.NET 5 before.
Angularjs 2.0 : Getting started
Building Complete Web Application Using ASP.NET 3.5 & Visual Studio 2008 Omar Khan Group Program Manager Visual Studio.
Microsoft Office 365 Help Desk
DevOps with ASP.NET Core and Entity Framework Core
Simplifying Objects and Inheritance in JavaScript
Lesson # 9 HP UCMDB 8.0 Essentials
EF Code First (Advanced)
Entity Framework: Code First
Supporting Windows 8.1 Krystle Portocarrero | Training Experts Inc.
Data Virtualization Demoette… ADO.NET Client
Chris Menegay Sr. Consultant TECHSYS Business Solutions
Enterprise Library Overview
Entity Framework By: Casey Griffin.
Entity Framework 4 and WCF Data Services 4
Entity Framework Core*
Step by Step - AngularJS
Dell Data Protection | Rapid Recovery: Simple, Quick, Configurable, and Affordable Cloud-Based Backup, Retention, and Archiving Powered by Microsoft Azure.
A Quick Overview of ASP.NET Core 1.0
Entity Framework Code-First Migrations
IT College 2016, Andres käver
C# - EF Core IT College, Andres Käver, , Fall semester
Developing and testing enterprise Java applications
Microsoft Office System UK Developers Conference
Angular 2 : CRUD Operations
Visual Studio + SQL Server Is Better
REST Easy - Instant APIs for Your Database
Windows Forms in Visual Studio 2005: An in-depth look at key features
Introduction to ASP.NET Parts 1 & 2
CRM Users List
SQL Azure to .NET Developers
Presentation transcript:

Simplifying the Code First Approach in the Entity Framework Dhananjay Kumar Infragistics Consultant Microsoft MVP

Host : Dhananjay Kumar  Infragistics Consultant  6 times Microsoft MVP  Blog : 

Agenda About Code First Approach Create first database Managing connection strings Data Annotations and Fluent API Relationship between entities using the Annotations Database creation strategies Database initialization and seed methods Enabling migrations Update database

Code First approach Database modelling Database first approach Code first approach DB Database first approach Code First approach DB

Code First approach Database gets created from the domain entities First we model entities and relationship in classes and then database gets created from that Very useful for domain driven development Easy for database migration and seeding.

Code First approach Develop without ever having to open a designer or define an XML mapping file Define your model objects by simply writing “plain old classes” with no base classes required Use a “convention over configuration” approach that enables database persistence without explicitly configuring anything Optionally override the convention-based persistence and use a fluent code API to fully customize the persistence mapping

Summary About Code First Approach Create first database Managing connection strings Data Annotations and Fluent API Relationship between entities using the Annotations Database creation strategies Database initialization and seed methods Enabling migrations Update database

What Infragistics can offer you? We welcome all of you to take advantage of a FREE 30 Day Trial by downloading the product at: Please reach out to us at for any follow up questions you may have. We welcome the opportunity to assist