Creating a COM object for Classic ASP (Part 2)

Summary In this blog post I’m going to expand on my last post about COM objects and design a COM “wrapper” for a dictionary. This will demonstrate the use of properties, passing parameters and the indexer. The MyDictionary Class The code that I’m going to use in my COM module will be something like this: … Read moreCreating a COM object for Classic ASP (Part 2)

NHibernate Mapping Utility Update

Summary For those who have followed my blog, I have a long-term project called the NHibernate Mapping Generator. This application generates ORM table mapping C# code for the Fluent NHibernate ORM. In this blog post I’m going to describe a few new features to this application. ADO.Net Unit Testing There is an ADO.Net Context that … Read moreNHibernate Mapping Utility Update

Fluent NHibernate Session Magic

Summary If you’ve spent any time with NHibernate or Fluent NHibernate, you’ll know how annoying it is to use the .Query() method in every LINQ query. It’s especially a problem for situations where you must convert Entity Framework or LINQ-to-SQL to NHibernate, since you have to convert every LINQ query in your code. In this … Read moreFluent NHibernate Session Magic