private static string GetDotNetConnStr(SqliteUri dbUri, bool hasPassword, bool isZipVfs) { var sb = new StringBuilder(); sb.Append($"FullUri={dbUri.FormattedValue};"); if (isZipVfs && hasPassword) { sb.Append("ZipVfsVersion=v3;"); } return(sb.ToString()); }
private static string GetDotNetConnStr(SqliteUri dbUri, bool hasPassword, bool isZipVfs) { var sb = new StringBuilder(); sb.Append($"FullUri={dbUri.FormattedValue};"); if (isZipVfs && hasPassword) { sb.Append("ZipVfsVersion=v3;"); } return sb.ToString(); }