From dca371282839fe5cee4d116a401276b198be3c6c Mon Sep 17 00:00:00 2001 From: "fei.pan" Date: Thu, 16 Nov 2023 14:58:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=A1=A8=E8=BE=BE=E5=BC=8F?= =?UTF-8?q?=E7=AE=80=E5=8C=96=E7=9A=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/Tnb.Common/Contracts/BaseEntity`1.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/Tnb.Common/Contracts/BaseEntity`1.cs b/common/Tnb.Common/Contracts/BaseEntity`1.cs index 7f220fb4..6c606c66 100644 --- a/common/Tnb.Common/Contracts/BaseEntity`1.cs +++ b/common/Tnb.Common/Contracts/BaseEntity`1.cs @@ -13,6 +13,6 @@ public class BaseEntity : Entity, IEntity where TKey : IEquatable public override object[] GetKeys() { - return [id]; + return new object[] { id }; } }