File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ private IDataSource GetDataSource(DataSourceChoice sourceChoice)
4242 IDataSource choiceDataSource = _smartSqlContext . Database . WriteDataSource ;
4343 var readDataSources = _smartSqlContext . Database . ReadDataSources ;
4444 if ( sourceChoice == DataSourceChoice . Read
45+ && readDataSources != null
4546 && readDataSources . Count > 0
4647 )
4748 {
Original file line number Diff line number Diff line change 1111 <PackageProjectUrl >https://github.com/Ahoo-Wang/SmartSql</PackageProjectUrl >
1212 <RepositoryUrl >https://github.com/Ahoo-Wang/SmartSql</RepositoryUrl >
1313 <PackageRequireLicenseAcceptance >False</PackageRequireLicenseAcceptance >
14- <Version >3.5.12 </Version >
14+ <Version >3.5.13 </Version >
1515 <PackageTags >orm sql read-write-separation cache redis dotnet-core cross-platform high-performance distributed-computing zookeeper</PackageTags >
1616 <PackageReleaseNotes >
17- 1. fixed Tag.For NotDirectValue bug
17+ 1. fixed DataSourceFilter error
1818 </PackageReleaseNotes >
1919 <PackageIconUrl >https://raw.githubusercontent.com/Ahoo-Wang/SmartSql/master/SmartSql.png</PackageIconUrl >
2020 <PackageLicenseUrl >https://raw.githubusercontent.com/Ahoo-Wang/SmartSql/master/LICENSE</PackageLicenseUrl >
You can’t perform that action at this time.
0 commit comments