Class AzureTableTrackableEntity
Entity base class required for use with AzureTableUnitOfWork... unfortunately the existing TableEntity class's properties are not virtual, and therefore can not be used with dynamic proxy.
Inheritance
System.Object
AzureTableTrackableEntity
Implements
Microsoft.Azure.Cosmos.Table.ITableEntity
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Ease.Repository.AzureTable
Assembly: Ease.Repository.AzureTable.dll
Syntax
public abstract class AzureTableTrackableEntity : ITableEntity
Properties
| Improve this Doc View SourceETag
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
PartitionKey
Declaration
public virtual string PartitionKey { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
RowKey
Declaration
public virtual string RowKey { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Timestamp
NOTE: According to the docs, this value is managed by the server, and effectively read-only.
Declaration
public virtual DateTimeOffset Timestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTimeOffset |
Methods
| Improve this Doc View SourceReadEntity(IDictionary<String, EntityProperty>, OperationContext)
Declaration
public void ReadEntity(IDictionary<string, EntityProperty> properties, OperationContext operationContext)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IDictionary<System.String, Microsoft.Azure.Cosmos.Table.EntityProperty> | properties | |
| Microsoft.Azure.Cosmos.Table.OperationContext | operationContext |
WriteEntity(OperationContext)
Declaration
public IDictionary<string, EntityProperty> WriteEntity(OperationContext operationContext)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.Azure.Cosmos.Table.OperationContext | operationContext |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IDictionary<System.String, Microsoft.Azure.Cosmos.Table.EntityProperty> |
Implements
Microsoft.Azure.Cosmos.Table.ITableEntity