예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the DComments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDComments(DComment dComment)
 {
     base.AddObject("DComments", dComment);
 }
예제 #2
0
 /// <summary>
 /// Create a new DComment object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="created">Initial value of the Created property.</param>
 /// <param name="author">Initial value of the Author property.</param>
 /// <param name="text">Initial value of the Text property.</param>
 public static DComment CreateDComment(global::System.Guid id, global::System.DateTime created, global::System.String author, global::System.String text)
 {
     DComment dComment = new DComment();
     dComment.Id = id;
     dComment.Created = created;
     dComment.Author = author;
     dComment.Text = text;
     return dComment;
 }