/// <summary> /// Create a new KeepconPost object. /// </summary> /// <param name="postID">Initial value of the PostID property.</param> /// <param name="message">Initial value of the Message property.</param> /// <param name="creationDatePost">Initial value of the CreationDatePost property.</param> /// <param name="createdRowPost">Initial value of the CreatedRowPost property.</param> /// <param name="createdRow">Initial value of the CreatedRow property.</param> public static KeepconPost CreateKeepconPost(global::System.Int32 postID, global::System.String message, global::System.DateTime creationDatePost, global::System.DateTime createdRowPost, global::System.DateTime createdRow) { KeepconPost keepconPost = new KeepconPost(); keepconPost.PostID = postID; keepconPost.Message = message; keepconPost.CreationDatePost = creationDatePost; keepconPost.CreatedRowPost = createdRowPost; keepconPost.CreatedRow = createdRow; return(keepconPost); }
public Import(KeepconPost post) { this.Contents = new List<Content>(); this.Contenttype = post.KeepconCustomerCare; Content wContent = new Content(); wContent.Author = new Author("author", "allus"); //wContent.Date = System.DateTime.Now; wContent.Id = post.PostID; wContent.Text.Text = post.Message; // wContent.Url_Context.Text = "http://allus.com.ar"; this.Contents.Add(wContent); }
/// <summary> /// Create a new KeepconPost object. /// </summary> /// <param name="postID">Initial value of the PostID property.</param> /// <param name="message">Initial value of the Message property.</param> /// <param name="creationDatePost">Initial value of the CreationDatePost property.</param> /// <param name="createdRowPost">Initial value of the CreatedRowPost property.</param> /// <param name="createdRow">Initial value of the CreatedRow property.</param> public static KeepconPost CreateKeepconPost(global::System.Int32 postID, global::System.String message, global::System.DateTime creationDatePost, global::System.DateTime createdRowPost, global::System.DateTime createdRow) { KeepconPost keepconPost = new KeepconPost(); keepconPost.PostID = postID; keepconPost.Message = message; keepconPost.CreationDatePost = creationDatePost; keepconPost.CreatedRowPost = createdRowPost; keepconPost.CreatedRow = createdRow; return keepconPost; }
/// <summary> /// Deprecated Method for adding a new object to the KeepconPost EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToKeepconPost(KeepconPost keepconPost) { base.AddObject("KeepconPost", keepconPost); }