Пример #1
0
 public Idea()
 {
     Votes = new Vote();
     Comments = new HashSet<Comment>();
     Tags = new HashSet<Tag>();
     CreationDate = DateTime.Now;
 }
Пример #2
0
 public VoteTableEntity(Vote vote)
 {
     RowKey = vote.Id.ToString();
     PartitionKey = "Votes";
     Up = vote.Up;
     Down = vote.Down;
 }