How do you guys inject the mapper via IoC into your DAOs / Repositories? I want 
to move away from the singleton approach, and I know using IoC tool I can 
define the mapper's scope as a singleton that way, but where would I put the 
put DomSqlMapBuilder.Configure(sqlMapConfig) code that needs to be called the 
first time an instance is created?
 
_________________________________________________________________
Windows Liveā„¢: Keep your life in sync.
http://windowslive.com/explore?ocid=TXT_TAGLM_BR_life_in_synch_052009

Reply via email to