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
I'm using MicroOrm with Dapper and I have a little problem because I pass an array to GetSelect and final result is = instead on In even if in where (value1, value2) is right. Here is a partial example of query executed when I look with Sql Profile.
Hi, thanks for use the library.
That change makes sense and it doesn't seems to be hard. I can do the
change but maybe by the end of this week.
If you want to contribute you can fork the repository and then send a pull
request. I will be more than glad to accept contributions.
Other option is to override your GetWhere function for your specific class.
On May 26, 2016 10:54 AM, "sgadoury" [email protected] wrote:
Hi,
I'm using MicroOrm with Dapper and I have a little problem because I pass an array to GetSelect and final result is = instead on In even if in where (value1, value2) is right. Here is a partial example of query executed when I look with Sql Profile.
Hi,
Select ..... WHERE [table1].[LOAD_DATE] = (@LoadDate1,@LoadDate2) ',N'@LoadDate1 datetime,@LoadDate2 datetime',@LoadDate1='2016-05-20 00:00:00',@LoadDate2='2016-05-26 00:00:00'
If it is simpler for you, you could only change method ToWhere to be protected virtual and it will be OK for me.
Thank you
The text was updated successfully, but these errors were encountered: