This project is read-only.

CoNatural Components v2.1

Rating: No reviews yet
Downloads: 127
Change Set: 62534
Released: Sep 20, 2011
Updated: Oct 3, 2011 by conatural
Dev status: Beta Help Icon

Recommended Download

Application CoNatural 2.1 - NET4.0
application, 93K, uploaded Oct 3, 2011 - 101 downloads

Other Available Downloads

Application CoNatural 2.1 - NET3.5
application, 95K, uploaded Oct 3, 2011 - 26 downloads

Release Notes

  • Defined a simpler IBinder interface
  • Re-implemented binders as delegate factories using dynamic methods from LINQ Expression trees. This approach is very efficient compared to reflection or dynamically generated assemblies. Binders are now cached in the main AppDomain with minimun overhead, and are generated on demand.
  • Factories for binding POCO Types A to B (Property binders), ICommand To IDbCommand (Command binders), and IDataRecord to POCO Types (Materializers).
  • Concrete binder factories are used internally by IDataBinder (DataBinderBase) to create and cache binders by connection
  • All Execution Contexts using new binders
  • VS2008 solution references Microsoft.Scripting.Core.dll - from (b/c of limited implementation of expression trees in NET 3.5)


  • Refactored core to use new binders instead of IDataCommand, IDataCommandFactory via reflection (Removed IDataCommand, DataCommandBase, IDataBinderFactory, DataCommandFactoryBase, IParameter, ParameterBase)
  • Moved all parameter linking logic (in batch execution) from CommandExecutionContext to BatchExecutionContext (BatchItem list)
  • Moved DynamicReader, Extensions, Parameter helper to Helpers folder


  • New IRepository<T> interface to implement the repository pattern (Load, Save, Delete). Replaced single command T4 templates with new T4 repository template.
  • New TemplateHost used by T4 templating engine
  • New Table and Stored Procedure template wizards
  • New host excludes read only (computed) columns in insert and update commands
  • New NamespaceAttribute.cs attribute to annotate command's schema. When using stored procedure execution mode (and batch execution), the schema of the command can be defined by this attribute, allowing better control of the SQL namespace (security and organization of SQL objects).

Reviews for this release

No reviews yet for this release.