From 9fedcac47df72f86982c560e3f5bdd02582be24d Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Sat, 20 Apr 2019 20:26:21 +0800 Subject: [PATCH] Sqlite byte BUG --- .../Abstract/DbBindProvider/IDataReaderEntityBuilder.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Src/Asp.Net/SqlSugar/Abstract/DbBindProvider/IDataReaderEntityBuilder.cs b/Src/Asp.Net/SqlSugar/Abstract/DbBindProvider/IDataReaderEntityBuilder.cs index 3f4992bec..eb3763112 100644 --- a/Src/Asp.Net/SqlSugar/Abstract/DbBindProvider/IDataReaderEntityBuilder.cs +++ b/Src/Asp.Net/SqlSugar/Abstract/DbBindProvider/IDataReaderEntityBuilder.cs @@ -198,6 +198,10 @@ namespace SqlSugar { method = isNullableType ? getConvertInt32 : getInt32; } + else if (bindPropertyType == UtilConstants.ByteType) + { + method = isNullableType ? getConvertByte : getByte; + } else if (bindPropertyType == UtilConstants.StringType) { method = getString;