Exemplo n.º 1
0
 /// <summary>
 /// Create a new Comment object.
 /// </summary>
 /// <param name="createdOn">Initial value of the CreatedOn property.</param>
 /// <param name="seqNum">Initial value of the SeqNum property.</param>
 public static Comment CreateComment(global::System.DateTime createdOn, global::System.Byte seqNum)
 {
     Comment comment = new Comment();
     comment.CreatedOn = createdOn;
     comment.SeqNum = seqNum;
     return comment;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Comments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToComments(Comment comment)
 {
     base.AddObject("Comments", comment);
 }