/// <summary> /// Deprecated Method for adding a new object to the LetterInfoes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLetterInfoes(LetterInfo letterInfo) { base.AddObject("LetterInfoes", letterInfo); }
/// <summary> /// Create a new LetterInfo object. /// </summary> /// <param name="letterInfoGuid">Initial value of the LetterInfoGuid property.</param> /// <param name="siteGuid">Initial value of the SiteGuid property.</param> /// <param name="title">Initial value of the Title property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="availableToRoles">Initial value of the AvailableToRoles property.</param> /// <param name="enabled">Initial value of the Enabled property.</param> /// <param name="allowUserFeedback">Initial value of the AllowUserFeedback property.</param> /// <param name="allowAnonFeedback">Initial value of the AllowAnonFeedback property.</param> /// <param name="fromAddress">Initial value of the FromAddress property.</param> /// <param name="fromName">Initial value of the FromName property.</param> /// <param name="replyToAddress">Initial value of the ReplyToAddress property.</param> /// <param name="sendMode">Initial value of the SendMode property.</param> /// <param name="enableViewAsWebPage">Initial value of the EnableViewAsWebPage property.</param> /// <param name="enableSendLog">Initial value of the EnableSendLog property.</param> /// <param name="rolesThatCanEdit">Initial value of the RolesThatCanEdit property.</param> /// <param name="rolesThatCanApprove">Initial value of the RolesThatCanApprove property.</param> /// <param name="rolesThatCanSend">Initial value of the RolesThatCanSend property.</param> /// <param name="subscriberCount">Initial value of the SubscriberCount property.</param> /// <param name="createdUTC">Initial value of the CreatedUTC property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="lastModUTC">Initial value of the LastModUTC property.</param> /// <param name="lastModBy">Initial value of the LastModBy property.</param> public static LetterInfo CreateLetterInfo(global::System.Guid letterInfoGuid, global::System.Guid siteGuid, global::System.String title, global::System.String description, global::System.String availableToRoles, global::System.Boolean enabled, global::System.Boolean allowUserFeedback, global::System.Boolean allowAnonFeedback, global::System.String fromAddress, global::System.String fromName, global::System.String replyToAddress, global::System.Int32 sendMode, global::System.Boolean enableViewAsWebPage, global::System.Boolean enableSendLog, global::System.String rolesThatCanEdit, global::System.String rolesThatCanApprove, global::System.String rolesThatCanSend, global::System.Int32 subscriberCount, global::System.DateTime createdUTC, global::System.Guid createdBy, global::System.DateTime lastModUTC, global::System.Guid lastModBy) { LetterInfo letterInfo = new LetterInfo(); letterInfo.LetterInfoGuid = letterInfoGuid; letterInfo.SiteGuid = siteGuid; letterInfo.Title = title; letterInfo.Description = description; letterInfo.AvailableToRoles = availableToRoles; letterInfo.Enabled = enabled; letterInfo.AllowUserFeedback = allowUserFeedback; letterInfo.AllowAnonFeedback = allowAnonFeedback; letterInfo.FromAddress = fromAddress; letterInfo.FromName = fromName; letterInfo.ReplyToAddress = replyToAddress; letterInfo.SendMode = sendMode; letterInfo.EnableViewAsWebPage = enableViewAsWebPage; letterInfo.EnableSendLog = enableSendLog; letterInfo.RolesThatCanEdit = rolesThatCanEdit; letterInfo.RolesThatCanApprove = rolesThatCanApprove; letterInfo.RolesThatCanSend = rolesThatCanSend; letterInfo.SubscriberCount = subscriberCount; letterInfo.CreatedUTC = createdUTC; letterInfo.CreatedBy = createdBy; letterInfo.LastModUTC = lastModUTC; letterInfo.LastModBy = lastModBy; return letterInfo; }