From 26e7bafa4b7ae90e7974602b15684a7a0fd75706 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Sun, 23 Apr 2017 15:00:49 +0800 Subject: [PATCH] - --- .../DbProvider/DbBindProvider/IDataReaderEntityBuilder.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SqlSugar/Abstract/DbProvider/DbBindProvider/IDataReaderEntityBuilder.cs b/SqlSugar/Abstract/DbProvider/DbBindProvider/IDataReaderEntityBuilder.cs index 27bd4754a..68c1a4449 100644 --- a/SqlSugar/Abstract/DbProvider/DbBindProvider/IDataReaderEntityBuilder.cs +++ b/SqlSugar/Abstract/DbProvider/DbBindProvider/IDataReaderEntityBuilder.cs @@ -286,12 +286,12 @@ namespace SqlSugar } } } - private void CheckType(List errorTypes, string objType, string dbType, string field) + private void CheckType(List errorTypes, string objType, string transformedPropertyName, string propertyName) { var isAny = errorTypes.Contains(objType); if (isAny) { - throw new SqlSugarException(string.Format("{0} can't convert {1} to {2}", field, dbType, objType)); + throw new SqlSugarException(string.Format("{0} can't convert {1} to {2}", propertyName, transformedPropertyName, objType)); } } }