示例#1
0
        /// <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);
        }
示例#2
0
        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);


        }
示例#3
0
 /// <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;
 }
示例#4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the KeepconPost EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToKeepconPost(KeepconPost keepconPost)
 {
     base.AddObject("KeepconPost", keepconPost);
 }
示例#5
0
 /// <summary>
 /// Deprecated Method for adding a new object to the KeepconPost EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToKeepconPost(KeepconPost keepconPost)
 {
     base.AddObject("KeepconPost", keepconPost);
 }