Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 760ac4f

Browse files
committed
Make string dictionary case insensitive
1 parent 59d37f6 commit 760ac4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceStack.OrmLite/OrmLiteUtils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ public static Tuple<FieldDefinition, int, IOrmLiteConverter>[] GetIndexFieldsCac
372372

373373
if (remainingFieldDefs.Count > 0)
374374
{
375-
var dbFieldMap = new Dictionary<string, int>();
375+
var dbFieldMap = new Dictionary<string, int>(StringComparer.InvariantCultureIgnoreCase);
376376
for (var i = 0; i < reader.FieldCount; i++)
377377
{
378378
dbFieldMap[reader.GetName(i)] = i;

0 commit comments

Comments
 (0)