/// <summary> /// Deprecated Method for adding a new object to the EmailVars EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEmailVars(EmailVar emailVar) { base.AddObject("EmailVars", emailVar); }
/// <summary> /// Create a new EmailVar object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="emailTemplateID">Initial value of the EmailTemplateID property.</param> public static EmailVar CreateEmailVar(global::System.Int64 id, global::System.String emailTemplateID) { EmailVar emailVar = new EmailVar(); emailVar.Id = id; emailVar.EmailTemplateID = emailTemplateID; return emailVar; }