Example #1
0
 /// <summary>
 /// Copies the base properties from a source GroupSync object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom(GroupSync source)
 {
     this.Id = source.Id;
     this.AddUserAccountsDuringSync = source.AddUserAccountsDuringSync;
     this.ExitSystemCommunicationId = source.ExitSystemCommunicationId;
     #pragma warning disable 612, 618
     this.ExitSystemEmailId = source.ExitSystemEmailId;
     #pragma warning restore 612, 618
     this.ForeignGuid         = source.ForeignGuid;
     this.ForeignKey          = source.ForeignKey;
     this.GroupId             = source.GroupId;
     this.GroupTypeRoleId     = source.GroupTypeRoleId;
     this.LastRefreshDateTime = source.LastRefreshDateTime;
     this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
     this.ScheduleIntervalMinutes           = source.ScheduleIntervalMinutes;
     this.SyncDataViewId = source.SyncDataViewId;
     this.WelcomeSystemCommunicationId = source.WelcomeSystemCommunicationId;
     #pragma warning disable 612, 618
     this.WelcomeSystemEmailId = source.WelcomeSystemEmailId;
     #pragma warning restore 612, 618
     this.CreatedDateTime         = source.CreatedDateTime;
     this.ModifiedDateTime        = source.ModifiedDateTime;
     this.CreatedByPersonAliasId  = source.CreatedByPersonAliasId;
     this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
     this.Guid      = source.Guid;
     this.ForeignId = source.ForeignId;
 }
 /// <summary>
 /// Copies the base properties from a source GroupSync object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom(GroupSync source)
 {
     this.Id = source.Id;
     this.AddUserAccountsDuringSync = source.AddUserAccountsDuringSync;
     this.ExitSystemEmailId         = source.ExitSystemEmailId;
     this.ForeignGuid     = source.ForeignGuid;
     this.ForeignKey      = source.ForeignKey;
     this.GroupId         = source.GroupId;
     this.GroupTypeRoleId = source.GroupTypeRoleId;
     this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
     this.SyncDataViewId          = source.SyncDataViewId;
     this.WelcomeSystemEmailId    = source.WelcomeSystemEmailId;
     this.CreatedDateTime         = source.CreatedDateTime;
     this.ModifiedDateTime        = source.ModifiedDateTime;
     this.CreatedByPersonAliasId  = source.CreatedByPersonAliasId;
     this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
     this.Guid      = source.Guid;
     this.ForeignId = source.ForeignId;
 }