markrendle / Simple.Data

A light-weight, dynamic data access component for C# 4.0
MIT License
1.33k stars 303 forks source link

Fix for Issue #362 #365

Closed praveensastry closed 5 years ago

praveensastry commented 9 years ago

Fix for Issue #362

When an empty list is passed into where clause it is throwing an exception, Instead it is helpful if it could return an empty list of the desired type.

I followed the code and found that if we can pass the parameter value as a DBNull it could fix the Issue.

praveensastry commented 9 years ago

Hi @markrendle ,

Thanks for this great project. It is highly exciting work. I am new to GitHub and haven't contributed to OSP's earlier. Could you please tell me why the pull request has failed and how i could resolve it.

Thanks