mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
Sqlite linux create database BUG
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
Reference in New Issue
Block a user