mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-30 22:10:22 +08:00
Update Saveable
This commit is contained in:
parent
cca8a34ff7
commit
2198b79a56
@ -13,11 +13,13 @@ namespace SqlSugar
|
||||
{
|
||||
this.saveObjects = saveObjects;
|
||||
this.Context = context;
|
||||
this.Context.InitMppingInfo<T>();
|
||||
}
|
||||
internal SaveableProvider(SqlSugarClient context, T saveObject)
|
||||
{
|
||||
this.saveObjects = new List<T>() { saveObject };
|
||||
this.Context = context;
|
||||
this.Context.InitMppingInfo<T>();
|
||||
}
|
||||
public SqlSugarClient Context { get; set; }
|
||||
public List<T> saveObjects = new List<T>();
|
||||
|
Loading…
Reference in New Issue
Block a user