-, TableEntity ITableEntity, DataServiceKey , :
[DataServiceKey("PartitionKey", "RowKey")]
public class MyEntity
{
public string PartitionKey {get; set;}
public string RowKey {get; set;}
public DateTime Timestamp {get; set;}
}
However, this will not solve your problem, not wanting to leak the Azure implementation into your model class. In this case, I think you might need to use a shell implementation, such as LOKAD Fat Entities . Lokad will handle the serialization / deserialization of your model object into a shell, which in turn is stored in a table storage. However, one drawback in Lokad is that your objects become opaque in the warehouse and you cannot view them using Azure Storage Explorer .
source
share