shuxinqin / Chloe

A lightweight and high-performance Object/Relational Mapping(ORM) library for .NET --C#
https://github.com/shuxinqin/Chloe/wiki
MIT License
1.52k stars 455 forks source link

contains如何查询带特殊字符的 #353

Closed addasx233 closed 1 year ago

addasx233 commented 1 year ago

q.Where(a => a.b007.Contains(“苏医保发[2022] 84号”)).ToList();查不了带特殊字符[]的

shuxinqin commented 1 year ago

var value = "苏医保发[2022] 84号"; q.Where(a => a.b007.Contains(value)).ToList(); 试试?