The ObjectMapper .NET Project

Official blog of the AdFactum ObjectMapper .NET

New Release - AdFactum ObjectMapper .NET 1.90.1917.0

Posted by Gerhard Stephan on September 17th, 2007

The new release of the AdFactum ObjectMapper .NET covers several enhancements that have been discussed in other thread within this blog.

First of all the OBM (ObjectMapper .NET Manager Class) has been included in the current release. That means that you don’t have to implement multi threading functionality by your own. You can simple use the OBM helper class. The original idea of the OBM has been explained in Tutorial 4. The only difference is, that the signature of the Method CreateMapper has been changed.

public static ObjectMapper CreateMapper(DatabaseConnection connection)

The DatabaseConnection Property specifies the Database to that the ObjectMapper .NET connects to. I’m going to write further blog entries in order to explain the new OBM class.

Furthermore I replaced the class BaseFactory with the new UniversalFactory. This class covers the the changes from the blog entry "A Final performance boost" which unleash incredible performance when loading many objects. To enable this performance boost your entities have to implement the ICreateObject interface.

    public interface ICreateObject

    {

        /// <summary>

        /// Creates the new object.

        /// </summary>

        /// <returns></returns>

        IValueObject CreateNewObject();

    }

 

As third improvement I re-worked all classes that implements the IDisposable interface in order to use the correct IDisposable Pattern.

Last but not least, I fixed the bug "[ 1793851 ] OrderBy does not generate parenthesis". The problem was that SQL Statements misses parenthesis within the ORDER BY clause. Which is very bad if you are using reserved words like INDEX.

That’s all for now.
Cheers

- Gerhard

 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 (No Ratings Yet)
Loading ... Loading ...


Posted in Releases | No Comments »

Publication in the dot.net magazin

Posted by Gerhard Stephan on September 13th, 2007

 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 (No Ratings Yet)
Loading ... Loading ...


Posted in Miscellaneous | No Comments »

How to use Generics with the AdFactum ObjectMapper .NET

Posted by Gerhard Stephan on September 13th, 2007

 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 (No Ratings Yet)
Loading ... Loading ...


Posted in HowTo | No Comments »

Using Oracle DECODE function to evaluate if an aggregated object does exists

Posted by Gerhard Stephan on August 23rd, 2007

 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 (No Ratings Yet)
Loading ... Loading ...


Posted in Hint | No Comments »

New Project-Team License Model

Posted by Gerhard Stephan on August 17th, 2007

 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 (No Ratings Yet)
Loading ... Loading ...


Posted in Miscellaneous | No Comments »

New Release - AdFactum ObjectMapper .NET 1.81.1917.0

Posted by Gerhard Stephan on August 17th, 2007

 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 (No Ratings Yet)
Loading ... Loading ...


Posted in Releases | No Comments »

How to get the primary key of an aggregated entity when doing a flat load of the parent.

Posted by Gerhard Stephan on August 16th, 2007

 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 (No Ratings Yet)
Loading ... Loading ...


Posted in HowTo | No Comments »

Attribute: [DefaultValue]

Posted by Gerhard Stephan on July 13th, 2007

 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 (No Ratings Yet)
Loading ... Loading ...


Posted in Attributes | No Comments »

New Release - AdFactum ObjectMapper .NET 1.80.1811.0

Posted by Gerhard Stephan on July 11th, 2007

 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 (No Ratings Yet)
Loading ... Loading ...


Posted in Releases | No Comments »

Supported Data Types

Posted by Gerhard Stephan on July 4th, 2007

 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 (No Ratings Yet)
Loading ... Loading ...


Posted in Hint | No Comments »