Entity Data Model
-
So quick straw poll who here has used EDM and is it easy to use and understand or is it a passing fad?
Weight loss Target Weight at start [1/Feb/2009] 127kg Weight now [17/Feb/2010] 97.5kg Target weight : 80kg Only 17.5 to go hope to be there by July Wish me luck!
-
So quick straw poll who here has used EDM and is it easy to use and understand or is it a passing fad?
Weight loss Target Weight at start [1/Feb/2009] 127kg Weight now [17/Feb/2010] 97.5kg Target weight : 80kg Only 17.5 to go hope to be there by July Wish me luck!
I find the use of Entity diagrams crucial for good database design, but I had to lookup this EDM. Sorry haven't tried it but now that I have heard about it, I will at the nearest opportunity. Thanks.
If the post was helpful, please vote, eh! Current activities: Book: Devils by Fyodor Dostoyevsky Project: Hospital Automation, final stage Learning: Image analysis, LINQ Now and forever, defiant to the end. What is Multiple Sclerosis[^]?
-
So quick straw poll who here has used EDM and is it easy to use and understand or is it a passing fad?
Weight loss Target Weight at start [1/Feb/2009] 127kg Weight now [17/Feb/2010] 97.5kg Target weight : 80kg Only 17.5 to go hope to be there by July Wish me luck!
I've used it & it is pretty easy. It's good, but not as powerful as NHibernate yet, for example inheritance handling is poorer and NHibernate can work around "sub-optimal" database design better. I doubt it's a passing fad, but it still needs some development by MS IMO. If it follows the usual MS pattern, by the time it reaches version "3" it'll be better than NHibernate, so my money's on EDM.
Dalek Dave: There are many words that some find offensive, Homosexuality, Alcoholism, Religion, Visual Basic, Manchester United, Butter. Pete o'Hanlon: If it wasn't insulting tools, I'd say you were dumber than a bag of spanners.
-
So quick straw poll who here has used EDM and is it easy to use and understand or is it a passing fad?
Weight loss Target Weight at start [1/Feb/2009] 127kg Weight now [17/Feb/2010] 97.5kg Target weight : 80kg Only 17.5 to go hope to be there by July Wish me luck!
I've used it, and I have to agree with Keith. It's got a fair way to go yet, but it is improving; not enough for me to want to commit to using it yet.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
So quick straw poll who here has used EDM and is it easy to use and understand or is it a passing fad?
Weight loss Target Weight at start [1/Feb/2009] 127kg Weight now [17/Feb/2010] 97.5kg Target weight : 80kg Only 17.5 to go hope to be there by July Wish me luck!
Yup, we've used the entity framework. Thoughts:
- More complex than Linq-to-sql.
- Terrible (no) support for n-tier/disconnected.
- No support for POCOs at all.
- Generated classes are partial so are easy to extend.
- Can do access via stored procs if that's what you're in to.
- It has basic inheritance support, but is missing more complex scenarios
- You pretty much have to design your database with it in mind - It would be quite tricky just to pick up and existing database and use EF on it without any changes. Fine for new projects.
But it does work, and it beats writing stacks of boilerplate SQL code. We use it on a small n-tier client-server app and basically have a server side business layer than maps the generated EF entities into our own business objects. This saves some of the problems with poor n-tier support. Others people have tried coming up with ways of serializing the data context and passing the state around and stuff like that, but it's complex, and doesn't work in every situation. I hear that the EF in .net 4.0 has proper support for both POCOs and n-tier/disconnected architectures so that should improve things somewhat. (Not tried it though). In terms of ORMs I've only every used Linq-to-sql and EF. From what I've heard, SubSonic[^] or NHibernate[^] are more mature, so it might be worth checking those out if you're not committed to EF yet. I'd say ORMs are hear to stay. They've been around for quite a while, EF isn't really anything new, it's just new to Microsoft. The official line is that EF is their future platform for data access.
Simon
-
I've used it & it is pretty easy. It's good, but not as powerful as NHibernate yet, for example inheritance handling is poorer and NHibernate can work around "sub-optimal" database design better. I doubt it's a passing fad, but it still needs some development by MS IMO. If it follows the usual MS pattern, by the time it reaches version "3" it'll be better than NHibernate, so my money's on EDM.
Dalek Dave: There are many words that some find offensive, Homosexuality, Alcoholism, Religion, Visual Basic, Manchester United, Butter. Pete o'Hanlon: If it wasn't insulting tools, I'd say you were dumber than a bag of spanners.
Keith Barrow wrote:
If it follows the usual MS pattern, by the time it reaches version "3" it'll be better than NHibernate
That's an interesting point. MS have the resources to move it forward faster than NHibernate is likely to.
Simon
-
So quick straw poll who here has used EDM and is it easy to use and understand or is it a passing fad?
Weight loss Target Weight at start [1/Feb/2009] 127kg Weight now [17/Feb/2010] 97.5kg Target weight : 80kg Only 17.5 to go hope to be there by July Wish me luck!
I have been using EF more and more and find it very useful, though with any framework or template it doesn't always match your needs 100%, it is easy to extend or get around it.
I know the language. I've read a book. - _Madmatt
-
Keith Barrow wrote:
If it follows the usual MS pattern, by the time it reaches version "3" it'll be better than NHibernate
That's an interesting point. MS have the resources to move it forward faster than NHibernate is likely to.
Simon
Just because they can, doesn't mean they will.
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001