From 247dade237c352f5a168db1404fa357dc7a80830 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Sun, 8 Jan 2017 20:07:07 +0800 Subject: [PATCH] - --- .../DbProvider/DbBindProvider/DbBindAccessory.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/SqlSugar/Abstract/DbProvider/DbBindProvider/DbBindAccessory.cs b/SqlSugar/Abstract/DbProvider/DbBindProvider/DbBindAccessory.cs index 3ab387198..6a1cb7c1d 100644 --- a/SqlSugar/Abstract/DbProvider/DbBindProvider/DbBindAccessory.cs +++ b/SqlSugar/Abstract/DbProvider/DbBindProvider/DbBindAccessory.cs @@ -7,10 +7,10 @@ namespace SqlSugar { public partial class DbBindAccessory { - protected List GetEntityList(Type type,SqlSugarClient context, IDataReader dataReader,string fields) + protected List GetEntityList(Type type, SqlSugarClient context, IDataReader dataReader, string fields) { var cacheManager = CacheManager>.GetInstance(); - string key = "DataReaderToList." + fields +context.CurrentConnectionConfig.DbType+ type.FullName; + string key = "DataReaderToList." + fields + context.CurrentConnectionConfig.DbType + type.FullName; IDataReaderEntityBuilder eblist = null; if (cacheManager.ContainsKey(key)) { @@ -32,7 +32,7 @@ namespace SqlSugar } catch (Exception ex) { - Check.Exception(true,ErrorMessage.EntityMappingError, ex.Message); + Check.Exception(true, ErrorMessage.EntityMappingError, ex.Message); } return list; } @@ -76,7 +76,7 @@ namespace SqlSugar } else { - Check.Exception(true,ErrorMessage.NotSupportedDictionary); + Check.Exception(true, ErrorMessage.NotSupportedDictionary); } } } @@ -114,7 +114,7 @@ namespace SqlSugar else if (childType == PubConst.IntType) reval.Add((T)Convert.ChangeType(array.Select(it => it.ObjToInt()).ToArray(), type)); else - Check.Exception(true,ErrorMessage.NotSupportedArray); + Check.Exception(true, ErrorMessage.NotSupportedArray); } } return reval;