Inheritance: System.Data.Objects.DataClasses.EntityObject
Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the BlogPost EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBlogPost(BlogPost blogPost)
 {
     base.AddObject("BlogPost", blogPost);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new BlogPost object.
 /// </summary>
 /// <param name="blogPostID">Initial value of the BlogPostID property.</param>
 public static BlogPost CreateBlogPost(global::System.Int32 blogPostID)
 {
     BlogPost blogPost = new BlogPost();
     blogPost.BlogPostID = blogPostID;
     return blogPost;
 }