Microsoft.WindowsAzure.Storage.Table.TableEntity 未使用 Storage 4.3.0.0 标记为可序列化
Microsoft.WindowsAzure.Storage.Table.TableEntity is not marked as serializable using Storage 4.3.0.0
我正在尝试迁移到 Azure 的 Redis 缓存,但我得到
Type 'Microsoft.WindowsAzure.Storage.Table.TableEntity' in Assembly
'Microsoft.WindowsAzure.Storage, Version=4.3.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' is not marked as serializable.
尝试序列化 TableEntity 或继承 TableEntity 的 class 时。 SO Post 表明问题已在 4.0.0 之后得到解决 - 有什么想法吗?
根据 Breaking Changes description,这是有意删除并且没有恢复:
- Tables: Removed Serialized attribute and ISerializable implementation from TableEntity. Implement ITabeEntity for your custom
entities if you need either.
我正在尝试迁移到 Azure 的 Redis 缓存,但我得到
Type 'Microsoft.WindowsAzure.Storage.Table.TableEntity' in Assembly 'Microsoft.WindowsAzure.Storage, Version=4.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' is not marked as serializable.
尝试序列化 TableEntity 或继承 TableEntity 的 class 时。 SO Post 表明问题已在 4.0.0 之后得到解决 - 有什么想法吗?
根据 Breaking Changes description,这是有意删除并且没有恢复:
- Tables: Removed Serialized attribute and ISerializable implementation from TableEntity. Implement ITabeEntity for your custom entities if you need either.