Class TableEntity<TData>
A projection/entity especially designed to work with Azure Table storage.
Inheritance
System.Object
Microsoft.WindowsAzure.Storage.Table.TableEntity
TableEntity<TData>
Inherited Members
Microsoft.WindowsAzure.Storage.Table.TableEntity.ReadEntity(System.Collections.Generic.IDictionary<System.String, Microsoft.WindowsAzure.Storage.Table.EntityProperty>, Microsoft.WindowsAzure.Storage.OperationContext)
Microsoft.WindowsAzure.Storage.Table.TableEntity.ReadUserObject(System.Object, System.Collections.Generic.IDictionary<System.String, Microsoft.WindowsAzure.Storage.Table.EntityProperty>, Microsoft.WindowsAzure.Storage.OperationContext)
Microsoft.WindowsAzure.Storage.Table.TableEntity.WriteEntity(Microsoft.WindowsAzure.Storage.OperationContext)
Microsoft.WindowsAzure.Storage.Table.TableEntity.WriteUserObject(System.Object, Microsoft.WindowsAzure.Storage.OperationContext)
Microsoft.WindowsAzure.Storage.Table.TableEntity.PartitionKey
Microsoft.WindowsAzure.Storage.Table.TableEntity.RowKey
Microsoft.WindowsAzure.Storage.Table.TableEntity.Timestamp
Microsoft.WindowsAzure.Storage.Table.TableEntity.ETag
Microsoft.WindowsAzure.Storage.Table.TableEntity.DisableCompiledSerializers
Microsoft.WindowsAzure.Storage.Table.TableEntity.DisablePropertyResolverCache
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Cqrs.Azure.BlobStorage
Assembly: Cqrs.Azure.BlobStorage.dll
Syntax
[Serializable]
[DataContract]
public abstract class TableEntity<TData> : TableEntity, ITableEntity
Type Parameters
Name | Description |
---|---|
TData |
Properties
DefaultSettings
The default Newtonsoft.Json.JsonSerializerSettings to use.
Declaration
public static JsonSerializerSettings DefaultSettings { get; }
Property Value
Type | Description |
---|---|
Newtonsoft.Json.JsonSerializerSettings |
Methods
Deserialise(String)
Deserialise the provided json
from its System.String representation.
Declaration
protected virtual TData Deserialise(string json)
Parameters
Type | Name | Description |
---|---|---|
System.String | json | A System.String representation of an |
Returns
Type | Description |
---|---|
TData |
GetSerialisationSettings()
Returns DefaultSettings
Declaration
protected virtual JsonSerializerSettings GetSerialisationSettings()
Returns
Type | Description |
---|---|
Newtonsoft.Json.JsonSerializerSettings | DefaultSettings |
GetSerialiser()
Creates a new Newtonsoft.Json.JsonSerializer using the settings from GetSerialisationSettings().
Declaration
protected virtual JsonSerializer GetSerialiser()
Returns
Type | Description |
---|---|
Newtonsoft.Json.JsonSerializer | A new instance of Newtonsoft.Json.JsonSerializer. |
Serialise(TData)
Serialise the provided data
.
Declaration
protected virtual string Serialise(TData data)
Parameters
Type | Name | Description |
---|---|---|
TData | data | The |
Returns
Type | Description |
---|---|
System.String | A System.String representation of the provided |