Example #1
0
        /// <summary>
        /// Create a new porTemplate object.
        /// </summary>
        /// <param name="idTemplate">Initial value of the IdTemplate property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        /// <param name="html">Initial value of the Html property.</param>
        public static porTemplate CreateporTemplate(global::System.Int32 idTemplate, global::System.String name, global::System.String html)
        {
            porTemplate porTemplate = new porTemplate();

            porTemplate.IdTemplate = idTemplate;
            porTemplate.Name       = name;
            porTemplate.Html       = html;
            return(porTemplate);
        }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the porTemplates EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToporTemplates(porTemplate porTemplate)
 {
     base.AddObject("porTemplates", porTemplate);
 }