[VB.Net - NHibernate] Mapping dans les class
Résolu/Fermé
badside
Messages postés
78
Date d'inscription
vendredi 15 octobre 2004
Statut
Membre
Dernière intervention
16 mars 2012
-
14 mars 2012 à 19:27
badside Messages postés 78 Date d'inscription vendredi 15 octobre 2004 Statut Membre Dernière intervention 16 mars 2012 - 15 mars 2012 à 00:11
badside Messages postés 78 Date d'inscription vendredi 15 octobre 2004 Statut Membre Dernière intervention 16 mars 2012 - 15 mars 2012 à 00:11
A voir également:
- [VB.Net - NHibernate] Mapping dans les class
- Vb.net download - Télécharger - Langages
- Classer les applications par ordre alphabétique iphone - Guide
- Logiciel mapping video gratuit - Forum TV & Vidéo
- Telecharger logiciel mind mapping gratuit - Télécharger - Organisation
- Nvcontainer windows class ✓ - Forum Carte graphique
1 réponse
badside
Messages postés
78
Date d'inscription
vendredi 15 octobre 2004
Statut
Membre
Dernière intervention
16 mars 2012
4
15 mars 2012 à 00:11
15 mars 2012 à 00:11
Je viens de réussir à coder la classe de mapping. La syntaxe est la suivante pour VB.net :
Maintenant, je n'arrive pas à effectuer un BuildSessionFactory lorsque je tente d'ouvrir une session. J'obtiens l'erreur suivante :
Avez-vous une idée ?
Public Class Class1Map Inherits FluentNHibernate.Mapping.ClassMap(Of Class1) Public Sub Class1Map() Table("Test") Map(Function(x) x.Name) Map(Function(x) x.FirstName) End Sub End Class
Maintenant, je n'arrive pas à effectuer un BuildSessionFactory lorsque je tente d'ouvrir une session. J'obtiens l'erreur suivante :
The ProxyFactoryFactory was not configured. Initialize 'proxyfactory.factory_class' property of the session-factory configuration section with one of the available NHibernate.ByteCode providers. Example: <property name='proxyfactory.factory_class'>NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property> Example: <property name='proxyfactory.factory_class'>NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle</property>
Avez-vous une idée ?