tag:blogger.com,1999:blog-3924739636407907202.post7024085613410223455..comments2023-10-07T05:59:41.036-03:00Comments on HunabKu: NHibernate: playing with mapping by code (2)Fabio Maulohttp://www.blogger.com/profile/13558454874302740335noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-3924739636407907202.post-26738542635488185952012-05-01T12:25:36.882-03:002012-05-01T12:25:36.882-03:00Hi Fabio,
I am having issues with namespaces and ...Hi Fabio,<br /><br />I am having issues with namespaces and ConventionModelMapper. I have an entity "Item" defined in two different namespaces. So I am getting ambiguous exceptions.<br /><br />Do you have any suggestions?Lokihttps://www.blogger.com/profile/13766578007609197798noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-77131244573040733602012-05-01T12:12:44.605-03:002012-05-01T12:12:44.605-03:00This comment has been removed by the author.Lokihttps://www.blogger.com/profile/13766578007609197798noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-21752309332521020142011-10-05T16:22:37.644-03:002011-10-05T16:22:37.644-03:00Ok Fabio !
But the mapping ?? How i map the Phone...Ok Fabio !<br /><br />But the mapping ?? How i map the Phones Ilist ?<br /><br />Bag (x => x.Phones, .... ???Diogo Menezeshttps://www.blogger.com/profile/12219369774516392154noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-14155538341566090292011-10-05T13:27:44.680-03:002011-10-05T13:27:44.680-03:00class Person {int id, string name, IList Phones}
...class Person {int id, string name, IList Phones}<br /><br />That is all.Fabio Maulohttps://www.blogger.com/profile/13558454874302740335noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-75749579528806945802011-10-05T13:24:01.814-03:002011-10-05T13:24:01.814-03:00Hi Fabio.
I'm with a doubt!
I am having diff...Hi Fabio.<br /><br />I'm with a doubt!<br /><br />I am having difficulty to mapping a relation like this<br /><br />class Person {int id, string name, IList PeopleTelephones}<br />class Phone {Id, Number}<br />class PeopleTelephone{People, Telephone}<br /><br />Notice that the relationship between person and telephone (PeopleTelephone) results on the IList type PeopleTelephone. But I do not Diogo Menezeshttps://www.blogger.com/profile/12219369774516392154noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-87980339598837129732011-08-25T01:56:17.939-03:002011-08-25T01:56:17.939-03:001. How to map component using ConventionModelMappe...1. How to map component using ConventionModelMapper<br /><br />2. When I create abstract class for creating Id, it will also generate table for abstract class, how to avoid it?<br /><br />public abstract class BaseDomain<br />{<br /> public virtual Guid Id {get;set;}<br />}<br /><br />public class Person : BaseDomain<br />{<br /> ...<br />}ryzamhttps://www.blogger.com/profile/08948488698923418322noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-89545613909187014922011-08-17T19:11:47.901-03:002011-08-17T19:11:47.901-03:00A fully working skeleton for sexy Loquacious NH on...A fully working skeleton for sexy Loquacious NH on NHForge wiki - http://nhforge.org/wikis/howtonh/a-fully-working-skeleton-for-sexy-loquacious-nh.aspxScott Findlaterhttps://www.blogger.com/profile/07324523069794537212noreply@blogger.com