This project is read-only.

CoNatural Components v2.0

Rating: No reviews yet
Downloads: 64
Change Set: 56534
Released: Mar 19, 2011
Updated: Mar 19, 2011 by conatural
Dev status: Beta Help Icon

Recommended Download

Application CoNatural 2.0
application, 187K, uploaded Mar 19, 2011 - 64 downloads

Release Notes

  • New CoNatural.dll assembly with generic tools
  • New generic type binders in CoNatural.dll
  • Dto and Helpers moved to CoNatural.dll
  • Refactored CoNatural.Data IConnection and execution context to use generic binder interface instead of TypeMapper and TypeMaterializer
  • New property binder, command binder, and materializer using generic IBinder interface (optimized binders using dynamically compiled types)
  • Simplified IConnection interface with IDataBinderFactory
  • Removed IIndirectPropertyInfo interface in favor of generic property binder that traverses source references searching for matches to target object up to 3 levels of indirection. No need to map properties to parameters since the binder does it automatically by matching public property names.
  • Removed old type mapper and materializer interfaces and base classes.
  • Materializer now caches binders by type and record index to allow binding multiple result sets to different types or same target.
  • Removed "where T : class" constraint in IConnection ExecuteScalar<T>
  • Removed ExecuteReader<K, T> from IConnection in favor of LINQ ToDictionary<T, K>(lambda)
  • Materialize static in DynamicReader
  • New Script constructor to pass parameters as dynamic object mapping public properties

VS AddIn

  • VS AddIn now remembers the last T4 directory used by the current session.
  • T4 using Data Annotation Attributes for string properties (Required and StringLength)
  • T4 modified to return data in a 1-row dataset instead of mapped output parameters.
  • New PropertySizes[] property added to CrudHost and PropertyHelper
  • Updated VSAddIn2010 project to reference VS2010 TextTemplating assemblies.

Reviews for this release

No reviews yet for this release.