public void SelectBytes(SelectBytes value, Action<IDataReader> yield) { WithConnection( c => { value.ExecuteReader(c).WithEachReader(yield); } ); }
public void SelectBytes(SelectBytes value, Action<IDataReader> yield) { WithConnection( c => { //Error 7 'System.Data.IDataReader' does not contain a definition for 'WithEachReader' and the best extension method overload 'DropFileIntoSQLite.Schema.XX.WithEachReader(System.Data.SQLite.SQLiteDataReader, System.Action<System.Data.IDataReader>)' has some invalid arguments X:\jsc.svn\examples\javascript\io\DropFileIntoSQLite\DropFileIntoSQLite\Schema\Table1.cs 99 20 DropFileIntoSQLite value.ExecuteReader(c).WithEachReader(yield); } ); }
public void SelectBytes(SelectBytes AppSnapshotKey, Action<string> content) { Console.WriteLine("SelectBytes"); WithConnection( c => { AppSnapshotKey.ExecuteReader(c).WithEach( r => { string AppSnapshotContent = r.AppSnapshotContent; content(AppSnapshotContent); } ); } ); }