/// <summary> /// Deprecated Method for adding a new object to the LetterHtmlTemplates EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLetterHtmlTemplates(LetterHtmlTemplate letterHtmlTemplate) { base.AddObject("LetterHtmlTemplates", letterHtmlTemplate); }
/// <summary> /// Create a new LetterHtmlTemplate object. /// </summary> /// <param name="guid">Initial value of the Guid property.</param> /// <param name="siteGuid">Initial value of the SiteGuid property.</param> /// <param name="title">Initial value of the Title property.</param> /// <param name="html">Initial value of the Html property.</param> /// <param name="lastModUTC">Initial value of the LastModUTC property.</param> public static LetterHtmlTemplate CreateLetterHtmlTemplate(global::System.Guid guid, global::System.Guid siteGuid, global::System.String title, global::System.String html, global::System.DateTime lastModUTC) { LetterHtmlTemplate letterHtmlTemplate = new LetterHtmlTemplate(); letterHtmlTemplate.Guid = guid; letterHtmlTemplate.SiteGuid = siteGuid; letterHtmlTemplate.Title = title; letterHtmlTemplate.Html = html; letterHtmlTemplate.LastModUTC = lastModUTC; return letterHtmlTemplate; }