Skip to content

Commit

Permalink
1. fix GetDataSetAsync to use NextResultAsync
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahoo-Wang committed Jul 1, 2018
1 parent 1a5bf5d commit 2cdcdb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/SmartSql/SmartSql.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@
<PackageProjectUrl>https://github.com/Ahoo-Wang/SmartSql</PackageProjectUrl>
<RepositoryUrl>https://github.com/Ahoo-Wang/SmartSql</RepositoryUrl>
<PackageRequireLicenseAcceptance>False</PackageRequireLicenseAcceptance>
<Version>3.3.6</Version>
<Version>3.3.8</Version>
<PackageTags>orm sql read-write-separation cache redis dotnet-core cross-platform high-performance distributed-computing zookeeper</PackageTags>
<PackageReleaseNotes>
1. add ISession
2. add ITransaction
1. fix GetDataSetAsync to use NextResultAsync
</PackageReleaseNotes>
<PackageIconUrl>https://raw.githubusercontent.com/Ahoo-Wang/SmartSql/master/SmartSql.png</PackageIconUrl>
<PackageLicenseUrl>https://raw.githubusercontent.com/Ahoo-Wang/SmartSql/master/LICENSE</PackageLicenseUrl>
Expand Down
2 changes: 1 addition & 1 deletion src/SmartSql/Utils/DataReaderConvert.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public static async Task<DataSet> ToDataSetAsync(DbDataReader dataReader)
DataTable dataTable = await ToDataTableAsync(dataReader);
dataSet.Tables.Add(dataTable);
}
while (dataReader.NextResult());
while (await dataReader.NextResultAsync());
return dataSet;
}
private static void InitDataTableColumns(IDataReader dataReader, DataTable dataTable)
Expand Down

0 comments on commit 2cdcdb9

Please sign in to comment.