mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
Update db.InsertableByObject
This commit is contained in:
@@ -62,6 +62,16 @@ namespace SqlSugar
|
||||
Context = result
|
||||
};
|
||||
}
|
||||
public CommonMethodInfo IgnoreColumns(bool ignoreNullColumn)
|
||||
{
|
||||
var inertable = MethodInfo.Invoke(Context, new object[] { objectValue });
|
||||
var newMethod = inertable.GetType().GetMyMethod("IgnoreColumns", 2, typeof(bool),typeof(bool));
|
||||
var result = newMethod.Invoke(inertable, new object[] { ignoreNullColumn, true });
|
||||
return new CommonMethodInfo()
|
||||
{
|
||||
Context = result
|
||||
};
|
||||
}
|
||||
|
||||
public SplitMethodInfo SplitTable()
|
||||
{
|
||||
|
Reference in New Issue
Block a user