Browse by Tags
All Tags »
Entity Framework (
RSS)
Wow, a conference that lasts 8 days, that a first. So here’s the gist of what I taught in 5 of these days: What’s new in WCF 4.5 In this 1-hour session I covered some of the important new features of WCF 4.5, such as Intellisense for configuration, UDP and WebSockets bindings, and improved support for streaming and compression. Debugging the Web with Fiddler In this 1-day tutorial we saw how to use Fiddler to debug, test, and improve Web application. We saw how to work with the session list, use...
Ok, first, just in case you aren’t familiar with my work – I’m a server/web/cloud guy, not a client guy, so all the hype about Windows 8 and Phone 8 sounds to me like “bla bla bla”. I’m into servers and Windows Azure, so day 2 and on is more to my like than Day 1. So day 1 began with the keynote where Steve Ballmer did his “shopping channel” appearance, showing the various hardware running Windows 8. BTW, in the first photo, on the left, you can notice an 82” surface . Then the keynote continued...
One of the new features of Entity Framework 4.1 is the DbContext API which is basically a simplification of the ObjectContext API, and is intended to make your life a bit easier. In this new API you can find the DbSet.Find method which according to MSDN does the following: “Uses the primary key value to attempt to find an entity tracked by the context. If the entity is not in the context then a query will be executed and evaluated against the data in the data source , and null is returned if the...
Last week we had our annual SDP conference in Sela’s offices and in Crowne Plaza in Tel-Aviv. I had the pleasure of talking about several of the technologies I’m dealing on a daily basis (well, almost every day) which were: Entity Framework . The first day of the convention was all about Entity Framework. Erez , Gil , and myself gave several lectures dedicated to Entity Framework. The day ended with an “EF expert panel” which I enjoyed very much. I think will make a habit or doing this panel...
A few months ago, I read this great post about the Portable Extensible Metadata (PEM) of Entity Framework 4. The PEM relies on the extensibility of the entity framework EDM, which enables you to add your own XML content into the EDM. Once placed in the EDM, you can write code that investigates the MetadataWorkspace and do operations according to what you’ve written in the EDM. One usage for example which is demonstrated in the PEM extension is adding validations to entities and properties, and placing...
The Entity Framework team has opened a wish list website to get input about what bugs people in Entity Framework 4. If you’ve ever used EF and complained about it (which happens to me on a daily basis), this is the time to speak out. Read more on the original blog post
It has been a while since I’ve published a post in my blog. In the past couple of months I’ve been working hard on writing the new official WCF 4 course for Microsoft and writing a book about ASP.NET 4 together with Shay Fridman , but things are calming down and I’m getting back to business. A few days ago Sasha started writing several posts about debugging distributed transactions. One issue that developers need to be aware of is the need to configure the transaction coordinators in all the machines...
It’s finally here, an Entity Framework 4 provider for oracle, complements of Devart . You can download the provider (trial version of course) from here , look for version 5.55 beta.
Just finished passing my presentation about ORM & Entity Framework basics This presentation is part of a whole-day seminar about ORM Tools & Concepts Currently Bernie & Erez are demonstrating NHibernate & Entity Framework head-to-head and later on Gil will deep dive into Entity Framework and Erez & Bernie will once again join forces to talk about Data Access Pattern in the real world. We’ll finish the day with an Expert Panel, where Oren Eini will join us to talk about ORMs, NHibernate...
First time that I can say – there are MANY people that use EF4. How do I know? because the session had the room filled with people, with people waiting outside ! EF 4 is great. It solved many of the problems of EF3.5 and made the technology more mature and useful. What annoyed me in the lecture is that it showed all the features of EF4 that people already know of (well, I know of). The title was misleading because I thought they will talk about new features that don't exist currently. Here is...
As I've stated before, I attended the data programming and modeling session - And I enjoyed every minute. Chris Anderson and Don Box rock ! They talked about Entity Framework 4 – The automatic lazy load (no more need to call the damn Load() method), different approached of model first, POCO and code only (using the fluent API) etc. There was a talk about code first having a configuration class instead of writing all the fluent API by hand, and without having to add attributes to your POCO classes...
Wow ! I’m not familiar with events of this size. For me, Israeli Tech-Ed was the biggest event I attended. Well, there’s something strange about flying 20 hours to the far end of the world, going to a city with million of people of different types, and entering a conference center will thousands of geeks moving around. First Keynote was interesting, a lot of talking about “3 screens and a cloud”, cloud in general, Azure in specific. Many new features in VS2010, IIS, and Windows to support all the...
Last week, a colleague of mine asked me to create a sample composite design pattern model in Entity Framework. I thought to myself, no problem, created the table that contains the Component, Leaf & Composite entities (according to TPH – Table Per Hierarchy) and went to build the EDM based on the table and there I started to have problems which needed manual fixing. Since I’m working with EF 3.5, I’ve built the DB prior to the model – In EF 4.0 you can do model-first and build your db by script...
A few day ago, a colleague of mine, Shlomo Goldberg , raised a question about Entity Framework and large models. Another colleague of mine, Gil Fink posted some links to helpful tips for using large models, and I want to talk about one of these tips – using the View Generation option. If you’ve worked with large models in Entity Framework 3.5, you probably noticed that as the model grows, it takes more time to initialize the ObjectContext for the first time. A solution to this is to use view generation...
Just wanted to say I had a great time giving this lecture. I’m pleased to hear people learned more than just about entity framework. Big thanks to Noam King for inviting me to give this lecture, and to Guy Burstein & MS for the accommodations. I’ve uploaded the presentation, code samples (Both EF 3.5 & 4.0) and the sample DBs I’ve used (as .MDF files, you’ll need to attach them to your db to make them work). You can download the entire file from here .
More Posts
Next page »