/// <summary> /// Deprecated Method for adding a new object to the SeqPosts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSeqPosts(SeqPost seqPost) { base.AddObject("SeqPosts", seqPost); }
/// <summary> /// Create a new SeqPost object. /// </summary> /// <param name="postId">Initial value of the PostId property.</param> /// <param name="title">Initial value of the Title property.</param> /// <param name="createDate">Initial value of the CreateDate property.</param> /// <param name="published">Initial value of the Published property.</param> public static SeqPost CreateSeqPost(global::System.Int32 postId, global::System.String title, global::System.DateTime createDate, global::System.Boolean published) { SeqPost seqPost = new SeqPost(); seqPost.PostId = postId; seqPost.Title = title; seqPost.CreateDate = createDate; seqPost.Published = published; return seqPost; }