/// <summary> /// Create a new post object. /// </summary> /// <param name="post1">Initial value of the post1 property.</param> /// <param name="title">Initial value of the title property.</param> /// <param name="date">Initial value of the date property.</param> /// <param name="id">Initial value of the id property.</param> /// <param name="guid">Initial value of the guid property.</param> public static post Createpost(global::System.String post1, global::System.String title, global::System.DateTime date, global::System.Int32 id, global::System.Guid guid) { post post = new post(); post.post1 = post1; post.title = title; post.date = date; post.id = id; post.guid = guid; return post; }
/// <summary> /// Deprecated Method for adding a new object to the posts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToposts(post post) { base.AddObject("posts", post); }