public void Resolve(appDB.ListRow lr, docDB.RecipientRow newR) { if (!lr.IsExchangeNameNull()) { newR.Address = lr.ExchangeName; //addresstype will default to SMTP so that shouldbe the primary email type for all users } newR.Name = lr.ListNameEng; newR.ListId = lr.ListId; }
protected override void AfterAdd(DataRow dr) { appDB.ListRow lstr = (appDB.ListRow)dr; string ObjectName = this.myListDT.TableName; lstr.ListId = this.myA.PKIDGet(ObjectName, 1); lstr.ListNameEng = "New Distribution List"; lstr.ListNameFre = "Nouvelle liste de distribution"; lstr.SyncExchange = false; lstr.Type = 0; }