示例#1
0
 public Article(string title)
 {
     Comments = new List <Comment>();
     Id       = StaticPersistentStore.GetNextId();
     Title    = title;
 }
示例#2
0
 public Comment(string body)
 {
     Id   = StaticPersistentStore.GetNextId();
     Body = body;
 }