AdFactum ObjectMapper .NET Blog

Official blog of the AdFactum ObjectMapper .NET

New Release – ObjectMapper .NET 1.2.716.0

Posted by Gerhard Stephan on August 17th, 2006

This release is mainly a performance release.

Using dotNet 2.0 and Visual Studio the ObjectMapper .NET gained about 200% performance compared to the last version. This was possible because I could replace the time-consuming reflection method invocation with a direct delegate call to a dynamic method created at runtime.

The graph shows the differens when loading 10000 objects with about 18 columns.

As a second advantage I added a new feature to the Virtual Links that allows you that the source of a Virtual Link can be also a Virtual Link. Thus enables you to flatten object hierarchies when loading.

          /// <summary>

          /// Division Key

          /// </summary>



          public string DivisionKey


              get { return _divisionKey; }

              set { _divisionKey = value; }



          /// <summary>

          /// Head of Division Key

          /// </summary>

          [VirtualLink(typeof (Division), "FilterKey", "Key", "DivisionKey")]

          public string HeadOfDivisionKey


              get { return _headOfDivisionKey; }

              set { _headOfDivisionKey = value; }



          /// <summary>

          /// Name of the head of Division

          /// </summary>

          [VirtualLink(typeof(Division), "Value", "Key", "HeadOfDivisionKey")]

          public string HeadOfDivisionText


              get { return _headOfDivisionText;  }

              set { _headOfDivisionText = value;  }



Hope you enjoy the new version.




One Response to “New Release – ObjectMapper .NET 1.2.716.0”

  1. Karl Says:

    i am amazed about this!
    As you know you and i are always looking for the get the ObjectMapper.NET fast – on database side and on the .NET side. This is a great success in gaining the best performance.


Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>