using Newtonsoft.Json.Linq;

namespace ThingsGateway.SqlSugar
{
    public partial class JsonUpdateableProvider : IJsonUpdateableProvider<JsonUpdateResult>
    {
        private void AppendWhereColumns(JToken item)
        {
            var columns = item.First().ToObject<string[]>();
            Check.ExceptionEasy(columns.IsNullOrEmpty(), "need WhereColumns", "WhereColumns 需要设置列名");
            this.sugarUpdateable.WhereColumns(columns);
        }

    }
}
