mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-04-22 10:42:52 +08:00
add test code
This commit is contained in:
parent
fca4c884d7
commit
7f819c758e
@ -18,7 +18,7 @@ namespace FreeSql.Tests.Issues
|
|||||||
public void MySqlInsertOrUpdate()
|
public void MySqlInsertOrUpdate()
|
||||||
{
|
{
|
||||||
var fsql = g.mysql;
|
var fsql = g.mysql;
|
||||||
var rst = fsql.Insert<Song_Tag>(new[] { new Song_Tag { SongId = 1, TagId = 1 } })
|
var rst = fsql.Insert(new[] { new Song_Tag { SongId = 1, TagId = 1 } })
|
||||||
.NoneParameter()
|
.NoneParameter()
|
||||||
.MySqlIgnoreInto()
|
.MySqlIgnoreInto()
|
||||||
.ToSql();
|
.ToSql();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user