ProductResource

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

Represents a resource associated with a product.

public class ProductResource : EntityTracker, INotifyPropertyChanged

Inheritance

objectEntityTrackerProductResource

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

ProductResource()

public ProductResource()

Properties

Product

Gets or sets the product associated with the resource.

[ForeignKey("ProductId")]
public virtual Product Product { get; set; }

Property Value

Product

ProductId

Gets or sets the ID of the product associated with the resource.

public int ProductId { get; set; }

Property Value

int

Resource

Gets or sets the resource associated with the product.

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

Property Value

Resource

ResourceId

Gets or sets the ID of the resource.

public int ResourceId { get; set; }

Property Value

int

Last updated