Пример #1
0
        /// <summary>
        /// Create a new porPage object.
        /// </summary>
        /// <param name="idPage">Initial value of the IdPage property.</param>
        /// <param name="idFolder">Initial value of the IdFolder property.</param>
        /// <param name="idWebSite">Initial value of the IdWebSite property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        /// <param name="url">Initial value of the Url property.</param>
        /// <param name="html">Initial value of the Html property.</param>
        public static porPage CreateporPage(global::System.Int32 idPage, global::System.Int32 idFolder, global::System.Int32 idWebSite, global::System.String name, global::System.String url, global::System.String html)
        {
            porPage porPage = new porPage();

            porPage.IdPage    = idPage;
            porPage.IdFolder  = idFolder;
            porPage.IdWebSite = idWebSite;
            porPage.Name      = name;
            porPage.Url       = url;
            porPage.Html      = html;
            return(porPage);
        }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the porPages EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToporPages(porPage porPage)
 {
     base.AddObject("porPages", porPage);
 }