-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ignore case for IQueryable #15
Comments
This is certainly a good new feature. Be good to have it as a configurable option though. e.g.
I'll can try and look at this in more detail and get something pushed through. |
Yes, I made it in my branch, it just have different name. In my project it's called IgnoreCase() |
That sounds good. Have you implemented it for all comparison methods (e.g. |
Sorry, just Contains |
Hi! Where is a solution because I cannot find it? |
What Db engine do you use?
…On Fri, 26 Jun 2020, 23:41 PatryxCShark, ***@***.***> wrote:
Hi! Where is a solution because I cannot find it?
I want to have possibility to decide about case sensitive or case
insensitive comparison especially when it comes to Containing.
Thanks in advanced
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCD4FX2Q3UKRO6Q5VXSA3TRYUBYXANCNFSM4CYUPRZQ>
.
|
MS SQL, but sometimes I have IQueryable which is done in memory. If I know is process on memory side, should I do IQueryable.AsEnumerable() and then use SetCulture? |
Ms sql is case insensitive. This change is required only for DB engines who
are case sensitive, for example postgres sql.
…On Sat, 27 Jun 2020, 00:03 PatryxCShark, ***@***.***> wrote:
MS SQL, but sometimes I have IQueryable which is done in memory. If I know
is process on memory side, should I do IQueryable.AsEnumerable() and then
use SetCulture?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCD4FUWVZE7P764AQ7KGQTRYUEKHANCNFSM4CYUPRZQ>
.
|
Some databases, such as Postgre is case sensitive.
You could implement case insensitive queries for IQueryable, by using toLower before applying filter clause.
I implemented it on my own branch on 'contains', I could share it here if you want.
There is small example:
The text was updated successfully, but these errors were encountered: