Re: Finally which ORM tool?
- From: James Crosswell <james@xxxxxxxxxxxxxx>
- Date: Thu, 11 Oct 2007 16:18:28 +0200
Jon Skeet [C# MVP] wrote:
I think the central context/session design which is common among most
O/R mappers is the cause of many of these problems, and which is also
why we didn't use this pattern in LLBLGen Pro. Linq to Sql / Entities
both have the same attach/detach hell btw.
Without a context/session design, how do you ensure identity
management though?
Maybe I'm not understanding what you mean by identity management but I use Guid fields for all my Object Ids so I don't have any "management" issues. Guid's get created for new objects, on the client, and they stick.
You don't need a session to know if an object that you're saving corresponds to an insert or an update either, since that information is sitting right there in the databases.
As I say, maybe I misunderstood your question though.
Best Regards,
James Crosswell
Microforge.net LLC
http://www.microforge.net
.
- Follow-Ups:
- Re: Finally which ORM tool?
- From: Jon Skeet [C# MVP]
- Re: Finally which ORM tool?
- References:
- Finally which ORM tool?
- From: AliRezaGoogle
- Re: Finally which ORM tool?
- From: James Crosswell
- Re: Finally which ORM tool?
- From: Frans Bouma [C# MVP]
- Re: Finally which ORM tool?
- From: Jon Skeet [C# MVP]
- Finally which ORM tool?
- Prev by Date: Re: multiply two objects
- Next by Date: Re: Finally which ORM tool?
- Previous by thread: Re: Finally which ORM tool?
- Next by thread: Re: Finally which ORM tool?
- Index(es):
Relevant Pages
|
Loading