Paul Gielens:ThoughtsService

another Endpoint to my thoughts

News

Syndication

Ads


Favorites

Projects

Clearing up Mapping technologies in .NET vNext

David and Andres speculated on the positioning of the upcoming mapping technologies in .NET.

The problem domain your application targets has a mismatch with the already existing data model. In this case, the ADO.NET Entity Framework is the right choice.

The existing data model matches the problem domain your application targets. You don’t require mapping between these two models. Linq to SQL lets you directly map to your existing or new data model.

Posted: Aug 15 2006, 11:17 PM by p.gielens | with 6 comment(s)
Filed under:

Comments

Sahil Malik said:

Yeah and what they didn't mention was that the chances of your logical and conceptual models being the same is about the same as finding a hot bikini model who also programs in C++.

# August 18, 2006 10:47 AM

Paul Gielens said:

I have to disagree. We have been very successful with Neo on projects which is incapable of handling indirections between the two models. Our "start with the model" approach saved us many times. Sure, we had to hand optimize one or two use cases and our denormalized databases would upset a typical DBA ;)

# August 18, 2006 12:27 PM

Sahil Malik said:

Well, even in trivial projects, your ERD looks very different from your EDM. So I am not sure how DLINQ (LINQ to SQL) alone would be good enough for your purposes. :-/

But well if you say so, we just have to agree to disagree.

There are still plenty of unanswered Q's about vNext in general. Right now it feels like a good "concept" they are playing with - but it needs way more thought and panning out before release, or even a decent Beta.

We'll see where it goes :)

SM

# August 18, 2006 10:53 PM

Steve said:

While I agree that there are scenarios that you can get away with a 1-1 mapping I question why anyone would lock themselves into that coupling rather then going with Linq to Entities and allowing the conceptual model to evolve independently of the relational model.

I think Linq to Sql should be merged into Linq to Entities and we should get a single mapping solution that handles either direct mappings or more complex mappings.  As your system evolves you can start to use the more advanced features of Entities.  If on the other hand things don't change and you keep everything mapped directly, well, you're no worse off.

# August 19, 2006 3:49 PM

破甲 said:

两种的特性: Feature ...

# April 1, 2008 2:49 AM

yaksea said:

两种的特性: Feature LINQtoS...

# March 19, 2009 3:41 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)