/// <summary> /// Deprecated Method for adding a new object to the DComments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDComments(DComment dComment) { base.AddObject("DComments", dComment); }
/// <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; }