[Resolvido] Configurar NHibernate com C#
Prezados, boa tarde!
Estou criando uma aplicação windows e quero gravar usuários no banco de dados. Porém não estou conseguindo fazer funcionar. Pesquisei na internet tem uma semana estudando o assunto e nada.
quando vou gravar o usuário no banco da o seguinte erro:
Unable to load type 'NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle' during configuration of proxy factory class.
Possible causes are:
- The NHibernate.Bytecode provider assembly was not deployed.
- The typeName used to initialize the 'proxyfactory.factory_class' property of the session-factory section is not well formed.
Solution:
Confirm that your deployment folder contains one of the following assemblies:
NHibernate.ByteCode.LinFu.dll
NHibernate.ByteCode.Castle.dll
Poderiam me ajudar por favor?
Discussão (3)
Carregando comentários...