/// <summary> /// Create a new Comments object. /// </summary> /// <param name="commentId">Initial value of the CommentId property.</param> /// <param name="presentationId">Initial value of the PresentationId property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="text">Initial value of the Text property.</param> /// <param name="createDate">Initial value of the CreateDate property.</param> public static Comments CreateComments(global::System.Guid commentId, global::System.Guid presentationId, global::System.Guid userId, global::System.String text, global::System.DateTime createDate) { Comments comments = new Comments(); comments.CommentId = commentId; comments.PresentationId = presentationId; comments.UserId = userId; comments.Text = text; comments.CreateDate = createDate; return comments; }
/// <summary> /// Deprecated Method for adding a new object to the Comments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToComments(Comments comments) { base.AddObject("Comments", comments); }