tag:blogger.com,1999:blog-3924739636407907202.post3343218713330344224..comments2023-10-07T05:59:41.036-03:00Comments on HunabKu: NHibernate: autocreate indexes for foreignkeyFabio Maulohttp://www.blogger.com/profile/13558454874302740335noreply@blogger.comBlogger15125tag:blogger.com,1999:blog-3924739636407907202.post-78682232410156031712017-02-01T17:31:04.844-03:002017-02-01T17:31:04.844-03:00too old a post, but relying on a non-public proper...too old a post, but relying on a non-public property seems a bit risky...Vivek Rathodhttps://www.blogger.com/profile/02531206517158034661noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-32986760490512461172016-02-11T10:32:49.271-03:002016-02-11T10:32:49.271-03:00Oooohhh... thank so much.Oooohhh... thank so much.ifelerehttps://www.blogger.com/profile/00799761667590518971noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-53667570091383890542013-03-23T16:13:04.478-03:002013-03-23T16:13:04.478-03:00Heber
This is WAY easier to use than NHibernate:
h...Heber<br />This is WAY easier to use than NHibernate:<br />https://www.kellermansoftware.com/p-47-net-data-access-layer.aspx<br /><br />darichkidhttps://www.blogger.com/profile/11427384867993481295noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-42925943026547796302013-01-10T15:01:14.064-03:002013-01-10T15:01:14.064-03:00Using NHibernate few years ago and could not find ...Using NHibernate few years ago and could not find the source of this post, if not indicate much work as I can:<br />http://nhforge.org/blogs/nhibernate/archive/2008/11/16/mapping-source-how-map-a-class-without-use-nothing.aspxHeber E. Sengerhttps://www.blogger.com/profile/18341768352247967719noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-57168379731581455262012-07-03T13:03:56.191-03:002012-07-03T13:03:56.191-03:00Awesome tip, just saved me allot of dull, error pr...Awesome tip, just saved me allot of dull, error prone work. Added it to our product and bang, it's allot faster.Stephen Adamhttps://www.blogger.com/profile/16829510137441004560noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-16161460517819938202012-04-22T07:12:41.189-03:002012-04-22T07:12:41.189-03:00@leonardo:
You can write your own interceptor, inh...@leonardo:<br />You can write your own interceptor, inheriting from EmptyInterceptor, and overriding the OnPrepareStatement method. You set it on the Configuration object and build your ISessionFactory after it:<br /><br />using (ISessionFactory factory = cfg.SetInterceptor(new MyInterceptor()).BuildSessionFactory()) { ... }<br /><br />RPRicardo Pereshttps://www.blogger.com/profile/09666059001004988854noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-33104893383209765752012-04-10T16:05:29.449-03:002012-04-10T16:05:29.449-03:00Fabio,
I'd like to know how can I extend some...Fabio,<br /><br />I'd like to know how can I extend some LINQ class, so I can add a with(nolock) hint to every query performed using LINQ !<br /><br />Thanks !leonardo2204https://www.blogger.com/profile/11603381225513513462noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-42568798684643432162012-04-10T12:05:22.533-03:002012-04-10T12:05:22.533-03:00@Juanma
I don't think so. Let me see the code....@Juanma<br />I don't think so. Let me see the code.Fabio Maulohttps://www.blogger.com/profile/13558454874302740335noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-74648246578727017982012-04-10T09:46:58.140-03:002012-04-10T09:46:58.140-03:00Nice trick but, know what? with entity framework a...Nice trick but, know what? with entity framework and fluent nhibernate this is even easier :-P<br /><br />Glad to see you back!Juanmahttps://www.blogger.com/profile/13640368204107644129noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-20242681702699469192012-04-06T12:49:57.511-03:002012-04-06T12:49:57.511-03:00Welcome back!!!!
...and always great!
:))Welcome back!!!!<br /><br />...and always great!<br /><br />:))Tonio Guzzihttps://www.blogger.com/profile/01020295130939348822noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-45550507223279175852012-04-06T06:11:20.589-03:002012-04-06T06:11:20.589-03:00Welcome back =) Nice post and thanks!Welcome back =) Nice post and thanks!Michele leprihttps://www.blogger.com/profile/11902843176879908449noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-58056939082174878152012-04-06T05:10:20.941-03:002012-04-06T05:10:20.941-03:00Yeah! I was missing your 'words of wisdom'...Yeah! I was missing your 'words of wisdom' on the NHibernate world. This is a very nice tip by the way, thanks for sharing.Alessandro Giorgettihttps://www.blogger.com/profile/01445443311868465396noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-58408136952164929962012-04-05T18:58:09.866-03:002012-04-05T18:58:09.866-03:00Nice to know you're alive... and kicking... an...Nice to know you're alive... and kicking... and haven't turned to Entity Framework! ;-)Ricardo Pereshttps://www.blogger.com/profile/09666059001004988854noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-31169606782026871382012-04-05T17:50:26.782-03:002012-04-05T17:50:26.782-03:00!!! The best is back !!!!!! The best is back !!!PadovaBoyhttps://www.blogger.com/profile/05104475696206619354noreply@blogger.comtag:blogger.com,1999:blog-3924739636407907202.post-77225971430869552662012-04-05T17:09:19.288-03:002012-04-05T17:09:19.288-03:00Welcome back to the land of the blog :)Welcome back to the land of the blog :)Rippohttps://www.blogger.com/profile/10427021389808024817noreply@blogger.com