示例#1
0
 /// <summary>
 /// PostSets EntitySet に新しいオブジェクトを追加するための非推奨のメソッドです。代わりに、関連付けられている ObjectSet&lt;T&gt; プロパティの .Add メソッドを使用してください。
 /// </summary>
 public void AddToPostSets(Posts posts)
 {
     base.AddObject("PostSets", posts);
 }
示例#2
0
 /// <summary>
 /// 新しい Posts オブジェクトを作成します。
 /// </summary>
 /// <param name="id">ID プロパティの初期値。</param>
 /// <param name="post_author">post_author プロパティの初期値。</param>
 /// <param name="post_date">post_date プロパティの初期値。</param>
 /// <param name="post_date_gmt">post_date_gmt プロパティの初期値。</param>
 /// <param name="post_content">post_content プロパティの初期値。</param>
 /// <param name="post_title">post_title プロパティの初期値。</param>
 /// <param name="post_category">post_category プロパティの初期値。</param>
 /// <param name="post_excerpt">post_excerpt プロパティの初期値。</param>
 /// <param name="post_status">post_status プロパティの初期値。</param>
 /// <param name="comment_status">comment_status プロパティの初期値。</param>
 /// <param name="ping_status">ping_status プロパティの初期値。</param>
 /// <param name="post_password">post_password プロパティの初期値。</param>
 /// <param name="post_name">post_name プロパティの初期値。</param>
 /// <param name="to_ping">to_ping プロパティの初期値。</param>
 /// <param name="pinged">pinged プロパティの初期値。</param>
 /// <param name="post_modified">post_modified プロパティの初期値。</param>
 /// <param name="post_modified_gmt">post_modified_gmt プロパティの初期値。</param>
 /// <param name="post_content_filtered">post_content_filtered プロパティの初期値。</param>
 /// <param name="post_parent">post_parent プロパティの初期値。</param>
 /// <param name="guid">guid プロパティの初期値。</param>
 /// <param name="menu_order">menu_order プロパティの初期値。</param>
 /// <param name="post_type">post_type プロパティの初期値。</param>
 /// <param name="post_mime_type">post_mime_type プロパティの初期値。</param>
 /// <param name="comment_count">comment_count プロパティの初期値。</param>
 public static Posts CreatePosts(global::System.Decimal id, global::System.Decimal post_author, global::System.DateTime post_date, global::System.DateTime post_date_gmt, global::System.String post_content, global::System.String post_title, global::System.Int32 post_category, global::System.String post_excerpt, global::System.String post_status, global::System.String comment_status, global::System.String ping_status, global::System.String post_password, global::System.String post_name, global::System.String to_ping, global::System.String pinged, global::System.DateTime post_modified, global::System.DateTime post_modified_gmt, global::System.String post_content_filtered, global::System.Decimal post_parent, global::System.String guid, global::System.Int32 menu_order, global::System.String post_type, global::System.String post_mime_type, global::System.Int64 comment_count)
 {
     Posts posts = new Posts();
     posts.ID = id;
     posts.post_author = post_author;
     posts.post_date = post_date;
     posts.post_date_gmt = post_date_gmt;
     posts.post_content = post_content;
     posts.post_title = post_title;
     posts.post_category = post_category;
     posts.post_excerpt = post_excerpt;
     posts.post_status = post_status;
     posts.comment_status = comment_status;
     posts.ping_status = ping_status;
     posts.post_password = post_password;
     posts.post_name = post_name;
     posts.to_ping = to_ping;
     posts.pinged = pinged;
     posts.post_modified = post_modified;
     posts.post_modified_gmt = post_modified_gmt;
     posts.post_content_filtered = post_content_filtered;
     posts.post_parent = post_parent;
     posts.guid = guid;
     posts.menu_order = menu_order;
     posts.post_type = post_type;
     posts.post_mime_type = post_mime_type;
     posts.comment_count = comment_count;
     return posts;
 }
 /// <summary>
 /// 新しい Posts オブジェクトを作成します。
 /// </summary>
 /// <param name="id">ID プロパティの初期値。</param>
 /// <param name="postAuthor">PostAuthor プロパティの初期値。</param>
 /// <param name="postDate">PostDate プロパティの初期値。</param>
 /// <param name="postDateGmt">PostDateGmt プロパティの初期値。</param>
 /// <param name="postContent">PostContent プロパティの初期値。</param>
 /// <param name="postTitle">PostTitle プロパティの初期値。</param>
 /// <param name="postCategory">PostCategory プロパティの初期値。</param>
 /// <param name="postExcerpt">PostExcerpt プロパティの初期値。</param>
 /// <param name="postStatus">PostStatus プロパティの初期値。</param>
 /// <param name="commentStatus">CommentStatus プロパティの初期値。</param>
 /// <param name="pingStatus">PingStatus プロパティの初期値。</param>
 /// <param name="postPassword">PostPassword プロパティの初期値。</param>
 /// <param name="postName">PostName プロパティの初期値。</param>
 /// <param name="toPing">ToPing プロパティの初期値。</param>
 /// <param name="pinged">Pinged プロパティの初期値。</param>
 /// <param name="postModified">PostModified プロパティの初期値。</param>
 /// <param name="postModifiedGmt">PostModifiedGmt プロパティの初期値。</param>
 /// <param name="postContentFiltered">PostContentFiltered プロパティの初期値。</param>
 /// <param name="postParent">PostParent プロパティの初期値。</param>
 /// <param name="guid">Guid プロパティの初期値。</param>
 /// <param name="menuOrder">MenuOrder プロパティの初期値。</param>
 /// <param name="postType">PostType プロパティの初期値。</param>
 /// <param name="postMimeType">PostMimeType プロパティの初期値。</param>
 /// <param name="commentCount">CommentCount プロパティの初期値。</param>
 public static Posts CreatePosts(global::System.Decimal id, global::System.Decimal postAuthor, global::System.DateTime postDate, global::System.DateTime postDateGmt, global::System.String postContent, global::System.String postTitle, global::System.Int32 postCategory, global::System.String postExcerpt, global::System.String postStatus, global::System.String commentStatus, global::System.String pingStatus, global::System.String postPassword, global::System.String postName, global::System.String toPing, global::System.String pinged, global::System.DateTime postModified, global::System.DateTime postModifiedGmt, global::System.String postContentFiltered, global::System.Decimal postParent, global::System.String guid, global::System.Int32 menuOrder, global::System.String postType, global::System.String postMimeType, global::System.Int64 commentCount)
 {
     Posts posts = new Posts();
     posts.ID = id;
     posts.PostAuthor = postAuthor;
     posts.PostDate = postDate;
     posts.PostDateGmt = postDateGmt;
     posts.PostContent = postContent;
     posts.PostTitle = postTitle;
     posts.PostCategory = postCategory;
     posts.PostExcerpt = postExcerpt;
     posts.PostStatus = postStatus;
     posts.CommentStatus = commentStatus;
     posts.PingStatus = pingStatus;
     posts.PostPassword = postPassword;
     posts.PostName = postName;
     posts.ToPing = toPing;
     posts.Pinged = pinged;
     posts.PostModified = postModified;
     posts.PostModifiedGmt = postModifiedGmt;
     posts.PostContentFiltered = postContentFiltered;
     posts.PostParent = postParent;
     posts.Guid = guid;
     posts.MenuOrder = menuOrder;
     posts.PostType = postType;
     posts.PostMimeType = postMimeType;
     posts.CommentCount = commentCount;
     return posts;
 }