动态性类别的相关性是什么?
我正在从
microsoft.windowsazure.storage.torage.table
in 我可以看到,在我的项目中使用了DynamiCtientity
的某些地方。-
但是
dynamixtientity
在azure.data.data.tables
nuget软件包中不存在。-
tableentity
提供:- windowsazure.storage.storage at
microsoft.windowsazure.storage.torage.torage.table.table.tableity.tableentity
< /a>在 - 。
- azure.data.tables at
azure.data.tata.tata.tata.tata.tata。 .tableentity
。
microsoft.azure.cosmos.table.table.tableity
- windowsazure.storage.storage at
-
dynamictableIntity
提供:- windowsazure.storage.storage at
microsoft.windowsazure.storage.torage.torage.table.toble.toble.dynamictabletionity
< /a> at - 。
- 但不在 azure.data.tables nuget package。 li>
microsoft.azure.cosmos.table.dynamictableity
- windowsazure.storage.storage at
-
-
tableentity
和dynamictentity
? -
我读了文章,但仍然不了解相关性:
azure.data.tables
v12 v12在azure.data下没有类
。dynamictableity
。表 -
我可以使用任何等效类用于迁移吗?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我的代码正面临同样的问题。在阅读Microsoft文档时,我发现了
tableentity
类型的描述。azure.data.tables
tableentity
类是:这似乎是动态性的替代品。此外,它实现了:
,它具有类型的转换助手方法,可以代替以前的
EntityProperty
助手方法。https:https://学习。 microsoft.com/en-us/dotnet/api/azure.data.table.tables.tableentity?view= azure-dotnet
I am facing the same issue with my code. While reading the Microsoft docs, I found this description of the
TableEntity
type. TheAzure.Data.Tables
TableEntity
class is:This appears to be the replacement for DynamicTableEntity. Furthermore, it implements:
Also, it has type conversion helper methods that can be used in place of the former
EntityProperty
helper methods.https://learn.microsoft.com/en-us/dotnet/api/azure.data.tables.tableentity?view=azure-dotnet
对于以后击中的任何人。这是属性更新的示例
azure.data.table世界。
请注意ETAG。所有内容,这将仅扫描不到指定字段。如果您需要检查您要更新的记录的版本,请探索其他选项。此外,请注意,在这种情况下,用于通用值的V,因为它是已经使用t的通用类的一部分。
For anyone hitting this later. Here is an example of property updates in the
Azure.Data.Table world.
Note the ETag.All, this will simply blanket update the specified field regardless. Explore other options if you need to check the version of the record you are updating etc. Also note, V used for generic value in this instance as it is a part of a generic class that uses T already.