http://wiki.fluentnhibernate.org/Persistence_specification_testing#Testing_references

On Thu, Aug 27, 2009 at 10:21 AM, James.Ying <[email protected]> wrote:

>
> sorry, Persion is Person
> exception:
> System.ApplicationException : Expected 'xxxx.Person' but got
> 'PersonProxy37ae059e22ee4d519d0e2130c4423c0a' for Property 'Father'
>
> On Aug 27, 4:54 pm, "James.Ying" <[email protected]> wrote:
> > I want to test my Enitity Mapping by PersistenceSpecification, but is
> > not check verify nullable property or references.
> >
> > code:
> > new PersistenceSpecification<Persion>(session)
> >                 .CheckReference(p => p.Father, father)
> >                 .VerifyTheMappings();
> >
> > Persion.Father is Nullable
> >
> > what should i check?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" 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/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to