This project is read-only.
1

Resolved

SyncProvider: Emit and Expressions instead of Reflection

description

Optimization: At startup, the sync provider deserialized the persisted entities by creating new instances and setting their fields via Reflection. This takes a long time. Better: Use a compile Expression to create a new instance and then create a dynamic method with IL to set the field.

comments

RonaldSchlenker wrote Sep 23, 2009 at 12:39 PM

The creation of instances in the ProxyGenerator as well as the setting of fields in the XmlSerializer is made in the described way.

wrote Feb 13, 2013 at 2:12 AM

wrote May 14, 2013 at 10:32 PM

wrote May 14, 2013 at 10:32 PM

wrote Jun 12, 2013 at 1:01 AM