From 2e1194caa2dc701cb5e38026bda34f365e886a54 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Sun, 19 May 2019 20:14:05 +0800 Subject: [PATCH] - --- .../SqlSugar/Abstract/AdoProvider/AdoProvider.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Src/Asp.Net/SqlSugar/Abstract/AdoProvider/AdoProvider.cs b/Src/Asp.Net/SqlSugar/Abstract/AdoProvider/AdoProvider.cs index 24f3fd0dd..3306e8fa4 100644 --- a/Src/Asp.Net/SqlSugar/Abstract/AdoProvider/AdoProvider.cs +++ b/Src/Asp.Net/SqlSugar/Abstract/AdoProvider/AdoProvider.cs @@ -839,36 +839,42 @@ namespace SqlSugar List result2 = null; if (DbReader.HasRows) { + this.Context.InitMappingInfo(); NextResult(dataReader); result2 = this.DbBind.DataReaderToListNoUsing(typeof(T2), dataReader); } List result3 = null; if (DbReader.HasRows) { + this.Context.InitMappingInfo(); NextResult(dataReader); result3 = this.DbBind.DataReaderToListNoUsing(typeof(T3), dataReader); } List result4 = null; if (DbReader.HasRows) { + this.Context.InitMappingInfo(); NextResult(dataReader); result4 = this.DbBind.DataReaderToListNoUsing(typeof(T4), dataReader); } List result5 = null; if (DbReader.HasRows) { + this.Context.InitMappingInfo(); NextResult(dataReader); result5 = this.DbBind.DataReaderToListNoUsing(typeof(T5), dataReader); } List result6 = null; if (DbReader.HasRows) { + this.Context.InitMappingInfo(); NextResult(dataReader); result6 = this.DbBind.DataReaderToListNoUsing(typeof(T6), dataReader); } List result7 = null; if (DbReader.HasRows) { + this.Context.InitMappingInfo(); NextResult(dataReader); result7 = this.DbBind.DataReaderToListNoUsing(typeof(T7), dataReader); } @@ -954,36 +960,42 @@ namespace SqlSugar List result2 = null; if (DbReader.HasRows) { + this.Context.InitMappingInfo(); NextResult(dataReader); result2 = await this.DbBind.DataReaderToListNoUsingAsync(typeof(T2), dataReader); } List result3 = null; if (DbReader.HasRows) { + this.Context.InitMappingInfo(); NextResult(dataReader); result3 = await this.DbBind.DataReaderToListNoUsingAsync(typeof(T3), dataReader); } List result4 = null; if (DbReader.HasRows) { + this.Context.InitMappingInfo(); NextResult(dataReader); result4 = await this.DbBind.DataReaderToListNoUsingAsync(typeof(T4), dataReader); } List result5 = null; if (DbReader.HasRows) { + this.Context.InitMappingInfo(); NextResult(dataReader); result5 = await this.DbBind.DataReaderToListNoUsingAsync(typeof(T5), dataReader); } List result6 = null; if (DbReader.HasRows) { + this.Context.InitMappingInfo(); NextResult(dataReader); result6 = await this.DbBind.DataReaderToListNoUsingAsync(typeof(T6), dataReader); } List result7 = null; if (DbReader.HasRows) { + this.Context.InitMappingInfo(); NextResult(dataReader); result7 = await this.DbBind.DataReaderToListNoUsingAsync(typeof(T7), dataReader); }