Simple NHibernate Example, Part 5: Repository Testing(lostechies.com)

submitted by agilejoeagilejoe(860) 5 years, 1 month ago

In the last few posts, we explored very simple concepts from the point of view of DDD and BDD/TDD. In this post, I will put together a very simple testing harness to show how to roll together these concepts in the context of NHibernate.

2 comments |category: |Views: 228

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:

posted by reach4thelasersreach4thelasers(0) 5 years, 1 month ago 0

Can anyone give any insight into how relevant/useful nHibernate is with .net 2.0. With controls like ObjectDataSource is there still a need for nHibernate?

Reply

posted by gavinjoycegavinjoyce(25.7k) 5 years, 1 month ago 0

Larger project very often benefit from breaking the application up into a number of logical tiers, the Data Access Layer being one.

I haven't used the ObjectDataSource but my understanding is that is acts as 'glue' between the UI controls and a data provider such as a DAL. It works in conjunction with the DAL, it is not meant to replace it.

Reply

information Login or create an account to comment on this story