Пример #1
0
 /// <summary>
 /// Updates this instance of LetterInfo. Returns true on success.
 /// </summary>
 /// <returns>bool</returns>
 private bool Update()
 {
     return(DBLetterInfo.Update(
                this.letterInfoGuid,
                this.siteGuid,
                this.title,
                this.description,
                this.availableToRoles,
                this.enabled,
                this.allowUserFeedback,
                this.allowAnonFeedback,
                this.fromAddress,
                this.fromName,
                this.replyToAddress,
                this.sendMode,
                this.enableViewAsWebPage,
                this.enableSendLog,
                this.rolesThatCanEdit,
                this.rolesThatCanApprove,
                this.rolesThatCanSend,
                this.createdUTC,
                this.createdBy,
                this.lastModUTC,
                this.lastModBy,
                this.allowArchiveView,
                this.profileOptIn,
                this.sortRank));
 }
Пример #2
0
 /// <summary>
 /// Updates this instance of LetterInfo. Returns true on success.
 /// </summary>
 /// <returns>bool</returns>
 private bool Update()
 {
     return(DBLetterInfo.Update(
                this.LetterInfoGuid,
                this.SiteGuid,
                this.Title,
                this.Description,
                this.AvailableToRoles,
                this.Enabled,
                this.AllowUserFeedback,
                this.AllowAnonFeedback,
                this.FromAddress,
                this.FromName,
                this.ReplyToAddress,
                this.SendMode,
                this.EnableViewAsWebPage,
                this.EnableSendLog,
                this.RolesThatCanEdit,
                this.RolesThatCanApprove,
                this.RolesThatCanSend,
                this.CreatedUtc,
                this.CreatedBy,
                this.LastModUtc,
                this.LastModBy,
                this.AllowArchiveView,
                this.ProfileOptIn,
                this.SortRank,
                this.DisplayNameDefault,
                this.FirstNameDefault,
                this.LastNameDefault));
 }