From f9d0273b5e36e3c6f3dac1b0c21001932d4950b7 Mon Sep 17 00:00:00 2001 From: wintel Date: Sun, 17 Sep 2023 18:55:02 +0800 Subject: [PATCH] =?UTF-8?q?fix=20#I820A3=20sqlsugar=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=97=B6=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OpenAuth.Repository/Core/StringEntity.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenAuth.Repository/Core/StringEntity.cs b/OpenAuth.Repository/Core/StringEntity.cs index e2d610fa..e77cc08f 100644 --- a/OpenAuth.Repository/Core/StringEntity.cs +++ b/OpenAuth.Repository/Core/StringEntity.cs @@ -1,5 +1,6 @@ using System; using System.ComponentModel; +using SqlSugar; namespace OpenAuth.Repository.Core { @@ -9,6 +10,7 @@ namespace OpenAuth.Repository.Core public class StringEntity : BaseEntity { [Browsable(false)] + [SugarColumn(IsPrimaryKey = true)] public string Id { get; set; } ///