v1.3.0-preview10 tests

This commit is contained in:
28810
2020-03-20 02:14:29 +08:00
parent a7b09bf0af
commit 25312ceead
5 changed files with 5 additions and 10 deletions

View File

@@ -195,6 +195,7 @@ namespace FreeSql.Tests.Oracle
[Fact]
public void ToDictionary()
{
g.oracle.Insert(new Topic { Title = "xxx" }).ExecuteAffrows();
var testDto1 = select.Limit(10).ToDictionary(a => a.Id);
var testDto2 = select.Limit(10).ToDictionary(a => a.Id, a => new { a.Id, a.Title });