mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-12-26 18:05:48 +08:00
- 增加 ISelect.InsertInto 将查询转换为 INSERT INTO t1 SELECT ... FROM t2 执行插入;#469
This commit is contained in:
@@ -215,6 +215,11 @@ UNION ALL
|
||||
|
||||
Assert.Equal(1, insert.AppendData(items.First()).ExecuteAffrows());
|
||||
Assert.Equal(10, insert.NoneParameter().AppendData(items).ExecuteAffrows());
|
||||
|
||||
Assert.Equal(10, g.firebird.Select<Topic>().Limit(10).InsertInto(null, a => new Topic
|
||||
{
|
||||
Title = a.Title
|
||||
}));
|
||||
}
|
||||
[Fact]
|
||||
public void ExecuteIdentity()
|
||||
|
||||
Reference in New Issue
Block a user