Add: QueryableByObject.MergeTable

This commit is contained in:
sunkaixuan 2024-05-01 10:22:47 +08:00
parent 9cfd9c0c23
commit 8f2daeabdf

View File

@ -19,6 +19,13 @@ namespace SqlSugar
#endregion
#region Sql API
public QueryMethodInfo MergeTable()
{
var method = QueryableObj.GetType().GetMethod("MergeTable");
this.QueryableObj = method.Invoke(QueryableObj, new object[] { });
return this;
}
public QueryMethodInfo AS(string tableName)
{
string shortName = $"{tableName}_1";