Skip to content

Instantly share code, notes, and snippets.

@gbellmann
Created April 13, 2015 21:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gbellmann/b30d50502605f57b3164 to your computer and use it in GitHub Desktop.
Save gbellmann/b30d50502605f57b3164 to your computer and use it in GitHub Desktop.
Class that represents an Azure Table Order Entity
using System;
using Microsoft.WindowsAzure.Storage.Table;
public class OrderEntity : TableEntity
{
public OrderEntity(string customerName, string orderDate)
{
PartitionKey = customerName;
RowKey = orderDate;
}
public OrderEntity()
{
}
public string OrderNumber { get; set; }
public DateTime OrderDate { get; set; }
public DateTime ShippedDate { get; set; }
public string Status { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment