Client model for BenevolenceRequest that includes all the fields that are available for GETs. Use this for GETs (use BenevolenceRequestEntity for POST/PUTs)
Inheritance: BenevolenceRequestEntity
コード例 #1
0
 /// <summary>
 /// Copies the base properties from a source BenevolenceRequest object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom(BenevolenceRequest source)
 {
     this.Id = source.Id;
     this.CaseWorkerPersonAliasId = source.CaseWorkerPersonAliasId;
     this.CellPhoneNumber         = source.CellPhoneNumber;
     this.ConnectionStatusValueId = source.ConnectionStatusValueId;
     this.Email           = source.Email;
     this.FirstName       = source.FirstName;
     this.ForeignGuid     = source.ForeignGuid;
     this.ForeignKey      = source.ForeignKey;
     this.GovernmentId    = source.GovernmentId;
     this.HomePhoneNumber = source.HomePhoneNumber;
     this.LastName        = source.LastName;
     this.LocationId      = source.LocationId;
     this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
     this.RequestDateTime          = source.RequestDateTime;
     this.RequestedByPersonAliasId = source.RequestedByPersonAliasId;
     this.RequestStatusValueId     = source.RequestStatusValueId;
     this.RequestText             = source.RequestText;
     this.ResultSummary           = source.ResultSummary;
     this.WorkPhoneNumber         = source.WorkPhoneNumber;
     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
ファイル: BenevolenceRequest.cs プロジェクト: NewSpring/Rock
 /// <summary>
 /// Copies the base properties from a source BenevolenceRequest object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom( BenevolenceRequest source )
 {
     this.Id = source.Id;
     this.CampusId = source.CampusId;
     this.CaseWorkerPersonAliasId = source.CaseWorkerPersonAliasId;
     this.CellPhoneNumber = source.CellPhoneNumber;
     this.ConnectionStatusValueId = source.ConnectionStatusValueId;
     this.Email = source.Email;
     this.FirstName = source.FirstName;
     this.ForeignGuid = source.ForeignGuid;
     this.ForeignKey = source.ForeignKey;
     this.GovernmentId = source.GovernmentId;
     this.HomePhoneNumber = source.HomePhoneNumber;
     this.LastName = source.LastName;
     this.LocationId = source.LocationId;
     this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
     this.ProvidedNextSteps = source.ProvidedNextSteps;
     this.RequestDateTime = source.RequestDateTime;
     this.RequestedByPersonAliasId = source.RequestedByPersonAliasId;
     this.RequestStatusValueId = source.RequestStatusValueId;
     this.RequestText = source.RequestText;
     this.ResultSummary = source.ResultSummary;
     this.WorkPhoneNumber = source.WorkPhoneNumber;
     this.CreatedDateTime = source.CreatedDateTime;
     this.ModifiedDateTime = source.ModifiedDateTime;
     this.CreatedByPersonAliasId = source.CreatedByPersonAliasId;
     this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
     this.Guid = source.Guid;
     this.ForeignId = source.ForeignId;
 }