tag:blogger.com,1999:blog-3924739636407907202.post5660793389715667186..comments2023-10-07T05:59:41.036-03:00Comments on HunabKu: How Test your mappings: the GhostbusterFabio Maulohttp://www.blogger.com/profile/13558454874302740335noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-3924739636407907202.post-57566421458227852622010-04-11T13:22:23.477-03:002010-04-11T13:22:23.477-03:00Hola Fabio, estaba probando esto pero me esta dand...Hola Fabio, estaba probando esto pero me esta dando el siguiente error : <br /><br />Unable to load type 'NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle' during configuration of proxy factory class.<br />Possible causes are:<br />- The NHibernate.Bytecode provider assembly was not deployed.<br />- The typeName used to initialize the 'Javibishophttps://www.blogger.com/profile/12354807832503504674noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-82182250688871091682009-12-02T16:32:15.399-03:002009-12-02T16:32:15.399-03:00Excellent information... I'll try it for a pro...Excellent information... I'll try it for a problem that we have here... Thanks!Daniel Alvarezhttps://www.blogger.com/profile/14932343018775320858noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-90869528249422995052009-03-01T10:11:00.000-02:002009-03-01T10:11:00.000-02:00Each situation has a different solution. Some one ...Each situation has a different solution. Some one is easy some other is not so easy to fix (not all "ghost" are so easy to remove)... the difference is that now you know you have a "ghost" and you know where is it.Fabio Maulohttps://www.blogger.com/profile/13558454874302740335noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-8304414033641656632009-03-01T05:37:00.000-02:002009-03-01T05:37:00.000-02:00So...umm... how do you remove the ghost in this in...So...umm... how do you remove the ghost in this instance? Is it possible?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-83706697828059228982008-11-28T13:56:00.000-02:002008-11-28T13:56:00.000-02:00I've fixed in this way (BTW I'm very new to linq, ...I've fixed in this way (BTW I'm very new to linq, probabily not the best solution).<BR/><BR/> entitiesToCheck = from persistentClass in cfg.ClassMappings<BR/> from EntitieToFilter in (from EntitieToFilter in entitiesFilter <BR/> where persistentClass.EntityName.Contains(EntitieToFilter) <BR/>Joséhttps://www.blogger.com/profile/00939999997597980426noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-62927372454414551662008-11-28T12:48:00.000-02:002008-11-28T12:48:00.000-02:00Thanks. I'll check it.Thanks. I'll check it.Fabio Maulohttps://www.blogger.com/profile/13558454874302740335noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-20656246183594486092008-11-28T12:45:00.000-02:002008-11-28T12:45:00.000-02:00Hi Fabio, I think there is an error in the class.I...Hi Fabio, I think there is an error in the class.<BR/><BR/>In this line:<BR/>from persistentClass in cfg.ClassMappings<BR/>where entitiesFilter.Contains(persistentClass.EntityName)<BR/>select persistentClass.EntityName;<BR/><BR/>EntitiesFilter has a "Person" item, but the EntityName in the cfg.classMappings include the namespace "Ghostbusters.Person".<BR/><BR/>"Person".contains("Joséhttps://www.blogger.com/profile/00939999997597980426noreply@blogger.com