Client model for PageView that includes all the fields that are available for GETs. Use this for GETs (use PageViewEntity for POST/PUTs)
Inheritance: PageViewEntity
コード例 #1
0
ファイル: PageView.cs プロジェクト: timothybaloyi/Rock
 /// <summary>
 /// Copies the base properties from a source PageView object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom(PageView source)
 {
     this.Id                = source.Id;
     this.DateTimeViewed    = source.DateTimeViewed;
     this.ForeignGuid       = source.ForeignGuid;
     this.ForeignKey        = source.ForeignKey;
     this.PageId            = source.PageId;
     this.PageTitle         = source.PageTitle;
     this.PageViewSessionId = source.PageViewSessionId;
     this.PersonAliasId     = source.PersonAliasId;
     this.SiteId            = source.SiteId;
     this.Url               = source.Url;
     this.Guid              = source.Guid;
     this.ForeignId         = source.ForeignId;
 }
コード例 #2
0
ファイル: PageView.cs プロジェクト: NewSpring/Rock
 /// <summary>
 /// Copies the base properties from a source PageView object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom( PageView source )
 {
     this.Id = source.Id;
     this.DateTimeViewed = source.DateTimeViewed;
     this.ForeignGuid = source.ForeignGuid;
     this.ForeignKey = source.ForeignKey;
     this.PageId = source.PageId;
     this.PageTitle = source.PageTitle;
     this.PageViewSessionId = source.PageViewSessionId;
     this.PersonAliasId = source.PersonAliasId;
     this.SiteId = source.SiteId;
     this.Url = source.Url;
     this.Guid = source.Guid;
     this.ForeignId = source.ForeignId;
 }
コード例 #3
0
 /// <summary>
 /// Copies the base properties from a source PageView object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom( PageView source )
 {
     this.Id = source.Id;
     this.ClientType = source.ClientType;
     this.DateTimeViewed = source.DateTimeViewed;
     this.IpAddress = source.IpAddress;
     this.PageId = source.PageId;
     this.PageTitle = source.PageTitle;
     this.PersonAliasId = source.PersonAliasId;
     this.SessionId = source.SessionId;
     this.SiteId = source.SiteId;
     this.Url = source.Url;
     this.UserAgent = source.UserAgent;
     this.Guid = source.Guid;
     this.ForeignId = source.ForeignId;
 }