コード例 #1
0
 /// <summary>
 /// Create a new BlogPosts object.
 /// </summary>
 /// <param name="bp_id">Initial value of the bp_id property.</param>
 /// <param name="b_id">Initial value of the b_id property.</param>
 /// <param name="bp_title">Initial value of the bp_title property.</param>
 /// <param name="bp_content">Initial value of the bp_content property.</param>
 /// <param name="bp_dateposted">Initial value of the bp_dateposted property.</param>
 /// <param name="bp_reads">Initial value of the bp_reads property.</param>
 /// <param name="bp_approved">Initial value of the bp_approved property.</param>
 public static BlogPosts CreateBlogPosts(global::System.Int32 bp_id, global::System.Int32 b_id, global::System.String bp_title, global::System.String bp_content, global::System.DateTime bp_dateposted, global::System.Int32 bp_reads, global::System.Boolean bp_approved)
 {
     BlogPosts blogPosts = new BlogPosts();
     blogPosts.bp_id = bp_id;
     blogPosts.b_id = b_id;
     blogPosts.bp_title = bp_title;
     blogPosts.bp_content = bp_content;
     blogPosts.bp_dateposted = bp_dateposted;
     blogPosts.bp_reads = bp_reads;
     blogPosts.bp_approved = bp_approved;
     return blogPosts;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the BlogPosts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBlogPosts(BlogPosts blogPosts)
 {
     base.AddObject("BlogPosts", blogPosts);
 }