/// <summary> /// Create a new comment object. /// </summary> /// <param name="diaryID">Initial value of the diaryID property.</param> public static comment Createcomment(global::System.Int32 diaryID) { comment comment = new comment(); comment.diaryID = diaryID; return comment; }
/// <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(comment comment) { base.AddObject("comments", comment); }