views:

14

answers:

0

Is it possible to set entity framework string comparison case insensitive by default?

If I use string.StartsWith("stringToCompare", StringComparison.CurrentCultureIgnoreCase), it works. But when I need to use string.Contains("strigToCompare") it doesn't have an overload.