Getting Started with Entity Framework 4.0 Screencast Recorded session from Cairo Code Camp - Part 6

by mosessaur| 26 September 2011| 0 Comments

About Part 6

6th part is about 12 min in length. Covers Entity SQL, LINQ to Entities and EF4 new feature of using database built in functions & user defined functions UDF. And how to use them with LINQ to Entities.

More...

Book Review: Programming Entity Framework, Second Edition

by mosessaur| 02 January 2011| 0 Comments

About the book

Title: Programming Entity Framework 2nd Edition
Publisher: O'Reilly Media
URL: http://oreilly.com/catalog/9780596807252
Book website: http://learnentityframework.com/
ISBN: 978-0-596-80726-9
Chapters: 27 + 3 Appendices | ~900 pages
Author:
Author’s blog: http://thedatafarm.com/blog/
Overall rating: 9.70 out of 10
This is the second edition of the book totally revised for Entity Framework 4.0 on VS2010 1st edition was released Jan 2009. this 2nd new edition released August 2010.

Personal Opinion

I can’t do anything but strongly recommend this book. It is almost everything you might need about Entity Framework 4.0. Great walkthroughs and samples in C#. However there are few snippet in VB.Net that shows different syntax of doing things between C# & VB.Net.

More...

Book Review: Microsoft Entity Framework in Action

by mosessaur| 11 October 2010| 0 Comments

About the book

Title: Microsoft Entity Framework in Action
Publisher: Manning Publications
Url: http://www.manning.com/mostarda/
ISBN: 9781935182184
Chapters: 19 + 2 Appendices | ~500 pages
Authors: Stefano Mostarda, Marco De Sanctis, Daniele Bochicchio
Overall rating: 9.24 out of 10

This book was in Manning Early Access Program (MEAP) while writing this review. I reviewed a draft released on 12th August 2010. This is a detailed review where I rate each chapter and describe it’s contents. The overall rating mentioned above is the average of all chapters’ ratings.

Personal Opinion

I highly recommend this book. No further knowledge about Entity Framework is required. So you don’t have to know anything about EF1 in order to read and gain benefit of this book. Great effort spent on this book by the authors and the publisher. You’ll get a great value with reasonable amount of money compared to the information provided in this book.

More...

Getting Started with Entity Framework 4.0 Screencast Recorded session from Cairo Code Camp - Part 5

by mosessaur| 24 September 2010| 0 Comments

About Part 5

Fifth part is about 9:45 min in length. Part 5. Covers EDM -Entity Data Model- showing its elements (SSDL, CSDL & MSL). Also this screencast shows how to query your conceptual model using LINQ to Entities.

More...

Getting Started with Entity Framework 4.0 Screencast Recorded session from Cairo Code Camp - Part 4

by mosessaur| 07 August 2010| 0 Comments

About Part 4

Fourth part is about 10 min in length. Covers how to implement table per hierarchy inheritance model (TPH) with Entity Framework 4.0

More...

Getting Started with Entity Framework 4.0 Screencast Recorded session from Cairo Code Camp - Part 3

by mosessaur| 10 July 2010| 0 Comments

About Part 3

Third part is about 8:20 min in length. Covers how to use stored procedures with EF4 to do CRUD operations on the database. The demo shows how to do mapping to existing stored procedures. The Demo also shows how to use IntilleTrace to view executed statements made by EF object services.

More...

Getting Started with Entity Framework 4.0 Screencast Recorded session from Cairo Code Camp - Part 2

by mosessaur| 18 June 2010| 0 Comments

About Part 2

Second part is about 6:30 min in length. Covers Object Services and how to do CRUD operations using EF 4.0 object services. The demo explores EF change tracking capabilities. The demo also shows how to map return result of a stored procedure to existing entity in your EDM.

More...

Getting Started with Entity Framework 4.0 Screencast Recorded session from Cairo Code Camp - Part 1

by mosessaur| 15 June 2010| 2 Comments

Introduction

I finally decided not to wait till I finish the whole recording which it seems is going to take some good time. And so I started to split this recording session/screencast into multiple parts and post them.

About Part 1

First part is about 10 min in length. And is an introduction to Entity Framework 4.0 with brief about its short history. This part also include a demo about new vs2010 designer enhancements for EF4. Also the screencast shows how to do a refactor to complex type using EDM designer.

More...

Mapping Conceptual Model Function to Complex Type in Entity Framework 4.0

by mosessaur| 07 April 2010| 2 Comments

Introduction

You might hear of KiGG, the open source project that is currently live as http://dotnetshoutout.com. I wanted to expose part of KiGG data as an OData Service for read only. But I figured out that exposing raw KiGG schema might not be useful. So I had to choose between 2 options that were up to my mind:

  • Build some views on the physical store -database-. Create a new entity data model for those views and use the new data model context for DataServiceContext.
  • Use Entity Framework 4.0 conceptual model function feature with complex types to simulate views. It’s like building views on the conceptual model itself and not the store model.

I picked the 2nd option. The sample downloadable sample is available at the end of this post.

More...

Getting Started with Entity Framework 4.0 – Session given at Cairo CodeCamp 2010

by mosessaur| 05 March 2010| 0 Comments

At the end of last month (27-28 Feb 2010) I got the opportunity to participate in Cairo CodeCamp event by giving a session about “Getting Started with Entity Framework 4.0”.

Here is summary of my session –taken from Cairo CodeCamp web site-:

An introduction to Entity Framework 4.0 that will be shipped as part of .Net 4.0 and VS.Net 2010. Exploring new and enhanced features of Entity Framework 4.0. Walking through building entity data model using VS.Net 2010 and Entity Framework 4.0. Examining new design features in Entity Framework introducing Persistence Ignorance.

I uploaded my session and demos. You can download them now. I hope you’ll enjoy the demos and presentation. Click here to download.

All sessions should be posted soon to Cairo CodeCamp web site. Keep tracked for updates.

I have a plan to record my session as screen cast in English and post it here as well. But can’t promise when this will be as I have many other things I committed to recently.

Keep tuned anyway you might find interesting stuff posted soon.