Professional Applications Programmers/Consultants برمجة واستشارات تطبيقات الإنترنت
Skip Navigation LinksHome » Code Library » ServiceRequestService

Public general use code classes and xml files that we've compiled and used over the years:

Service Request Service Entity Framework class for Next Generation Network (NGN) entity model.

   1:  using System;
   2:  using System.Collections;
   3:  using System.Collections.Generic;
   4:  using System.Linq;
   5:  using System.ComponentModel.DataAnnotations;
   6:  using System.ComponentModel.DataAnnotations.Schema;
   7:  using System.Data;
   8:  using System.Data.Entity;
   9:  using EntityFramework.Triggers;
  10:   
  11:  namespace Ia.Ngn.Cl.Model
  12:  {
  13:      ////////////////////////////////////////////////////////////////////////////
  14:   
  15:      /// <summary publish="true">
  16:      /// Service Request Service Entity Framework class for Next Generation Network (NGN) entity model.
  17:      /// </summary>
  18:      /// 
  19:      /// <remarks> 
  20:      /// Copyright © 2006-2017 Jasem Y. Al-Shamlan (info@ia.com.kw), Internet Applications - Kuwait. All Rights Reserved.
  21:      ///
  22:      /// This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
  23:      /// the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
  24:      ///
  25:      /// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  26:      /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  27:      /// 
  28:      /// You should have received a copy of the GNU General Public License along with this library. If not, see http://www.gnu.org/licenses.
  29:      /// 
  30:      /// Copyright notice: This notice may not be removed or altered from any source distribution.
  31:      /// </remarks> 
  32:      public partial class ServiceRequestService : ITriggerable
  33:      {
  34:          /// <summary/>
  35:          public ServiceRequestService()
  36:          {
  37:              this.Triggers().Inserting += entry => { TriggeredInstanceQueue.Enqueue(entry.Entity); };
  38:              this.Triggers().Updating += entry => { TriggeredInstanceQueue.Enqueue(entry.Entity); };
  39:              this.Triggers().Deleting += entry => { TriggeredInstanceQueue.Enqueue(entry.Entity); };
  40:          }
  41:   
  42:          /// <summary/>
  43:          [Key, DatabaseGenerated(DatabaseGeneratedOption.None)]
  44:          public string Id { get; set; }
  45:   
  46:          /// <summary/>
  47:          public string Service { get; set; }
  48:   
  49:          /// <summary/>
  50:          public int ServiceType { get; set; }
  51:   
  52:          /// <summary/>
  53:          public int Type { get; set; }
  54:   
  55:          /// <summary/>
  56:          public bool Provisioned { get; set; }
  57:   
  58:          /// <summary/>
  59:          public int AreaCode { get; set; }
  60:   
  61:          /// <summary/>
  62:          public bool CallWaiting { get; set; }
  63:   
  64:          /// <summary/>
  65:          public bool CallForwarding { get; set; }
  66:   
  67:          /// <summary/>
  68:          public bool AlarmCall { get; set; }
  69:   
  70:          /// <summary/>
  71:          public bool InternationalCallingUserControlled { get; set; }
  72:   
  73:          /// <summary/>
  74:          public bool InternationalCalling { get; set; }
  75:   
  76:          /// <summary/>
  77:          public bool CallerId { get; set; }
  78:   
  79:          /// <summary/>
  80:          public bool WakeupCall { get; set; }
  81:   
  82:          /// <summary/>
  83:          public bool ConferenceCall { get; set; }
  84:          /// <summary/>
  85:          public bool CallBarring { get; set; }
  86:          /// <summary/>
  87:          public bool ServiceSuspension { get; set; }
  88:   
  89:          /// <summary/>
  90:          public int ServiceSuspensionTypeId { get; set; }
  91:   
  92:          /// <summary/>
  93:          public bool AbbriviatedCalling { get; set; }
  94:   
  95:          /// <summary/>
  96:          public bool CallForwardingUnconditional { get; set; }
  97:   
  98:          /// <summary/>
  99:          public bool CallingLineIdentificationRestriction { get; set; }
 100:   
 101:          /// <summary/>
 102:          public bool ConnectedLineIdentificationRestriction { get; set; }
 103:   
 104:          /// <summary/>
 105:          public bool WakeUp { get; set; }
 106:   
 107:          /// <summary/>
 108:          public bool CallForwardingByTime { get; set; }
 109:   
 110:          /// <summary/>
 111:          public bool MutlimediaInformationPresentation { get; set; }
 112:   
 113:          /// <summary/>
 114:          public bool SelectiveOutgoingCallBarring { get; set; }
 115:   
 116:          /// <summary/>
 117:          public bool DialNumberCallOutAllow { get; set; }
 118:   
 119:          /// <summary/>
 120:          public bool DoNotDisturb { get; set; }
 121:   
 122:          /// <summary/>
 123:          public bool OutgoingCallBarring { get; set; }
 124:   
 125:          /// <summary/>
 126:          public bool TemporaryLine { get; set; }
 127:   
 128:          /// <summary/>
 129:          public bool CodecControl { get; set; }
 130:   
 131:          /// <summary/>
 132:          public bool SelectiveIncomingCallBarring { get; set; }
 133:   
 134:          /// <summary/>
 135:          public bool SelectiveCallForwarding { get; set; }
 136:   
 137:          /// <summary/>
 138:          public bool DialNumberCallOutBarring { get; set; }
 139:   
 140:          /// <summary/>
 141:          public bool CallForwardingBasedonBlackList { get; set; }
 142:   
 143:          /// <summary/>
 144:          public bool CallForwardingBusy { get; set; }
 145:   
 146:          /// <summary/>
 147:          public bool CallForwardingNoReply { get; set; }
 148:   
 149:          /// <summary/>
 150:          public bool CallForwardingOffline { get; set; }
 151:   
 152:          /// <summary/>
 153:          public bool CallForwardingOnUserNotReachable { get; set; }
 154:   
 155:          /// <summary/>
 156:          public bool CallForwardingNoReplyinCallWaiting { get; set; }
 157:   
 158:          /// <summary/>
 159:          public bool MultiRinging { get; set; }
 160:   
 161:          /// <summary/>
 162:          public bool ConvergentInterPersonalService { get; set; }
 163:   
 164:          /// <summary/>
 165:          public bool CallForwardingBySequence { get; set; }
 166:   
 167:          /// <summary/>
 168:          public bool UserNumberChange { get; set; }
 169:   
 170:          /// <summary/>
 171:          public bool BlackNumberData { get; set; }
 172:   
 173:          /// <summary/>
 174:          public bool WhiteNumberData { get; set; }
 175:   
 176:          /// <summary/>
 177:          public bool OwedRestriction { get; set; }
 178:   
 179:          /// <summary/>
 180:          public bool Strategy { get; set; }
 181:   
 182:          /// <summary/>
 183:          public bool GreenNumberData { get; set; }
 184:   
 185:          /// <summary/>
 186:          public bool RedNumberData { get; set; }
 187:   
 188:          /// <summary/>
 189:          public bool BarringOfAllOutgoingCalls { get; set; }
 190:   
 191:          /// <summary/>
 192:          public bool BarringOfAllOutgoingInternationalCalls { get; set; }
 193:   
 194:          /// <summary/>
 195:          public bool BarringOfOutgoingInternationalCallsExceptThoseDirectedToTheHomePlmnCountry { get; set; }
 196:   
 197:          /// <summary/>
 198:          public bool BarringOfAllIncomingCalls { get; set; }
 199:   
 200:          /// <summary/>
 201:          public bool BarringOfIncomingCallsWhenRoamingOutsideTheHomePlmnCountry { get; set; }
 202:   
 203:          /// <summary/>
 204:          public bool SpeedDial { get; set; }
 205:   
 206:          /// <summary/>
 207:          public bool GreenCall { get; set; }
 208:   
 209:          /// <summary/>
 210:          public bool SetDataUpgrade { get; set; }
 211:   
 212:          /// <summary/>
 213:          public bool AutoConsole { get; set; }
 214:   
 215:          /// <summary/>
 216:          public bool NightService { get; set; }
 217:   
 218:          /// <summary/>
 219:          public bool BackupNumber { get; set; }
 220:   
 221:          /// <summary/>
 222:          public bool Absence { get; set; }
 223:   
 224:          /// <summary/>
 225:          public bool AuthorizedCodeForStdIdd { get; set; }
 226:   
 227:          /// <summary/>
 228:          public bool Hotline { get; set; }
 229:   
 230:          /// <summary/>
 231:          public bool CetMaliciousCommunicationIdentification { get; set; }
 232:   
 233:          /// <summary/>
 234:          public bool MissCallNotify { get; set; }
 235:   
 236:          /// <summary/>
 237:          public bool SubscriptionStatus { get; set; }
 238:   
 239:          /// <summary/>
 240:          public bool UsbDongleOneKeyService { get; set; }
 241:   
 242:          /// <summary/>
 243:          public bool IRoamingInboundSingleImsiMultiMsisdn { get; set; }
 244:   
 245:          /// <summary/>
 246:          public bool IRoamingOutboundSingleImsiMultiMsisdn { get; set; }
 247:   
 248:          /// <summary/>
 249:          public bool NpaSplit { get; set; }
 250:   
 251:          /// <summary/>
 252:          public bool AllCallForwardingGroup { get; set; }
 253:   
 254:          /// <summary/>
 255:          public bool ConditionalCallForwardingGroup { get; set; }
 256:   
 257:          /// <summary/>
 258:          public bool GeneralOrigIdentificationRestriction { get; set; }
 259:   
 260:          /// <summary/>
 261:          public bool MultimediaOfOrigIdRestriction { get; set; }
 262:   
 263:          /// <summary/>
 264:          public bool TerminatingIdentityRestriction { get; set; }
 265:   
 266:          /// <summary/>
 267:          public bool DistinctiveRing { get; set; }
 268:   
 269:          /// <summary/>
 270:          public bool VisitedNetworkImpu { get; set; }
 271:   
 272:          /// <summary/>
 273:          public bool SeasonalSuspend { get; set; }
 274:   
 275:          /// <summary/>
 276:          public bool NumberInvalidation { get; set; }
 277:   
 278:          /// <summary/>
 279:          public bool IroamingServiceProvision { get; set; }
 280:   
 281:          /// <summary/>
 282:          public bool IptvCallerId { get; set; }
 283:   
 284:          /// <summary/>
 285:          public bool IptvVideoCall { get; set; }
 286:   
 287:          /// <summary/>
 288:          public bool NumberPortability { get; set; }
 289:   
 290:          /// <summary/>
 291:          public bool SecretaryService { get; set; }
 292:   
 293:          /// <summary/>
 294:          public bool SalesBlock { get; set; }
 295:   
 296:          /// <summary/>
 297:          public bool FilterCriteria { get; set; }
 298:   
 299:          /// <summary/>
 300:          public bool CallerInformation { get; set; }
 301:   
 302:          /// <summary/>
 303:          public bool PresenceStatus { get; set; }
 304:   
 305:          /// <summary/>
 306:          public bool OneNumberService { get; set; }
 307:   
 308:          /// <summary/>
 309:          public bool AssociationList { get; set; }
 310:   
 311:          /// <summary/>
 312:          public int Pin { get; set; }
 313:   
 314:          /// <summary/>
 315:          public virtual Access Access { get; set; }
 316:   
 317:          /// <summary/>
 318:          public virtual ICollection<ServiceRequest> ServiceRequests { get; set; }
 319:   
 320:          /// <summary/>
 321:          public DateTime LastRequestDateTime { get; set; }
 322:   
 323:          /// <summary/>
 324:          public DateTime Created { get; set; }
 325:   
 326:          /// <summary/>
 327:          public DateTime Updated { get; set; }
 328:   
 329:          /// <summary/>
 330:          public System.Guid UserId { get; set; }
 331:   
 332:          /// <summary/>
 333:          [NotMapped]
 334:          public static Queue<ServiceRequestService> TriggeredInstanceQueue = new Queue<ServiceRequestService>();
 335:   
 336:          ////////////////////////////////////////////////////////////////////////////
 337:   
 338:          /// <summary>
 339:          ///
 340:          /// </summary>
 341:          public bool Update(ServiceRequestService updatedServiceRequestService)
 342:          {
 343:              // below: this will not update Id, Created
 344:              bool updated;
 345:   
 346:              updated = false;
 347:   
 348:              if (this.Service != updatedServiceRequestService.Service) { this.Service = updatedServiceRequestService.Service; updated = true; }
 349:              if (this.ServiceType != updatedServiceRequestService.ServiceType) { this.ServiceType = updatedServiceRequestService.ServiceType; updated = true; }
 350:              if (this.Type != updatedServiceRequestService.Type) { this.Type = updatedServiceRequestService.Type; updated = true; }
 351:              if (this.Provisioned != updatedServiceRequestService.Provisioned) { this.Provisioned = updatedServiceRequestService.Provisioned; updated = true; }
 352:              if (this.AreaCode != updatedServiceRequestService.AreaCode) { this.AreaCode = updatedServiceRequestService.AreaCode; updated = true; }
 353:              if (this.CallWaiting != updatedServiceRequestService.CallWaiting) { this.CallWaiting = updatedServiceRequestService.CallWaiting; updated = true; }
 354:              if (this.CallForwarding != updatedServiceRequestService.CallForwarding) { this.CallForwarding = updatedServiceRequestService.CallForwarding; updated = true; }
 355:   
 356:              if (this.AlarmCall != updatedServiceRequestService.AlarmCall) { this.AlarmCall = updatedServiceRequestService.AlarmCall; updated = true; }
 357:              if (this.WakeupCall != updatedServiceRequestService.WakeupCall) { this.WakeupCall = updatedServiceRequestService.WakeupCall; updated = true; }
 358:   
 359:              if (this.CallBarring != updatedServiceRequestService.CallBarring) { this.CallBarring = updatedServiceRequestService.CallBarring; updated = true; }
 360:              if (this.InternationalCallingUserControlled != updatedServiceRequestService.InternationalCallingUserControlled) { this.InternationalCallingUserControlled = updatedServiceRequestService.InternationalCallingUserControlled; updated = true; }
 361:              if (this.InternationalCalling != updatedServiceRequestService.InternationalCalling) { this.InternationalCalling = updatedServiceRequestService.InternationalCalling; updated = true; }
 362:              if (this.CallerId != updatedServiceRequestService.CallerId) { this.CallerId = updatedServiceRequestService.CallerId; updated = true; }
 363:              if (this.ConferenceCall != updatedServiceRequestService.ConferenceCall) { this.ConferenceCall = updatedServiceRequestService.ConferenceCall; updated = true; }
 364:              if (this.ServiceSuspensionTypeId != updatedServiceRequestService.ServiceSuspensionTypeId) { this.ServiceSuspensionTypeId = updatedServiceRequestService.ServiceSuspensionTypeId; updated = true; }
 365:              if (this.AbbriviatedCalling != updatedServiceRequestService.AbbriviatedCalling) { this.AbbriviatedCalling = updatedServiceRequestService.AbbriviatedCalling; updated = true; }
 366:              if (this.CallForwardingUnconditional != updatedServiceRequestService.CallForwardingUnconditional) { this.CallForwardingUnconditional = updatedServiceRequestService.CallForwardingUnconditional; updated = true; }
 367:              if (this.CallingLineIdentificationRestriction != updatedServiceRequestService.CallingLineIdentificationRestriction) { this.CallingLineIdentificationRestriction = updatedServiceRequestService.CallingLineIdentificationRestriction; updated = true; }
 368:              if (this.ConnectedLineIdentificationRestriction != updatedServiceRequestService.ConnectedLineIdentificationRestriction) { this.ConnectedLineIdentificationRestriction = updatedServiceRequestService.ConnectedLineIdentificationRestriction; updated = true; }
 369:              if (this.WakeUp != updatedServiceRequestService.WakeUp) { this.WakeUp = updatedServiceRequestService.WakeUp; updated = true; }
 370:              if (this.CallForwardingByTime != updatedServiceRequestService.CallForwardingByTime) { this.CallForwardingByTime = updatedServiceRequestService.CallForwardingByTime; updated = true; }
 371:              if (this.MutlimediaInformationPresentation != updatedServiceRequestService.MutlimediaInformationPresentation) { this.MutlimediaInformationPresentation = updatedServiceRequestService.MutlimediaInformationPresentation; updated = true; }
 372:              if (this.SelectiveOutgoingCallBarring != updatedServiceRequestService.SelectiveOutgoingCallBarring) { this.SelectiveOutgoingCallBarring = updatedServiceRequestService.SelectiveOutgoingCallBarring; updated = true; }
 373:              if (this.DialNumberCallOutAllow != updatedServiceRequestService.DialNumberCallOutAllow) { this.DialNumberCallOutAllow = updatedServiceRequestService.DialNumberCallOutAllow; updated = true; }
 374:              if (this.DoNotDisturb != updatedServiceRequestService.DoNotDisturb) { this.DoNotDisturb = updatedServiceRequestService.DoNotDisturb; updated = true; }
 375:              if (this.OutgoingCallBarring != updatedServiceRequestService.OutgoingCallBarring) { this.OutgoingCallBarring = updatedServiceRequestService.OutgoingCallBarring; updated = true; }
 376:              if (this.TemporaryLine != updatedServiceRequestService.TemporaryLine) { this.TemporaryLine = updatedServiceRequestService.TemporaryLine; updated = true; }
 377:              if (this.CodecControl != updatedServiceRequestService.CodecControl) { this.CodecControl = updatedServiceRequestService.CodecControl; updated = true; }
 378:              if (this.SelectiveIncomingCallBarring != updatedServiceRequestService.SelectiveIncomingCallBarring) { this.SelectiveIncomingCallBarring = updatedServiceRequestService.SelectiveIncomingCallBarring; updated = true; }
 379:              if (this.SelectiveCallForwarding != updatedServiceRequestService.SelectiveCallForwarding) { this.SelectiveCallForwarding = updatedServiceRequestService.SelectiveCallForwarding; updated = true; }
 380:              if (this.DialNumberCallOutBarring != updatedServiceRequestService.DialNumberCallOutBarring) { this.DialNumberCallOutBarring = updatedServiceRequestService.DialNumberCallOutBarring; updated = true; }
 381:              if (this.CallForwardingBasedonBlackList != updatedServiceRequestService.CallForwardingBasedonBlackList) { this.CallForwardingBasedonBlackList = updatedServiceRequestService.CallForwardingBasedonBlackList; updated = true; }
 382:              if (this.CallForwardingBusy != updatedServiceRequestService.CallForwardingBusy) { this.CallForwardingBusy = updatedServiceRequestService.CallForwardingBusy; updated = true; }
 383:              if (this.CallForwardingNoReply != updatedServiceRequestService.CallForwardingNoReply) { this.CallForwardingNoReply = updatedServiceRequestService.CallForwardingNoReply; updated = true; }
 384:              if (this.CallForwardingOffline != updatedServiceRequestService.CallForwardingOffline) { this.CallForwardingOffline = updatedServiceRequestService.CallForwardingOffline; updated = true; }
 385:              if (this.CallForwardingOnUserNotReachable != updatedServiceRequestService.CallForwardingOnUserNotReachable) { this.CallForwardingOnUserNotReachable = updatedServiceRequestService.CallForwardingOnUserNotReachable; updated = true; }
 386:              if (this.CallForwardingNoReplyinCallWaiting != updatedServiceRequestService.CallForwardingNoReplyinCallWaiting) { this.CallForwardingNoReplyinCallWaiting = updatedServiceRequestService.CallForwardingNoReplyinCallWaiting; updated = true; }
 387:              if (this.MultiRinging != updatedServiceRequestService.MultiRinging) { this.MultiRinging = updatedServiceRequestService.MultiRinging; updated = true; }
 388:              if (this.ConvergentInterPersonalService != updatedServiceRequestService.ConvergentInterPersonalService) { this.ConvergentInterPersonalService = updatedServiceRequestService.ConvergentInterPersonalService; updated = true; }
 389:              if (this.CallForwardingBySequence != updatedServiceRequestService.CallForwardingBySequence) { this.CallForwardingBySequence = updatedServiceRequestService.CallForwardingBySequence; updated = true; }
 390:              if (this.UserNumberChange != updatedServiceRequestService.UserNumberChange) { this.UserNumberChange = updatedServiceRequestService.UserNumberChange; updated = true; }
 391:              if (this.BlackNumberData != updatedServiceRequestService.BlackNumberData) { this.BlackNumberData = updatedServiceRequestService.BlackNumberData; updated = true; }
 392:              if (this.WhiteNumberData != updatedServiceRequestService.WhiteNumberData) { this.WhiteNumberData = updatedServiceRequestService.WhiteNumberData; updated = true; }
 393:              if (this.OwedRestriction != updatedServiceRequestService.OwedRestriction) { this.OwedRestriction = updatedServiceRequestService.OwedRestriction; updated = true; }
 394:              if (this.Strategy != updatedServiceRequestService.Strategy) { this.Strategy = updatedServiceRequestService.Strategy; updated = true; }
 395:              if (this.GreenNumberData != updatedServiceRequestService.GreenNumberData) { this.GreenNumberData = updatedServiceRequestService.GreenNumberData; updated = true; }
 396:              if (this.RedNumberData != updatedServiceRequestService.RedNumberData) { this.RedNumberData = updatedServiceRequestService.RedNumberData; updated = true; }
 397:              if (this.BarringOfAllOutgoingCalls != updatedServiceRequestService.BarringOfAllOutgoingCalls) { this.BarringOfAllOutgoingCalls = updatedServiceRequestService.BarringOfAllOutgoingCalls; updated = true; }
 398:              if (this.BarringOfAllOutgoingInternationalCalls != updatedServiceRequestService.BarringOfAllOutgoingInternationalCalls) { this.BarringOfAllOutgoingInternationalCalls = updatedServiceRequestService.BarringOfAllOutgoingInternationalCalls; updated = true; }
 399:              if (this.BarringOfOutgoingInternationalCallsExceptThoseDirectedToTheHomePlmnCountry != updatedServiceRequestService.BarringOfOutgoingInternationalCallsExceptThoseDirectedToTheHomePlmnCountry) { this.BarringOfOutgoingInternationalCallsExceptThoseDirectedToTheHomePlmnCountry = updatedServiceRequestService.BarringOfOutgoingInternationalCallsExceptThoseDirectedToTheHomePlmnCountry; updated = true; }
 400:              if (this.BarringOfAllIncomingCalls != updatedServiceRequestService.BarringOfAllIncomingCalls) { this.BarringOfAllIncomingCalls = updatedServiceRequestService.BarringOfAllIncomingCalls; updated = true; }
 401:              if (this.BarringOfIncomingCallsWhenRoamingOutsideTheHomePlmnCountry != updatedServiceRequestService.BarringOfIncomingCallsWhenRoamingOutsideTheHomePlmnCountry) { this.BarringOfIncomingCallsWhenRoamingOutsideTheHomePlmnCountry = updatedServiceRequestService.BarringOfIncomingCallsWhenRoamingOutsideTheHomePlmnCountry; updated = true; }
 402:              if (this.SpeedDial != updatedServiceRequestService.SpeedDial) { this.SpeedDial = updatedServiceRequestService.SpeedDial; updated = true; }
 403:              if (this.GreenCall != updatedServiceRequestService.GreenCall) { this.GreenCall = updatedServiceRequestService.GreenCall; updated = true; }
 404:              if (this.SetDataUpgrade != updatedServiceRequestService.SetDataUpgrade) { this.SetDataUpgrade = updatedServiceRequestService.SetDataUpgrade; updated = true; }
 405:              if (this.AutoConsole != updatedServiceRequestService.AutoConsole) { this.AutoConsole = updatedServiceRequestService.AutoConsole; updated = true; }
 406:              if (this.NightService != updatedServiceRequestService.NightService) { this.NightService = updatedServiceRequestService.NightService; updated = true; }
 407:              if (this.BackupNumber != updatedServiceRequestService.BackupNumber) { this.BackupNumber = updatedServiceRequestService.BackupNumber; updated = true; }
 408:              if (this.Absence != updatedServiceRequestService.Absence) { this.Absence = updatedServiceRequestService.Absence; updated = true; }
 409:              if (this.AuthorizedCodeForStdIdd != updatedServiceRequestService.AuthorizedCodeForStdIdd) { this.AuthorizedCodeForStdIdd = updatedServiceRequestService.AuthorizedCodeForStdIdd; updated = true; }
 410:              if (this.Hotline != updatedServiceRequestService.Hotline) { this.Hotline = updatedServiceRequestService.Hotline; updated = true; }
 411:              if (this.CetMaliciousCommunicationIdentification != updatedServiceRequestService.CetMaliciousCommunicationIdentification) { this.CetMaliciousCommunicationIdentification = updatedServiceRequestService.CetMaliciousCommunicationIdentification; updated = true; }
 412:              if (this.MissCallNotify != updatedServiceRequestService.MissCallNotify) { this.MissCallNotify = updatedServiceRequestService.MissCallNotify; updated = true; }
 413:              if (this.SubscriptionStatus != updatedServiceRequestService.SubscriptionStatus) { this.SubscriptionStatus = updatedServiceRequestService.SubscriptionStatus; updated = true; }
 414:              if (this.UsbDongleOneKeyService != updatedServiceRequestService.UsbDongleOneKeyService) { this.UsbDongleOneKeyService = updatedServiceRequestService.UsbDongleOneKeyService; updated = true; }
 415:              if (this.IRoamingInboundSingleImsiMultiMsisdn != updatedServiceRequestService.IRoamingInboundSingleImsiMultiMsisdn) { this.IRoamingInboundSingleImsiMultiMsisdn = updatedServiceRequestService.IRoamingInboundSingleImsiMultiMsisdn; updated = true; }
 416:              if (this.IRoamingOutboundSingleImsiMultiMsisdn != updatedServiceRequestService.IRoamingOutboundSingleImsiMultiMsisdn) { this.IRoamingOutboundSingleImsiMultiMsisdn = updatedServiceRequestService.IRoamingOutboundSingleImsiMultiMsisdn; updated = true; }
 417:              if (this.NpaSplit != updatedServiceRequestService.NpaSplit) { this.NpaSplit = updatedServiceRequestService.NpaSplit; updated = true; }
 418:              if (this.AllCallForwardingGroup != updatedServiceRequestService.AllCallForwardingGroup) { this.AllCallForwardingGroup = updatedServiceRequestService.AllCallForwardingGroup; updated = true; }
 419:              if (this.ConditionalCallForwardingGroup != updatedServiceRequestService.ConditionalCallForwardingGroup) { this.ConditionalCallForwardingGroup = updatedServiceRequestService.ConditionalCallForwardingGroup; updated = true; }
 420:              if (this.GeneralOrigIdentificationRestriction != updatedServiceRequestService.GeneralOrigIdentificationRestriction) { this.GeneralOrigIdentificationRestriction = updatedServiceRequestService.GeneralOrigIdentificationRestriction; updated = true; }
 421:              if (this.MultimediaOfOrigIdRestriction != updatedServiceRequestService.MultimediaOfOrigIdRestriction) { this.MultimediaOfOrigIdRestriction = updatedServiceRequestService.MultimediaOfOrigIdRestriction; updated = true; }
 422:              if (this.TerminatingIdentityRestriction != updatedServiceRequestService.TerminatingIdentityRestriction) { this.TerminatingIdentityRestriction = updatedServiceRequestService.TerminatingIdentityRestriction; updated = true; }
 423:              if (this.DistinctiveRing != updatedServiceRequestService.DistinctiveRing) { this.DistinctiveRing = updatedServiceRequestService.DistinctiveRing; updated = true; }
 424:              if (this.VisitedNetworkImpu != updatedServiceRequestService.VisitedNetworkImpu) { this.VisitedNetworkImpu = updatedServiceRequestService.VisitedNetworkImpu; updated = true; }
 425:              if (this.SeasonalSuspend != updatedServiceRequestService.SeasonalSuspend) { this.SeasonalSuspend = updatedServiceRequestService.SeasonalSuspend; updated = true; }
 426:              if (this.NumberInvalidation != updatedServiceRequestService.NumberInvalidation) { this.NumberInvalidation = updatedServiceRequestService.NumberInvalidation; updated = true; }
 427:              if (this.IroamingServiceProvision != updatedServiceRequestService.IroamingServiceProvision) { this.IroamingServiceProvision = updatedServiceRequestService.IroamingServiceProvision; updated = true; }
 428:              if (this.IptvCallerId != updatedServiceRequestService.IptvCallerId) { this.IptvCallerId = updatedServiceRequestService.IptvCallerId; updated = true; }
 429:              if (this.IptvVideoCall != updatedServiceRequestService.IptvVideoCall) { this.IptvVideoCall = updatedServiceRequestService.IptvVideoCall; updated = true; }
 430:              if (this.NumberPortability != updatedServiceRequestService.NumberPortability) { this.NumberPortability = updatedServiceRequestService.NumberPortability; updated = true; }
 431:              if (this.SecretaryService != updatedServiceRequestService.SecretaryService) { this.SecretaryService = updatedServiceRequestService.SecretaryService; updated = true; }
 432:              if (this.SalesBlock != updatedServiceRequestService.SalesBlock) { this.SalesBlock = updatedServiceRequestService.SalesBlock; updated = true; }
 433:              if (this.FilterCriteria != updatedServiceRequestService.FilterCriteria) { this.FilterCriteria = updatedServiceRequestService.FilterCriteria; updated = true; }
 434:              if (this.CallerInformation != updatedServiceRequestService.CallerInformation) { this.CallerInformation = updatedServiceRequestService.CallerInformation; updated = true; }
 435:              if (this.PresenceStatus != updatedServiceRequestService.PresenceStatus) { this.PresenceStatus = updatedServiceRequestService.PresenceStatus; updated = true; }
 436:              if (this.OneNumberService != updatedServiceRequestService.OneNumberService) { this.OneNumberService = updatedServiceRequestService.OneNumberService; updated = true; }
 437:              if (this.AssociationList != updatedServiceRequestService.AssociationList) { this.AssociationList = updatedServiceRequestService.AssociationList; updated = true; }
 438:              if (this.Pin != updatedServiceRequestService.Pin) { this.Pin = updatedServiceRequestService.Pin; updated = true; }
 439:   
 440:              // below: ServiceSuspension is updated individually
 441:              // if (this.ServiceSuspension != updatedServiceRequestService.ServiceSuspension) { this.ServiceSuspension = updatedServiceRequestService.ServiceSuspension; updated = true; }
 442:   
 443:              // important: ServiceRequestService.Update() will only update stored.Access if it is null, or (stored.userId == Guid.Empty && update.Id > stored.Id)
 444:              // this is important to enable manual staff update.
 445:              if (this.Access == null && updatedServiceRequestService.Access != null) { this.Access = updatedServiceRequestService.Access; updated = true; }
 446:              else if (this.Access != null && updatedServiceRequestService.Access != null && this.Access != updatedServiceRequestService.Access && this.UserId == Guid.Empty /*&& long.Parse(updatedServiceRequestService.Id) > long.Parse(this.Id)*/) { this.Access = updatedServiceRequestService.Access; updated = true; }
 447:   
 448:              // important: I will not update this.UserId if update.UserId is Guid.Empty so that I don't override staff this.UserId. I need this to be valid for this.Access test above
 449:              if (this.UserId != updatedServiceRequestService.UserId && updatedServiceRequestService.UserId != Guid.Empty) { this.UserId = updatedServiceRequestService.UserId; updated = true; }
 450:   
 451:              //if (this.ServiceRequests != updatedServiceRequestService.ServiceRequests) { this.ServiceRequests = updatedServiceRequestService.ServiceRequests; updated = true; }
 452:   
 453:              if (this.LastRequestDateTime != updatedServiceRequestService.LastRequestDateTime) { this.LastRequestDateTime = updatedServiceRequestService.LastRequestDateTime; updated = true; }
 454:   
 455:              if (updated) this.Updated = DateTime.UtcNow.AddHours(3);
 456:   
 457:              return updated;
 458:          }
 459:   
 460:          ////////////////////////////////////////////////////////////////////////////
 461:   
 462:          /// <summary>
 463:          /// Copy value from another ServiceRequestService
 464:          /// </summary>
 465:          public void Copy(ServiceRequestService sourceServiceRequestService)
 466:          {
 467:              // below: this will not ...
 468:   
 469:              this.Id = sourceServiceRequestService.Id;
 470:              this.Service = sourceServiceRequestService.Service;
 471:              this.ServiceType = sourceServiceRequestService.ServiceType;
 472:              this.Type = sourceServiceRequestService.Type;
 473:              this.Provisioned = sourceServiceRequestService.Provisioned;
 474:              this.AreaCode = sourceServiceRequestService.AreaCode;
 475:              this.CallWaiting = sourceServiceRequestService.CallWaiting;
 476:              this.CallForwarding = sourceServiceRequestService.CallForwarding;
 477:   
 478:              this.AlarmCall = sourceServiceRequestService.AlarmCall;
 479:              this.WakeupCall = sourceServiceRequestService.WakeupCall;
 480:   
 481:              this.CallBarring = sourceServiceRequestService.CallBarring;
 482:              this.InternationalCallingUserControlled = sourceServiceRequestService.InternationalCallingUserControlled;
 483:              this.InternationalCalling = sourceServiceRequestService.InternationalCalling;
 484:              this.CallerId = sourceServiceRequestService.CallerId;
 485:              this.ConferenceCall = sourceServiceRequestService.ConferenceCall;
 486:              this.ServiceSuspensionTypeId = sourceServiceRequestService.ServiceSuspensionTypeId;
 487:              this.AbbriviatedCalling = sourceServiceRequestService.AbbriviatedCalling;
 488:              this.CallForwardingUnconditional = sourceServiceRequestService.CallForwardingUnconditional;
 489:              this.CallingLineIdentificationRestriction = sourceServiceRequestService.CallingLineIdentificationRestriction;
 490:              this.ConnectedLineIdentificationRestriction = sourceServiceRequestService.ConnectedLineIdentificationRestriction;
 491:              this.WakeUp = sourceServiceRequestService.WakeUp;
 492:              this.CallForwardingByTime = sourceServiceRequestService.CallForwardingByTime;
 493:              this.MutlimediaInformationPresentation = sourceServiceRequestService.MutlimediaInformationPresentation;
 494:              this.SelectiveOutgoingCallBarring = sourceServiceRequestService.SelectiveOutgoingCallBarring;
 495:              this.DialNumberCallOutAllow = sourceServiceRequestService.DialNumberCallOutAllow;
 496:              this.DoNotDisturb = sourceServiceRequestService.DoNotDisturb;
 497:              this.OutgoingCallBarring = sourceServiceRequestService.OutgoingCallBarring;
 498:              this.TemporaryLine = sourceServiceRequestService.TemporaryLine;
 499:              this.CodecControl = sourceServiceRequestService.CodecControl;
 500:              this.SelectiveIncomingCallBarring = sourceServiceRequestService.SelectiveIncomingCallBarring;
 501:              this.SelectiveCallForwarding = sourceServiceRequestService.SelectiveCallForwarding;
 502:              this.DialNumberCallOutBarring = sourceServiceRequestService.DialNumberCallOutBarring;
 503:              this.CallForwardingBasedonBlackList = sourceServiceRequestService.CallForwardingBasedonBlackList;
 504:              this.CallForwardingBusy = sourceServiceRequestService.CallForwardingBusy;
 505:              this.CallForwardingNoReply = sourceServiceRequestService.CallForwardingNoReply;
 506:              this.CallForwardingOffline = sourceServiceRequestService.CallForwardingOffline;
 507:              this.CallForwardingOnUserNotReachable = sourceServiceRequestService.CallForwardingOnUserNotReachable;
 508:              this.CallForwardingNoReplyinCallWaiting = sourceServiceRequestService.CallForwardingNoReplyinCallWaiting;
 509:              this.MultiRinging = sourceServiceRequestService.MultiRinging;
 510:              this.ConvergentInterPersonalService = sourceServiceRequestService.ConvergentInterPersonalService;
 511:              this.CallForwardingBySequence = sourceServiceRequestService.CallForwardingBySequence;
 512:              this.UserNumberChange = sourceServiceRequestService.UserNumberChange;
 513:              this.BlackNumberData = sourceServiceRequestService.BlackNumberData;
 514:              this.WhiteNumberData = sourceServiceRequestService.WhiteNumberData;
 515:              this.OwedRestriction = sourceServiceRequestService.OwedRestriction;
 516:              this.Strategy = sourceServiceRequestService.Strategy;
 517:              this.GreenNumberData = sourceServiceRequestService.GreenNumberData;
 518:              this.RedNumberData = sourceServiceRequestService.RedNumberData;
 519:              this.BarringOfAllOutgoingCalls = sourceServiceRequestService.BarringOfAllOutgoingCalls;
 520:              this.BarringOfAllOutgoingInternationalCalls = sourceServiceRequestService.BarringOfAllOutgoingInternationalCalls;
 521:              this.BarringOfOutgoingInternationalCallsExceptThoseDirectedToTheHomePlmnCountry = sourceServiceRequestService.BarringOfOutgoingInternationalCallsExceptThoseDirectedToTheHomePlmnCountry;
 522:              this.BarringOfAllIncomingCalls = sourceServiceRequestService.BarringOfAllIncomingCalls;
 523:              this.BarringOfIncomingCallsWhenRoamingOutsideTheHomePlmnCountry = sourceServiceRequestService.BarringOfIncomingCallsWhenRoamingOutsideTheHomePlmnCountry;
 524:              this.SpeedDial = sourceServiceRequestService.SpeedDial;
 525:              this.GreenCall = sourceServiceRequestService.GreenCall;
 526:              this.SetDataUpgrade = sourceServiceRequestService.SetDataUpgrade;
 527:              this.AutoConsole = sourceServiceRequestService.AutoConsole;
 528:              this.NightService = sourceServiceRequestService.NightService;
 529:              this.BackupNumber = sourceServiceRequestService.BackupNumber;
 530:              this.Absence = sourceServiceRequestService.Absence;
 531:              this.AuthorizedCodeForStdIdd = sourceServiceRequestService.AuthorizedCodeForStdIdd;
 532:              this.Hotline = sourceServiceRequestService.Hotline;
 533:              this.CetMaliciousCommunicationIdentification = sourceServiceRequestService.CetMaliciousCommunicationIdentification;
 534:              this.MissCallNotify = sourceServiceRequestService.MissCallNotify;
 535:              this.SubscriptionStatus = sourceServiceRequestService.SubscriptionStatus;
 536:              this.UsbDongleOneKeyService = sourceServiceRequestService.UsbDongleOneKeyService;
 537:              this.IRoamingInboundSingleImsiMultiMsisdn = sourceServiceRequestService.IRoamingInboundSingleImsiMultiMsisdn;
 538:              this.IRoamingOutboundSingleImsiMultiMsisdn = sourceServiceRequestService.IRoamingOutboundSingleImsiMultiMsisdn;
 539:              this.NpaSplit = sourceServiceRequestService.NpaSplit;
 540:              this.AllCallForwardingGroup = sourceServiceRequestService.AllCallForwardingGroup;
 541:              this.ConditionalCallForwardingGroup = sourceServiceRequestService.ConditionalCallForwardingGroup;
 542:              this.GeneralOrigIdentificationRestriction = sourceServiceRequestService.GeneralOrigIdentificationRestriction;
 543:              this.MultimediaOfOrigIdRestriction = sourceServiceRequestService.MultimediaOfOrigIdRestriction;
 544:              this.TerminatingIdentityRestriction = sourceServiceRequestService.TerminatingIdentityRestriction;
 545:              this.DistinctiveRing = sourceServiceRequestService.DistinctiveRing;
 546:              this.VisitedNetworkImpu = sourceServiceRequestService.VisitedNetworkImpu;
 547:              this.SeasonalSuspend = sourceServiceRequestService.SeasonalSuspend;
 548:              this.NumberInvalidation = sourceServiceRequestService.NumberInvalidation;
 549:              this.IroamingServiceProvision = sourceServiceRequestService.IroamingServiceProvision;
 550:              this.IptvCallerId = sourceServiceRequestService.IptvCallerId;
 551:              this.IptvVideoCall = sourceServiceRequestService.IptvVideoCall;
 552:              this.NumberPortability = sourceServiceRequestService.NumberPortability;
 553:              this.SecretaryService = sourceServiceRequestService.SecretaryService;
 554:              this.SalesBlock = sourceServiceRequestService.SalesBlock;
 555:              this.FilterCriteria = sourceServiceRequestService.FilterCriteria;
 556:              this.CallerInformation = sourceServiceRequestService.CallerInformation;
 557:              this.PresenceStatus = sourceServiceRequestService.PresenceStatus;
 558:              this.OneNumberService = sourceServiceRequestService.OneNumberService;
 559:              this.AssociationList = sourceServiceRequestService.AssociationList;
 560:              this.Pin = sourceServiceRequestService.Pin;
 561:              this.LastRequestDateTime = sourceServiceRequestService.LastRequestDateTime;
 562:   
 563:              // ServiceSuspection is updated individually using a seperate function
 564:              // this.ServiceSuspension = srs.ServiceSuspension;
 565:   
 566:              this.UserId = sourceServiceRequestService.UserId;
 567:          }
 568:   
 569:          ////////////////////////////////////////////////////////////////////////////
 570:   
 571:          /// <summary>
 572:          /// Copy complementary services from a ServiceInitialState
 573:          /// </summary>
 574:          public void CopyComplementaryService(ServiceInitialState sourceServiceInitialState)
 575:          {
 576:              // below:
 577:   
 578:              this.CallWaiting = sourceServiceInitialState.CallWaiting;
 579:              this.CallForwarding = sourceServiceInitialState.CallForwarding;
 580:   
 581:              this.AlarmCall = sourceServiceInitialState.AlarmCall;
 582:              this.WakeupCall = sourceServiceInitialState.WakeupCall;
 583:   
 584:              this.CallBarring = sourceServiceInitialState.CallBarring;
 585:              this.InternationalCallingUserControlled = sourceServiceInitialState.InternationalCallingUserControlled;
 586:              this.InternationalCalling = sourceServiceInitialState.InternationalCalling;
 587:              this.CallerId = sourceServiceInitialState.CallerId;
 588:              this.ConferenceCall = sourceServiceInitialState.ConferenceCall;
 589:              this.ServiceSuspensionTypeId = sourceServiceInitialState.ServiceSuspensionTypeId;
 590:              this.AbbriviatedCalling = sourceServiceInitialState.AbbriviatedCalling;
 591:              this.CallForwardingUnconditional = sourceServiceInitialState.CallForwardingUnconditional;
 592:              this.CallingLineIdentificationRestriction = sourceServiceInitialState.CallingLineIdentificationRestriction;
 593:              this.ConnectedLineIdentificationRestriction = sourceServiceInitialState.ConnectedLineIdentificationRestriction;
 594:              this.WakeUp = sourceServiceInitialState.WakeUp;
 595:              this.CallForwardingByTime = sourceServiceInitialState.CallForwardingByTime;
 596:              this.MutlimediaInformationPresentation = sourceServiceInitialState.MutlimediaInformationPresentation;
 597:              this.SelectiveOutgoingCallBarring = sourceServiceInitialState.SelectiveOutgoingCallBarring;
 598:              this.DialNumberCallOutAllow = sourceServiceInitialState.DialNumberCallOutAllow;
 599:              this.DoNotDisturb = sourceServiceInitialState.DoNotDisturb;
 600:              this.OutgoingCallBarring = sourceServiceInitialState.OutgoingCallBarring;
 601:              this.TemporaryLine = sourceServiceInitialState.TemporaryLine;
 602:              this.CodecControl = sourceServiceInitialState.CodecControl;
 603:              this.SelectiveIncomingCallBarring = sourceServiceInitialState.SelectiveIncomingCallBarring;
 604:              this.SelectiveCallForwarding = sourceServiceInitialState.SelectiveCallForwarding;
 605:              this.DialNumberCallOutBarring = sourceServiceInitialState.DialNumberCallOutBarring;
 606:              this.CallForwardingBasedonBlackList = sourceServiceInitialState.CallForwardingBasedonBlackList;
 607:              this.CallForwardingBusy = sourceServiceInitialState.CallForwardingBusy;
 608:              this.CallForwardingNoReply = sourceServiceInitialState.CallForwardingNoReply;
 609:              this.CallForwardingOffline = sourceServiceInitialState.CallForwardingOffline;
 610:              this.CallForwardingOnUserNotReachable = sourceServiceInitialState.CallForwardingOnUserNotReachable;
 611:              this.CallForwardingNoReplyinCallWaiting = sourceServiceInitialState.CallForwardingNoReplyinCallWaiting;
 612:              this.MultiRinging = sourceServiceInitialState.MultiRinging;
 613:              this.ConvergentInterPersonalService = sourceServiceInitialState.ConvergentInterPersonalService;
 614:              this.CallForwardingBySequence = sourceServiceInitialState.CallForwardingBySequence;
 615:              this.UserNumberChange = sourceServiceInitialState.UserNumberChange;
 616:              this.BlackNumberData = sourceServiceInitialState.BlackNumberData;
 617:              this.WhiteNumberData = sourceServiceInitialState.WhiteNumberData;
 618:              this.OwedRestriction = sourceServiceInitialState.OwedRestriction;
 619:              this.Strategy = sourceServiceInitialState.Strategy;
 620:              this.GreenNumberData = sourceServiceInitialState.GreenNumberData;
 621:              this.RedNumberData = sourceServiceInitialState.RedNumberData;
 622:              this.BarringOfAllOutgoingCalls = sourceServiceInitialState.BarringOfAllOutgoingCalls;
 623:              this.BarringOfAllOutgoingInternationalCalls = sourceServiceInitialState.BarringOfAllOutgoingInternationalCalls;
 624:              this.BarringOfOutgoingInternationalCallsExceptThoseDirectedToTheHomePlmnCountry = sourceServiceInitialState.BarringOfOutgoingInternationalCallsExceptThoseDirectedToTheHomePlmnCountry;
 625:              this.BarringOfAllIncomingCalls = sourceServiceInitialState.BarringOfAllIncomingCalls;
 626:              this.BarringOfIncomingCallsWhenRoamingOutsideTheHomePlmnCountry = sourceServiceInitialState.BarringOfIncomingCallsWhenRoamingOutsideTheHomePlmnCountry;
 627:              this.SpeedDial = sourceServiceInitialState.SpeedDial;
 628:              this.GreenCall = sourceServiceInitialState.GreenCall;
 629:              this.SetDataUpgrade = sourceServiceInitialState.SetDataUpgrade;
 630:              this.AutoConsole = sourceServiceInitialState.AutoConsole;
 631:              this.NightService = sourceServiceInitialState.NightService;
 632:              this.BackupNumber = sourceServiceInitialState.BackupNumber;
 633:              this.Absence = sourceServiceInitialState.Absence;
 634:              this.AuthorizedCodeForStdIdd = sourceServiceInitialState.AuthorizedCodeForStdIdd;
 635:              this.Hotline = sourceServiceInitialState.Hotline;
 636:              this.CetMaliciousCommunicationIdentification = sourceServiceInitialState.CetMaliciousCommunicationIdentification;
 637:              this.MissCallNotify = sourceServiceInitialState.MissCallNotify;
 638:              this.SubscriptionStatus = sourceServiceInitialState.SubscriptionStatus;
 639:              this.UsbDongleOneKeyService = sourceServiceInitialState.UsbDongleOneKeyService;
 640:              this.IRoamingInboundSingleImsiMultiMsisdn = sourceServiceInitialState.IRoamingInboundSingleImsiMultiMsisdn;
 641:              this.IRoamingOutboundSingleImsiMultiMsisdn = sourceServiceInitialState.IRoamingOutboundSingleImsiMultiMsisdn;
 642:              this.NpaSplit = sourceServiceInitialState.NpaSplit;
 643:              this.AllCallForwardingGroup = sourceServiceInitialState.AllCallForwardingGroup;
 644:              this.ConditionalCallForwardingGroup = sourceServiceInitialState.ConditionalCallForwardingGroup;
 645:              this.GeneralOrigIdentificationRestriction = sourceServiceInitialState.GeneralOrigIdentificationRestriction;
 646:              this.MultimediaOfOrigIdRestriction = sourceServiceInitialState.MultimediaOfOrigIdRestriction;
 647:              this.TerminatingIdentityRestriction = sourceServiceInitialState.TerminatingIdentityRestriction;
 648:              this.DistinctiveRing = sourceServiceInitialState.DistinctiveRing;
 649:              this.VisitedNetworkImpu = sourceServiceInitialState.VisitedNetworkImpu;
 650:              this.SeasonalSuspend = sourceServiceInitialState.SeasonalSuspend;
 651:              this.NumberInvalidation = sourceServiceInitialState.NumberInvalidation;
 652:              this.IroamingServiceProvision = sourceServiceInitialState.IroamingServiceProvision;
 653:              this.IptvCallerId = sourceServiceInitialState.IptvCallerId;
 654:              this.IptvVideoCall = sourceServiceInitialState.IptvVideoCall;
 655:              this.NumberPortability = sourceServiceInitialState.NumberPortability;
 656:              this.SecretaryService = sourceServiceInitialState.SecretaryService;
 657:              this.SalesBlock = sourceServiceInitialState.SalesBlock;
 658:              this.FilterCriteria = sourceServiceInitialState.FilterCriteria;
 659:              this.CallerInformation = sourceServiceInitialState.CallerInformation;
 660:              this.PresenceStatus = sourceServiceInitialState.PresenceStatus;
 661:              this.OneNumberService = sourceServiceInitialState.OneNumberService;
 662:              this.AssociationList = sourceServiceInitialState.AssociationList;
 663:              this.Pin = sourceServiceInitialState.Pin;
 664:          }
 665:   
 666:          ////////////////////////////////////////////////////////////////////////////
 667:          ////////////////////////////////////////////////////////////////////////////
 668:      }
 669:   
 670:      ////////////////////////////////////////////////////////////////////////////
 671:      ////////////////////////////////////////////////////////////////////////////
 672:  }