A generic dictionary-like ITableEntity type which defines an arbitrary set of properties on an entity as key-value pairs.
public sealed class TableEntity : Azure.Data.Tables.ITableEntity, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,object>>, System.Collections.Generic.IDictionary<string,object>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>>
type TableEntity = class
interface ITableEntity
interface IDictionary<string, obj>
interface ICollection<KeyValuePair<string, obj>>
interface seq<KeyValuePair<string, obj>>
interface IEnumerable
Public NotInheritable Class TableEntity
Implements ICollection(Of KeyValuePair(Of String, Object)), IDictionary(Of String, Object), IEnumerable(Of KeyValuePair(Of String, Object)), ITableEntity
This type can be used with any of the generic entity interaction methods in TableClient where entity model type flexibility is desired. For example, if your table contains a jagged schema, or you need to precisely update a subset of properties in a Merge mode operation.
Constructors Properties CountGets the number of elements contained in the ICollection<T>.
ETagGets or sets the entity's ETag.
Item[String]Gets or sets the entity's property, given the name of the property.
KeysGets an ICollection<T> containing the keys of the IDictionary<TKey,TValue>.
PartitionKeyThe partition key is a unique identifier for the partition within a given table and forms the first part of an entity's primary key.
RowKeyThe row key is a unique identifier for an entity within a given partition. Together, the PartitionKey and RowKey uniquely identify an entity within a table.
TimestampThe Timestamp property is a DateTimeOffset value that is maintained on the server side to record the time an entity was last modified. The Table service uses the Timestamp property internally to provide optimistic concurrency. The value of Timestamp is a monotonically increasing value, meaning that each time the entity is modified, the value of Timestamp increases for that entity. This property should not be set on insert or update operations (the value will be ignored).
Methods Explicit Interface Implementations ICollection<KeyValuePair<String,Object>>.Add(KeyValuePair<String,Object>)Adds an item to the ICollection<T>.
ICollection<KeyValuePair<String,Object>>.Contains(KeyValuePair<String,Object>)Determines whether the ICollection<T> contains a specific value.
ICollection<KeyValuePair<String,Object>>.CopyTo(KeyValuePair<String,Object>[], Int32)Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.
ICollection<KeyValuePair<String,Object>>.IsReadOnlyGets a value indicating whether the ICollection<T> is read-only.
ICollection<KeyValuePair<String,Object>>.Remove(KeyValuePair<String,Object>)Removes the first occurrence of a specific object from the ICollection<T>.
IDictionary<String,Object>.ValuesGets an ICollection<T> containing the values in the IDictionary<TKey,TValue>.
IEnumerable.GetEnumerator()Gets the enumerator for the TableEntity properties.
IEnumerable<KeyValuePair<String,Object>>.GetEnumerator()Gets the enumerator for the TableEntity properties.
Extension Methods GetValueOrAdd<TKey,TValue>(IDictionary<TKey,TValue>, TKey, Func<TKey,TValue>)Gets or adds the value associated with specified key.
GetValueOrDefault<TKey,TValue>(IDictionary<TKey,TValue>, TKey, TValue)Gets the value associated with specified key.
AsFormattedString<TKey,TValue>(IDictionary<TKey,TValue>)Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4