FransBouma/RawDataAccessBencher — pull request #4 by amirrajan (2013-12-11 14:34:34+00:00)
Title: A better assessment of Oak.DynamicDb

For the `FetchSalesOrderHeaderOakDynamicDb` measurement, I moved the stop watch to *include* the dynamic binding of Oak's DynamicModel. This is a much more accurate picture of the net time it takes to:

- retrieve the records
- attach methods associated with change tracking
- attach methods associated with validation
- attach methods associated with retrieving relationships

The numbers that you are seeing *is* accurate. The lazy binding of the dynamic methods happens the first time a dynamic property is accessed, but as the benchmarks show, this process is slow.

I've added another method `FetchSalesOrderHeaderOakDynamicDbDto` that hydrates a dynamic object without change tracking. This option *is* supported by the framework. And can be seen here: https://github.com/amirrajan/RawDataAccessBencher/compare/oak-dynamicdb?expand=1#diff-880238b8ae29809c5eb1471325d8f291R18