svn2github / dynasql

This is a clone of an SVN repository at https://dynasql.svn.codeplex.com/svn. It had been cloned by http://svn2github.com/ , but the service was since closed. Please read a closing note on my blog post: http://piotr.gabryjeluk.pl/blog:closing-svn2github . If you want to continue synchronizing this repo, look at https://github.com/gabrys/svn2github
1 stars 7 forks source link

dynasql is not supported in Visual Studio 2017 #1

Open amrit-kumar opened 6 years ago

amrit-kumar commented 6 years ago

screenshot 25 I am unable to build this project in Visual Studio 2017 however it works fine in visual studio 2013.

Actually I have used dynasql in my project and now i want to use Visual Studio 2017 but I am unable to build my project as it seems that dynasql is not supported with Visual Studio 2017.

I cannot opt for options other than dynasql , because I have used it extensively in my project which is on C# , .net 4.5 and angularjs 1.6.

when I build this project in vs 2017 then it gives errors like this...

Severity    Code    Description Project File    Line    Suppression State
Error   CS0121  The call is ambiguous between the following methods or properties: 

'DBDatabase.ExecuteReadEach(string, DBRecordCallback, DBOnErrorCallback)' and 

'DBDatabase.ExecuteReadEach(string, object, DBContextRecordCallback)'   

Perceiveit.Data *\dynasql-master\dynasql-master\Perceiveit.Data.DynaSQL\Perceiveit.Data\DBDatabase.cs   268 Active

I have attached the complete error stacktrace as a text file and a screenshot. error_for_dynasql.txt

saurabhtyagi00 commented 5 years ago

if you did not figure it out, then add (DBOnErrorCallback) in every error you get

public object[] ExecuteReadEach(string sqltext, DBRecordCallback populator) { return ExecuteReadEach(sqltext, populator, (DBOnErrorCallback)null); }