Hi

I got the following exception when writing testcases for NHibernate in
VS2008

Test method
lgTronic.Infrastructure.Test.ModelValidationFixture.PersonValidation
threw exception:  System.NotSupportedException: The invoked member is
not supported in a dynamic assembly..

The exception occurs when I add the following line to a IList of
items:
.HasValidElements();

The constraints definition looks like:
            Define(x => x.Emails)
                .NotNullable().WithMessage("Emails List must be
initialized")
                .And
                .HasValidElements();


Anone who have seen this,, and can tell me how to avoid it.

//lasse

--

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