Blog Stats
  • Posts - 13
  • Articles - 0
  • Comments - 5
  • Trackbacks - 0

 

Asp.Net

Using Template Pattern to solve my Nhibernate Session issue

Template Method Pattern is a way to extract repitivie parts of an algorithm to a base class and use concrete classes to tweak the behavior. I'm using it here to manage NHibernate sessions when saving objects.

 

 

Copyright © John Teague