Add unit test

This commit is contained in:
sunkaixuan 2023-05-31 22:11:27 +08:00
parent 7d70f0b0ea
commit f4c0335b45

View File

@ -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; }
}