Client model for ConnectionType that includes all the fields that are available for GETs. Use this for GETs (use ConnectionTypeEntity for POST/PUTs)
Inheritance: ConnectionTypeEntity
コード例 #1
0
ファイル: ConnectionType.cs プロジェクト: NewSpring/Rock
 /// <summary>
 /// Copies the base properties from a source ConnectionType object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom( ConnectionType source )
 {
     this.Id = source.Id;
     this.DaysUntilRequestIdle = source.DaysUntilRequestIdle;
     this.Description = source.Description;
     this.EnableFullActivityList = source.EnableFullActivityList;
     this.EnableFutureFollowup = source.EnableFutureFollowup;
     this.ForeignGuid = source.ForeignGuid;
     this.ForeignKey = source.ForeignKey;
     this.IconCssClass = source.IconCssClass;
     this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
     this.Name = source.Name;
     this.OwnerPersonAliasId = source.OwnerPersonAliasId;
     this.RequiresPlacementGroupToConnect = source.RequiresPlacementGroupToConnect;
     this.CreatedDateTime = source.CreatedDateTime;
     this.ModifiedDateTime = source.ModifiedDateTime;
     this.CreatedByPersonAliasId = source.CreatedByPersonAliasId;
     this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
     this.Guid = source.Guid;
     this.ForeignId = source.ForeignId;
 }
コード例 #2
0
 /// <summary>
 /// Copies the base properties from a source ConnectionType object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom( ConnectionType source )
 {
     this.Id = source.Id;
     this.Description = source.Description;
     this.EnableFullActivityList = source.EnableFullActivityList;
     this.EnableFutureFollowup = source.EnableFutureFollowup;
     this.IconCssClass = source.IconCssClass;
     this.Name = source.Name;
     this.OwnerPersonAliasId = source.OwnerPersonAliasId;
     this.Guid = source.Guid;
     this.ForeignId = source.ForeignId;
 }