tag:blogger.com,1999:blog-3924739636407907202.post5509995873437204984..comments2023-10-07T05:59:41.036-03:00Comments on HunabKu: Dynamic entitiesFabio Maulohttp://www.blogger.com/profile/13558454874302740335noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-3924739636407907202.post-19656848968586091032009-07-08T14:39:38.056-03:002009-07-08T14:39:38.056-03:00In the same place where will be useful work with d...In the same place where will be useful work with dynamic objects (.NET4) ?<br />or persist a mapping created on the fly without implement concrete classes nor interfaces?<br />or use directly a DTO to persist something using DuckTyping ?Fabio Maulohttps://www.blogger.com/profile/13558454874302740335noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-2137310366170820652009-07-08T14:11:09.702-03:002009-07-08T14:11:09.702-03:00Could you provide an scenario where this feature m...Could you provide an scenario where this feature may be useful?jaimehttps://www.blogger.com/profile/05400435935764737984noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-5246272046325050562009-07-08T10:31:27.971-03:002009-07-08T10:31:27.971-03:00@Darius
As you can see there isn't a real clas...@Darius<br />As you can see there isn't a real class in the mapping (only entity-name, no class nor interface).Fabio Maulohttps://www.blogger.com/profile/13558454874302740335noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-73506769080011319052009-07-08T09:57:43.055-03:002009-07-08T09:57:43.055-03:00@Darius
No is not. I'm using NH's dynamic ...@Darius<br />No is not. I'm using NH's dynamic entity-modeFabio Maulohttps://www.blogger.com/profile/13558454874302740335noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-58289051964971296032009-07-08T03:53:12.766-03:002009-07-08T03:53:12.766-03:00As far as i understand, under the hood "SaveD...As far as i understand, under the hood "SaveDynamic" just iterates over all mappings and finds the right using the passed string. Is that correct?Darius Damalakashttps://www.blogger.com/profile/04596650719650364667noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-38902037972212541472009-07-07T13:48:07.253-03:002009-07-07T13:48:07.253-03:00Model and ProductLine are both anonymous types.Model and ProductLine are both anonymous types.Fabio Maulohttps://www.blogger.com/profile/13558454874302740335noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-13042969031402213922009-07-07T13:46:48.688-03:002009-07-07T13:46:48.688-03:00awesome! I suppose that Model could be an anoymous...awesome! I suppose that Model could be an anoymous type or any type that expose those public properties.Anonymousnoreply@blogger.com