1234567891011121314151617181920 |
- using Newtonsoft.Json.Linq;
- using System;
- using System.Collections.Generic;
- using System.Text;
- using System.Linq;
- namespace SqlSugar
- {
- public partial class JsonInsertableProvider : IJsonInsertableProvider<JsonInsertResult>
- {
- private void AppendName(JToken item)
- {
- var tableInfo = jsonCommonProvider.GetTableName(item);
- this.TableName = tableInfo.TableName.ToCheckField();
- if (tableInfo.ShortName.HasValue())
- {
- this.TableName = tableInfo.ShortName + "." + tableInfo.TableName;
- }
- }
- }
- }
|