mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 18:48:09 +08:00
Insert BUG
This commit is contained in:
@@ -116,6 +116,8 @@ new List<SugarParameter>() {
|
||||
|
||||
insertObj.Name = null;
|
||||
var t10 = db.Insertable(insertObj).ExecuteCommand();
|
||||
|
||||
var t11 = db.Insertable(new MyStudent() { Id = 1, Name = "张三" }).AS("Student").ToSql();
|
||||
}
|
||||
|
||||
public SqlSugarClient GetInstance()
|
||||
@@ -124,4 +126,10 @@ new List<SugarParameter>() {
|
||||
return db;
|
||||
}
|
||||
}
|
||||
|
||||
public class MyStudent {
|
||||
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user