mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
-
This commit is contained in:
parent
4a2ae290ad
commit
267bef70bf
@ -8,7 +8,7 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
namespace SqlSugar
|
||||
{
|
||||
public class SqliteProvider : AdoProvider
|
||||
public partial class SqliteProvider : AdoProvider
|
||||
{
|
||||
public SqliteProvider() { }
|
||||
public override IDbConnection Connection
|
||||
@ -93,6 +93,7 @@ namespace SqlSugar
|
||||
}
|
||||
if (sqlParameter.DbType == System.Data.DbType.Guid) {
|
||||
sqlParameter.DbType = System.Data.DbType.String;
|
||||
sqlParameter.Value = sqlParameter.Value.ObjToString();
|
||||
}
|
||||
++index;
|
||||
}
|
||||
|
@ -8,6 +8,6 @@ namespace OrmTest
|
||||
{
|
||||
public class Config
|
||||
{
|
||||
public static string ConnectionString = "DataSource=F:\\MyOpenSource\\SqlSugar4.XNew\\SqlSugar\\Src\\Asp.Net\\SqliteTest\\DataBase\\\\SqlSugar4xTest.sqlite";
|
||||
public static string ConnectionString = @"DataSource=D:\MyGit\SqlSugar\Src\Asp.Net\SqliteTest\DataBase\SqlSugar4xTest.sqlite";
|
||||
}
|
||||
}
|
||||
|
Binary file not shown.
@ -1,24 +0,0 @@
|
||||
/*
|
||||
Navicat SQLite Data Transfer
|
||||
|
||||
Source Server : x
|
||||
Source Server Version : 30714
|
||||
Source Host : :0
|
||||
|
||||
Target Server Type : SQLite
|
||||
Target Server Version : 30714
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 2017-07-09 17:02:41
|
||||
*/
|
||||
|
||||
PRAGMA foreign_keys = OFF;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for X
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS "main"."X";
|
||||
CREATE TABLE "X" (
|
||||
"T" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
|
||||
"x" time
|
||||
);
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user