mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-06-28 13:34:32 +08:00
Add unit test
This commit is contained in:
parent
7d70f0b0ea
commit
f4c0335b45
@ -52,10 +52,21 @@ using System.Data;
|
|||||||
.Include(x => x.SysField)
|
.Include(x => x.SysField)
|
||||||
.Include(x => x.FormUpload)
|
.Include(x => x.FormUpload)
|
||||||
.ExecuteCommand();
|
.ExecuteCommand();
|
||||||
|
db.Queryable<SysFormField>()
|
||||||
|
.Select(it => new xxx
|
||||||
|
{
|
||||||
|
id = 1,
|
||||||
|
NAME= it.SysField.FieldName+":"+it.FieldName.ToString()
|
||||||
|
}).ToList();
|
||||||
Console.WriteLine("用例跑完");
|
Console.WriteLine("用例跑完");
|
||||||
// Console.ReadKey();
|
// Console.ReadKey();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class xxx
|
||||||
|
{
|
||||||
|
public int id { get; set; }
|
||||||
|
public string NAME { get; set; }
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user