public Idea() { Votes = new Vote(); Comments = new HashSet<Comment>(); Tags = new HashSet<Tag>(); CreationDate = DateTime.Now; }
public VoteTableEntity(Vote vote) { RowKey = vote.Id.ToString(); PartitionKey = "Votes"; Up = vote.Up; Down = vote.Down; }