mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 修复 LazyLoading 在 Net4 环境下的问题;
This commit is contained in:
@ -35,13 +35,6 @@ namespace orm_vs
|
||||
|
||||
static void Main(string[] args)
|
||||
{
|
||||
var testlist1 = fsql.Select<Song>().OrderBy(a => a.Id).ToList();
|
||||
var testlist2 = new List<Song>();
|
||||
fsql.Select<Song>().OrderBy(a => a.Id).ToChunk(0, list =>
|
||||
{
|
||||
testlist2.AddRange(list);
|
||||
});
|
||||
|
||||
fsql.CodeFirst.SyncStructure(typeof(Song), typeof(Song_tag), typeof(Tag));
|
||||
//sugar.CodeFirst.InitTables(typeof(Song), typeof(Song_tag), typeof(Tag));
|
||||
//sugar创建表失败:SqlSugar.SqlSugarException: Sequence contains no elements
|
||||
|
Reference in New Issue
Block a user