mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 04:18:16 +08:00
@ -533,7 +533,7 @@ WHERE ROWNUM < 11";
|
||||
|
||||
|
||||
g.mysql.SetDbContextOptions(opt => opt.EnableCascadeSave = true);
|
||||
var trepo = g.mysql.GetGuidRepository<TaskBuild>();
|
||||
var trepo = g.mysql.GetRepository<TaskBuild, Guid>();
|
||||
trepo.Insert(new TaskBuild
|
||||
{
|
||||
TaskName = "tt11",
|
||||
|
Reference in New Issue
Block a user