/// <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); }
/// <summary> /// Deprecated Method for adding a new object to the porTemplates EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToporTemplates(porTemplate porTemplate) { base.AddObject("porTemplates", porTemplate); }