コード例 #1
0
        /// <summary>
        /// Create a new artArticle object.
        /// </summary>
        /// <param name="idArticle">Initial value of the IdArticle property.</param>
        /// <param name="path">Initial value of the Path property.</param>
        /// <param name="title">Initial value of the Title property.</param>
        /// <param name="content">Initial value of the Content property.</param>
        /// <param name="author">Initial value of the Author property.</param>
        /// <param name="dtInsert">Initial value of the DtInsert property.</param>
        /// <param name="isActive">Initial value of the IsActive property.</param>
        public static artArticle CreateartArticle(global::System.Int32 idArticle, global::System.String path, global::System.String title, global::System.String content, global::System.String author, global::System.DateTime dtInsert, global::System.Boolean isActive)
        {
            artArticle artArticle = new artArticle();

            artArticle.IdArticle = idArticle;
            artArticle.Path      = path;
            artArticle.Title     = title;
            artArticle.Content   = content;
            artArticle.Author    = author;
            artArticle.DtInsert  = dtInsert;
            artArticle.IsActive  = isActive;
            return(artArticle);
        }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the artArticles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToartArticles(artArticle artArticle)
 {
     base.AddObject("artArticles", artArticle);
 }