Skip to content

Commit 0243b50

Browse files
committed
[修改]1. 修改MongoDB的Index标记为密封类
1 parent f4e4acf commit 0243b50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DataBaseServer/GameFrameX.DataBase.Mongo/MongoIndexAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ namespace GameFrameX.DataBase.Mongo;
44
/// MongoDB索引
55
/// </summary>
66
[AttributeUsage(AttributeTargets.Property)]
7-
public class MongoIndexAttribute : Attribute
7+
public sealed class MongoIndexAttribute : Attribute
88
{
99
/// <summary>
1010
/// 是否唯一,默认为false

0 commit comments

Comments
 (0)