mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-12-27 10:25:47 +08:00
v1.3.0-preview10 tests
This commit is contained in:
@@ -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 });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user