Inheritance: System.Data.Objects.DataClasses.EntityObject
Exemplo 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);
 }
Exemplo 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;
 }