Created
April 13, 2015 21:56
-
-
Save gbellmann/b30d50502605f57b3164 to your computer and use it in GitHub Desktop.
Class that represents an Azure Table Order Entity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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