Download

Namespace: Babel.Data Assembly: Babel.Data.dll

Represents a downloadable item with tracking capabilities.

public class Download : EntityTracker, INotifyPropertyChanged

Inheritance

objectEntityTrackerDownload

Implements

INotifyPropertyChanged

Inherited Members

EntityTracker.SetWithNotify<T>(T, ref T, string), EntityTracker.IsDirty, EntityTracker.PropertyChanged, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

Download()

public Download()

Properties

Alias

Gets or sets an alias for the download.

public string Alias { get; set; }

Property Value

string

CreatedAt

Gets or sets the date and time when the download was created.

public DateTime CreatedAt { get; set; }

Property Value

DateTime

Customer

Gets or sets the associated customer for the download.

[ForeignKey("CustomerId")]
public virtual Customer Customer { get; set; }

Property Value

Customer

CustomerId

Gets or sets the identifier for the associated customer.

public int? CustomerId { get; set; }

Property Value

int?

Description

Gets or sets a description for the download.

public string Description { get; set; }

Property Value

string

History

Gets or sets the collection of download history associated with the download.

public virtual ICollection<DownloadHistory> History { get; set; }

Property Value

ICollection<DownloadHistory>

Id

Gets or sets the unique identifier for the download.

public int Id { get; set; }

Property Value

int

Name

Gets or sets the name of the download.

public string Name { get; set; }

Property Value

string

Order

Gets or sets the associated order for the download.

[ForeignKey("OrderId")]
public virtual Order Order { get; set; }

Property Value

Order

OrderId

Gets or sets the identifier for the associated order.

public int? OrderId { get; set; }

Property Value

int?

Public

Gets or sets a value indicating whether the download is public.

public bool Public { get; set; }

Property Value

bool

Resource

Gets or sets the associated resource for the download.

[ForeignKey("ResourceId")]
public virtual Resource Resource { get; set; }

Property Value

Resource

ResourceId

Gets or sets the identifier for the associated resource.

public int? ResourceId { get; set; }

Property Value

int?

Title

Gets or sets the title of the download.

public string Title { get; set; }

Property Value

string

Track

Gets or sets a value indicating whether the download is tracked.

public bool Track { get; set; }

Property Value

bool

Url

Gets or sets the URL of the download.

public string Url { get; set; }

Property Value

string

User

Gets or sets the associated user for the download.

[ForeignKey("UserId")]
public virtual User User { get; set; }

Property Value

User

UserId

Gets or sets the identifier for the associated user.

public string UserId { get; set; }

Property Value

string

Last updated