Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the GroupPosts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGroupPosts(GroupPosts groupPosts)
 {
     base.AddObject("GroupPosts", groupPosts);
 }
Пример #2
0
 /// <summary>
 /// Create a new GroupPosts object.
 /// </summary>
 /// <param name="gp_id">Initial value of the gp_id property.</param>
 /// <param name="gt_id">Initial value of the gt_id property.</param>
 /// <param name="u_username">Initial value of the u_username property.</param>
 /// <param name="gp_dateposted">Initial value of the gp_dateposted property.</param>
 /// <param name="gp_post">Initial value of the gp_post property.</param>
 public static GroupPosts CreateGroupPosts(global::System.Int32 gp_id, global::System.Int32 gt_id, global::System.String u_username, global::System.DateTime gp_dateposted, global::System.String gp_post)
 {
     GroupPosts groupPosts = new GroupPosts();
     groupPosts.gp_id = gp_id;
     groupPosts.gt_id = gt_id;
     groupPosts.u_username = u_username;
     groupPosts.gp_dateposted = gp_dateposted;
     groupPosts.gp_post = gp_post;
     return groupPosts;
 }