Re: Finally which ORM tool?



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
.



Relevant Pages

  • Re: Finally which ORM tool?
    ... O/R mappers is the cause of many of these problems, ... why we didn't use this pattern in LLBLGen Pro. ... Linq to Sql / Entities ... I must actually look at LLBLGen Pro some time... ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Pattern for create a webservice with Api Key?
    ... I doubt that there's any single pattern yet. ... An API key is a relatively new concept, at least in the sense used by things like Google Maps. ... Before the Internet, there were certainly software libraries one could purchase that would need to be initialized using a license key before they could be used; however, this was all on a single machine, and even within the address space of a single process, so there was little "management" necessary. ... You'll probably need to specify what sort of "management" functions you have in mind. ...
    (microsoft.public.dotnet.framework.webservices)
  • Pie Chart Color/Pattern
    ... I have a pie chart with visual effect. ... Management had requested that I ... change the color to BW pattern cause they want to publish it in Black & ...
    (microsoft.public.excel.charting)
  • Has anyone seen this pattern?
    ... Has anyone seen this pattern? ... Suspicious URL ... For more information on this free incident handling, management ... and tracking system please see: http://aris.securityfocus.com ...
    (Incidents)
  • Pattern for create a webservice with Api Key?
    ... you know if there is a particular pattern to create a webservices implementing the management of api key? ...
    (microsoft.public.dotnet.framework.webservices)

Loading