sqlsugar/Src/Asp.Net/SqlSugar/Json2Sql/Provider/Insertable/AppendIdentity.cs

17 lines
431 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 JsonInsertableProvider : IJsonInsertableProvider<JsonInsertResult>
{
private void AppendIdentity(JToken item)
{
var tableInfo = jsonCommonProvider.GetTableName(item);
this.IdentityId = tableInfo.TableName;
}
}
}