mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 01:58:13 +08:00
DbFirst Where Case insensitive
This commit is contained in:
@@ -122,7 +122,7 @@ namespace SqlSugar
|
||||
{
|
||||
if (objectNames.HasValue())
|
||||
{
|
||||
this.TableInfoList = this.TableInfoList.Where(it => objectNames.Contains(it.Name)).ToList();
|
||||
this.TableInfoList = this.TableInfoList.Where(it => objectNames.Select(x=>x.ToLower()).Contains(it.Name.ToLower())).ToList();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user