Hi Greg,

  It would help if you posted more details about the problem you are
having; if there is an exception, where it is thrown, the stack trace,
etc.

  I took a quick look at your source code and see one potential
problem so far. You have a line like this:

   _cfg.AddAssembly(typeof(Country).AssemblyQualifiedName);

  You probably want something more like:

   _cfg.AddAssembly(Assembly.GetAssembly(typeof(Country)));

  ... this method adds an assembly to the NHibernate configuration,
so I don't think passing a type name in would work.

Regards,
Mike

On Nov 10, 7:24 pm, Greg Deward <[email protected]> wrote:
> Here is a link for anyone that has 30 seconds to spare:
>
> http://rapidshare.com/files/430094261/Problem.zip
>
> Thanks, again.
>
> -- Greg D.
>
> On Nov 10, 2010, at 10:15 PM, Greg D. wrote:
>
> > Is there someone out there that would be willing to assist a newbie?
> > I have a simple C# NHibernate project that I simply cannot get
> > working.  I've scrapped it and started over three times, each time
> > using the "NHibernate 2 Beginners Guide" as a reference.  I simply
> > cannot get anything to work correct.  Either the book is wrong, or the
> > code is wrong or both?
>
> > I'd be grateful for any assistance.
>
> > -- Greg D.
>
>

-- 
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.

Reply via email to