Natural keys: ORM support(osmirnov.net)

submitted by slo2olsslo2ols(618) 1 year, 5 months ago

In first part we discussed how natural keys are presented in database and domain model. I guess each who reads till this place have a question of to connect these representations. The answer is obvious by an object-relation mapper (ORM). I believe that most of my readers already use some ORM in their projects. Unfortunately, solutions right out-of-box using database information for creation natural keys in domain model or vice versa don't exist. Further we'll consider that offering us 2 most popular ORMs NHibernate 2.1 and Entity Framework 4.0.

add a comment |category: |Views: 144

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story