mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-30 04:45:54 +08:00
Update 达梦 schema
This commit is contained in:
parent
7ca254aaea
commit
598c388295
@ -517,7 +517,7 @@ WHERE table_name = '" + tableName + "'");
|
||||
public static string ExtractSchema(string connectionString)
|
||||
{
|
||||
string pattern = @"(?i)(?:^|;)schema=(\w+)";
|
||||
Match match = Regex.Match(connectionString, pattern,RegexOptions.IgnoreCase);
|
||||
Match match = Regex.Match(connectionString?.Replace(" ",""), pattern,RegexOptions.IgnoreCase);
|
||||
return match.Success ? match.Groups[1].Value : null;
|
||||
}
|
||||
public override bool IsAnyTable(string tableName, bool isCache = true)
|
||||
|
Loading…
Reference in New Issue
Block a user