Entries categorized 'Data Access' ↓

Two more Entity Framework videos on Pluralsight

Two new videos that I have created for Visual Studio 2010 have just been published to Pluralsight On-Demand. If you don’t have a Pluralsight subscription (yet), these videos are available as part of POD’s free guest pass along with lots of other great content. The new vids are “ Exploring the Classes...

Read More...

Fun with a small EDM Designer bug, for now…

Yesterday I accidentally discovered that you can edit a multiplicity end point in the EDM Designer: It’s a known bug and is fixed already (post-RC). The changes don’t get saved with the EDMX....

Read More...

Two Introductory VS2010 Entity Framework Videos on Pluralsight on Demand

These are the first two. I’ve got more coming! If you don't have a Pluralsight subscription, grab a free guest pass and you'll have have access since these are part of the subset of guest pass content along with a ton of other great videos. These will also be on MSDN online shortly....

Read More...

If timestamp is deprecated, why do none of the current db tools support rowversion?

Perhaps the title of this blog post will suffice, but I just wanted to highlight this problem. If you were to look up the timestamp data type in the SQL Server 2008 documentation, this is waht you will find within the topic article: “The timestamp syntax is deprecated. This feature will be removed in...

Read More...

Crystal Reports and Visual Studio 2010

If like me, you have a “can’t live with it, can’t live without it” relationship with Crystal Reports and have made a significant investment in reporting with their tools, you might be digging around the VS2010 RC looking for Crystal. CR has been embedded into Visual Basic and Visual Studio for many versions...

Read More...

Looking for Astoria aka ADO.NET Data Services aka WCF Data Services in VS2010?

Remember... the data service is an item template, not a project template….and that it’s been renamed to WCF Data Services. After you create a project (I usually use an empty web app to host the service), you can find the template in the Web section. Or just use the handy search feature in...

Read More...

EF4 Breaking Change: EF4 inner joins affect eager loading many to many

Hooray! Turns out it was a bug ("unintended breaking change) and it's getting fixed for RTM! :) [ see Connect submission and Microsoft's response ] Great catch George! This is an edge case that I had not noticed, but was brought to my attention this morning in an email from Dave Russell who pointed...

Read More...

Where are the EF4 providers?

Thanks to Danny Simmons ' comment below clarifying that the provides that support EF3.5 will still work for EF4 " just without new provider affecting features like model first." As far as I can tell, and confirmed by Fabio Pandolfo (@fabiopand on twitter) who is also on the hunt, DevArt's Oracle...

Read More...

Entity Framework Lazy Loading by Context or by Property?

When Entity Framework finally brought in support for Lazy Loading, there were still complaints. The lazy loading in EF4 is context based, not property based as defined by some of the other ORMs. (I’m not sure which ones or how many.) I was thinking about this today and realized that EF does, in...

Read More...

Small Change in EF Loading Behavior from VS2008

In the process of updating my book, I have to recheck every statement and every line of code. A lot has changed. It’s as though I were writing the whole thing from scratch. Here’s a small but notable change that I found. In .NET 3.5 you cannot Load an EntityReference for an Added entity even...

Read More...