Monthly Archives: September 2009

NHibernate with LINQ: Error with String Comparisons in VB.NET

If you’re in VB.NET using LINQ to NHibernate and you get this error on a simple query: System.ArgumentException : Expression of type ‘System.Int32’ cannot be used for return type ‘System.Boolean’ Then I’ve got an explanation and a fix for you. … Continue reading

Posted in Uncategorized | Leave a comment

Domain Driven Design (DDD): An Exercise in Value Objects

I’m reading the Eric Evans book on DDD and wanted to catalogue some notes as I’m going through it to help me clarify and solidify what I’m picking up from the book. DDD, as I understand it, encourages programmers to … Continue reading

Posted in Uncategorized | 3 Comments