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); }