Jan 5, 2016 at 4:46 PM
Edited Jan 5, 2016 at 7:52 PM
Found this project and it looks exactly like what I need! However I downloaded the source package and tried to build it and I get a bunch of errors like this:
Error CS0121 The call is ambiguous between the following methods or properties: 'DBDatabase.ExecuteReadEach(string, DBRecordCallback, DBOnErrorCallback)' and 'DBDatabase.ExecuteReadEach(string, object, DBContextRecordCallback)'
For the above example, the line in question is:
return ExecuteReadEach(sqltext, populator, null);
I can silence the error by doing:
return ExecuteReadEach(sqltext, populator, (DBContextRecordCallback)null);
return ExecuteReadEach(sqltext, populator, (DBRecordCallback)null);
But I'm not sure which it should be... and there are a lot of them.
Any ideas on how to fix?
Thanks for any help you can provide.
EDIT: Should note, I'm using VS2015 Community.