mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
v0.10.7, - 调整 Insert<T1>(IEnumerable<T1> source) 参数类型改成了 List;
This commit is contained in:
@ -407,6 +407,12 @@ namespace FreeSql.Tests
|
||||
[Fact]
|
||||
public void Test1()
|
||||
{
|
||||
var testlistinsert = new List<AuthorTest>();
|
||||
g.sqlite.Insert(testlistinsert).ExecuteAffrows();
|
||||
|
||||
|
||||
|
||||
|
||||
var gkjdjd = g.sqlite.Select<AuthorTest>().Where(a => a.Post.AsSelect().Count() > 0).ToList();
|
||||
|
||||
var testrunsql1 = g.mysql.Select<TaskBuild>().Where(a => a.OptionsEntity04 > DateTime.Now.AddDays(0).ToString("yyyyMMdd").TryTo<int>()).ToSql();
|
||||
|
Reference in New Issue
Block a user