From 9ae9c2b6e1fea0b8a039cb370f84c4e441669b6d Mon Sep 17 00:00:00 2001 From: Roman Marusyk Date: Thu, 27 Jan 2022 01:04:42 +0200 Subject: [PATCH] Fix parameter type mapping for Sqlite --- src/Microsoft.Data.Sqlite.Core/SqliteValueBinder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.Data.Sqlite.Core/SqliteValueBinder.cs b/src/Microsoft.Data.Sqlite.Core/SqliteValueBinder.cs index 3e7ac998b8a..1d7db99249d 100644 --- a/src/Microsoft.Data.Sqlite.Core/SqliteValueBinder.cs +++ b/src/Microsoft.Data.Sqlite.Core/SqliteValueBinder.cs @@ -255,7 +255,7 @@ public virtual void Bind() { typeof(long), SqliteType.Integer }, { typeof(sbyte), SqliteType.Integer }, { typeof(short), SqliteType.Integer }, - { typeof(string), SqliteType.Integer }, + { typeof(string), SqliteType.Text }, { typeof(TimeSpan), SqliteType.Text }, { typeof(uint), SqliteType.Integer }, { typeof(ulong), SqliteType.Integer },