Update db.InsertableByObject

This commit is contained in:
sunkaixuan
2024-01-16 17:20:42 +08:00
parent 81d2d87419
commit 4f4ffaf2a2

View File

@@ -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()
{