- 完善 Select`2-10 多表查询对象,增加 First(select)/ToOne(select)/First\<Dto\> 方法;

This commit is contained in:
28810
2019-12-19 13:46:11 +08:00
parent eb4bbd9448
commit ec25ccea86
25 changed files with 376 additions and 212 deletions

View File

@@ -43,21 +43,6 @@ namespace FreeSql.Tests
// fsql.Select<ut3_t1>().ToList();
//}
var tb1 = g.sqlite.CodeFirst.GetTableByEntity(typeof(pkfalse_t1));
var tb2 = g.sqlite.CodeFirst.GetTableByEntity(typeof(pkfalse_t2));
}
class pkfalse_t1
{
[Column(IsPrimary = false)]
public int id { get; set; }
}
class pkfalse_t2
{
[Column(IsPrimary = true)]
public int id { get; set; }
}
class ut3_t1
@@ -66,7 +51,6 @@ namespace FreeSql.Tests
public int id { get; set; }
public string name { get; set; }
}
class ut3_t2
{
[Column(IsIdentity = true)]