sqlsugar/Src/OracleUS7ASCII/SqlSugar/Json2Sql/Provider/Updateable/AppendTable.cs

22 lines
601 B
C#
Raw Normal View History

2025-05-11 16:20:50 +08:00
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace SqlSugar
{
public partial class JsonUpdateableProvider : IJsonUpdateableProvider<JsonUpdateResult>
{
private void AppendTable(JToken item)
{
var tableInfo = jsonCommonProvider.GetTableName(item);
this.TableName = tableInfo.TableName.ToCheckField();
if (tableInfo.ShortName.HasValue())
{
this.TableName = tableInfo.ShortName + "." + tableInfo.TableName;
}
}
}
}