>I wouldn't use container.Resolve
No I agree, I'd most likely have a SongBuilder injected into the class which
needs to create the song.
>>
Beyond all of that I would say that this is a great place where cqs
coud help
<<
Which I would like to see an example of :-)
>>
... are the varying hashes even really a domain concern or
just a reporting concern?
<<
I'm just exploring with NH at the moment in conjunction with Unity. My
father in law has a really simple MS Access database.
Song
ID Integer autoinc
Name string
Book
ID Integer autoinc
Name string
BookIndex
BookID Integer
SongID Integer
PageNumber Integer
It works fine for him to calalogue his music scores, which songs are in
which book and on which page. One thing he hates having to do though is
when he adds a new book he has to first check that all of the songs are in
the Songs table. So for a bit of fun I thought I'd completely over-kill the
problem just to have a play with some technologies and write an app which
will let him type in the songs for a book, if there are similarly named
songs let him choose which one he means and if not it will add the songs for
him.
Pete
====
http://mrpmorris.blogspot.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---