Sqlite linux create database BUG

This commit is contained in:
skx
2020-05-14 17:05:32 +08:00
parent a97d3d8b22
commit 86d3c13706

View File

@@ -269,7 +269,7 @@ namespace SqlSugar
var path = Regex.Match(connString, @"[a-z,A-Z]\:\\.+\\").Value;
if (path.IsNullOrEmpty())
{
path = Regex.Match(connString, @"[a-z,A-Z]\:\/.+\/").Value;
path = Regex.Match(connString, @"\/.+\/").Value;
}
if (!FileHelper.IsExistDirectory(path))
{