Table of Contents

Class ViewData

Namespace
Dynamicweb.Tracking
Assembly
Dynamicweb.Core.dll

Class for collecting view information.

public class ViewData
Inheritance
ViewData
Inherited Members

Constructors

ViewData(int, int)

Initializes a new instance of the ViewData class.

public ViewData(int areaId, int pageId)

Parameters

areaId int

The area identifier.

pageId int

The page identifier.

Properties

AdminUserId

Gets or sets the admin user identifier.

public int AdminUserId { get; set; }

Property Value

int

The admin user identifier.

AreaId

Gets or sets the area identifier.

public int AreaId { get; set; }

Property Value

int

The area identifier.

EntityKey

Gets or sets the entity key.

public string? EntityKey { get; set; }

Property Value

string

The entity key.

EntitySubKey

Gets or sets the entity sub key.

public string? EntitySubKey { get; set; }

Property Value

string

The entity sub key.

EntityType

Gets or sets the type of the entity.

public string? EntityType { get; set; }

Property Value

string

The type of the entity.

Id

Gets the view identifier.

public int Id { get; }

Property Value

int

The identifier.

IsNew

Gets a value indicating whether this instance is new.

public bool IsNew { get; }

Property Value

bool

true if this instance is new; otherwise, false.

PageId

Gets or sets the page identifier.

public int PageId { get; set; }

Property Value

int

The page identifier.

SessionId

Gets or sets the session identifier.

public int SessionId { get; }

Property Value

int

The session identifier.

Timestamp

Gets or sets the view timestamp.

public DateTime Timestamp { get; }

Property Value

DateTime

The timestamp.

UserId

Gets or sets the user identifier.

public int UserId { get; set; }

Property Value

int

The user identifier.

To top