コード例 #1
0
ファイル: Idea.cs プロジェクト: rhwy/SampArch
 public Idea()
 {
     Votes = new Vote();
     Comments = new HashSet<Comment>();
     Tags = new HashSet<Tag>();
     CreationDate = DateTime.Now;
 }
コード例 #2
0
ファイル: VoteTableEntity.cs プロジェクト: rhwy/SampArch
 public VoteTableEntity(Vote vote)
 {
     RowKey = vote.Id.ToString();
     PartitionKey = "Votes";
     Up = vote.Up;
     Down = vote.Down;
 }