mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-30 04:45:54 +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.FormUpload)
|
||||
.ExecuteCommand();
|
||||
|
||||
db.Queryable<SysFormField>()
|
||||
.Select(it => new xxx
|
||||
{
|
||||
id = 1,
|
||||
NAME= it.SysField.FieldName+":"+it.FieldName.ToString()
|
||||
}).ToList();
|
||||
Console.WriteLine("用例跑完");
|
||||
// Console.ReadKey();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
public class xxx
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string NAME { get; set; }
|
||||
}
|
Loading…
Reference in New Issue
Block a user