pchalamet/cassandra-sharp — pull request #27 by ananthonline (2013-01-29 16:34:39+00:00)
Title: Removed need to call Activator.CreateInstance for each call to Execute or ExecuteNonQuery

Added DynamicDataMapperFactory, which circumvents DynamicDataSourceFactory (and thereby a call to Activator.CreateInstance) for each Execute or ExecuteNonQuery call. Because we already have the T parameter, there is no need to execute DynamicDataSourceFactory.Create, we can simply call "new DynamicDataSource { Datasource = dataSource };" instead. None of the object visibilities have been altered and the change is extremely localized.