/// <summary> /// Deprecated Method for adding a new object to the BlogPostStatus1 EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBlogPostStatus1(BlogPostStatus blogPostStatus) { base.AddObject("BlogPostStatus1", blogPostStatus); }
/// <summary> /// Create a new BlogPostStatus object. /// </summary> /// <param name="pubStatusID">Initial value of the PubStatusID property.</param> /// <param name="blogStatusName">Initial value of the BlogStatusName property.</param> public static BlogPostStatus CreateBlogPostStatus(global::System.Int32 pubStatusID, global::System.String blogStatusName) { BlogPostStatus blogPostStatus = new BlogPostStatus(); blogPostStatus.PubStatusID = pubStatusID; blogPostStatus.BlogStatusName = blogStatusName; return blogPostStatus; }