Hi Folks

I don't know what's going on with my software. After the crash, I added the
mapping files in cfg.xml file, and it worked. When I changed that to add hbm
files by code, only one Entity appears as not mapped. What could happened?

Here is my code:
                    configuration.AddFile("Usuario.hbm.xml");
                    configuration.AddFile("Modulo.hbm.xml");
                    configuration.AddFile("Funcionalidade.hbm.xml");
                    configuration.AddFile("Permissao.hbm.xml");
                    configuration.AddFile("Configuracao.hbm.xml"); // Entity
with problem.

I have set all files as EmbeddedResources, and the property "Copy to output
directory" is set to Always.

Best Regards,
Everton Lucas

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