mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
Reflection 替换 ExpressionTree,单元测试已通过
This commit is contained in:
@ -56,6 +56,11 @@ namespace FreeSql.Tests.PerformanceTest {
|
||||
time.Stop();
|
||||
sb.AppendLine($"Elapsed: {time.Elapsed}; Query Tuple Counts: {t4.Count}; ORM: FreeSql*");
|
||||
|
||||
time.Restart();
|
||||
var t41 = g.mysql.Select<xxx>().ToList<(int, string, string)>("id,title,url");
|
||||
time.Stop();
|
||||
sb.AppendLine($"Elapsed: {time.Elapsed}; Query ToList<Tuple> Counts: {t41.Count}; ORM: FreeSql*");
|
||||
|
||||
time.Restart();
|
||||
var t5 = g.mysql.Ado.Query<dynamic>("select * from song");
|
||||
time.Stop();
|
||||
|
Reference in New Issue
Block a user