September 2008 - Posts

NHibernate implicit join quirk
Published Fri, Sep 19 2008 11:14 AM | Ramon Smits
Recently I had a problem where in an HQL query the result contained duplicates. I used implicit joins in the my query and it looked like the following: from Order o where (o.Code like :literal OR o.CustomData like :literal OR o.Customer.Code like :literal...
Google Chrome 'Paste and go'
Published Thu, Sep 18 2008 3:30 PM | Ramon Smits
I already love all those nice little details in for example gmail but I just discovered a nice feature in Google Chrome. When you have an url on your clipboard that you want to paste in the address bar you just right click it and then this popup context...
Filed under: ,
Import/export by using DataSet WriteXml and ReadXml
Published Tue, Sep 2 2008 10:05 AM | Ramon Smits
I just tried to create a simpel import/export feature in one of our applications based on XML. My first thought was: Create a typed dataset and for export just serialize it to XML with the WriteXml method and for import deserialize it by using ReadXml...