如何为updatedAt系统字段添加索引?

问题描述 投票:0回答:1

我知道您可以将一个Index属性添加到EntityData子类的字段,该子类创建一个SQL Server索引。我想知道如何对像updatedAt这样的系统字段做同样的事情。

azure-mobile-services
1个回答
0
投票

我想知道如何对像updatedAt这样的系统字段做同样的事情。

我建议你可以直接在portal中为updatedAt字段设置索引。从这个article,您可以看到updatedAt字段是只读的。所以你无法改变它。 enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.