You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there was a small problem in case of MySql in inserts - column names cannot be inside brackets [].
Autoincremented ID can be taken by using
SELECT CAST(LAST_INSERT_ID() AS UNSIGNED INTEGER) and taking that from dapper as Ulong and converting to int.
There is also small ise in sql server adapter - scope_identity is better option for pure sql server ( i copied existing adapter as a SqlCeAdapter) - you can look into my fork - there were updates there of some libs and project is saved as VS2015 solution - maybe not feasible here
The text was updated successfully, but these errors were encountered:
HI,
there was a small problem in case of MySql in inserts - column names cannot be inside brackets [].
Autoincremented ID can be taken by using
SELECT CAST(LAST_INSERT_ID() AS UNSIGNED INTEGER) and taking that from dapper as Ulong and converting to int.
There is also small ise in sql server adapter - scope_identity is better option for pure sql server ( i copied existing adapter as a SqlCeAdapter) - you can look into my fork - there were updates there of some libs and project is saved as VS2015 solution - maybe not feasible here
The text was updated successfully, but these errors were encountered: