Hi, the last week i helped two colleagues with the same problem. They both have a xml mapping but forgotten to set it to embedded resource. The problem was that they dose not noticed that the class was not mapped since
session.CreateCritera(typeof(Order)).List<Order>(); returns an empty list when the object is not mapped. My question is now, is there any reason for doing that or is this just a bug? For my understanding that is an error behavior and has to throw an exception. -Steve -- 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.
