DotNetNext / SqlSugar

.Net aot ORM Fastest ORM Simple Easy VB.NET Sqlite orm Oracle ORM Mysql Orm 虚谷数据库 postgresql ORm SqlServer oRm 达梦 ORM 人大金仓 ORM 神通ORM C# ORM , C# ORM .NET ORM NET5 ORM .NET6 ORM ClickHouse orm QuestDb ,TDengine ORM,OceanBase orm,GaussDB orm ,Tidb orm Object/Relational Mapping
https://www.donet5.com/Home/Doc
MIT License
5.27k stars 1.33k forks source link

关于查询条件字符集的问题 #1090

Closed xulei-Itachi closed 1 year ago

xulei-Itachi commented 1 year ago

现有一DB, where xxx in ('中文1', '中文1') 查不出数据, 要写成 where xxx in (N'中文1',N '中文1') 请问orm中怎么写

DotNetNext commented 1 year ago

names.Contains(p.name,true) 新版本支持

DotNetNext commented 1 year ago

还有疑问吗?

xulei-Itachi commented 1 year ago

DotNetNext commented 1 year ago

names.Contains(p.name,false) 应该是false说错了

heaxo commented 1 month ago

@DotNetNext 你好,请问value = N'值',如何写