Product

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

Represents a product.

public class Product : EntityTracker, INotifyPropertyChanged

Inheritance

objectEntityTrackerProduct

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

Product()

public Product()

Properties

Code

Gets or sets the code of the product.

public string Code { get; set; }

Property Value

string

Gets or sets the copyright of the product.

public string Copyright { get; set; }

Property Value

string

CreatedAt

Gets or sets the date and time the product was created.

public DateTime? CreatedAt { get; set; }

Property Value

DateTime?

Currency

Gets or sets the currency of the product.

public string Currency { get; set; }

Property Value

string

Description

Gets or sets the description of the product.

public string Description { get; set; }

Property Value

string

Id

Gets or sets the ID of the product.

public int Id { get; set; }

Property Value

int

Image

Gets or sets the image of the product.

public byte[] Image { get; set; }

Property Value

byte[]

LicenseTemplates

Gets or sets the collection of license templates associated with the product.

public virtual ICollection<LicenseTemplate> LicenseTemplates { get; set; }

Property Value

ICollection<LicenseTemplate>

Name

Gets or sets the name of the product.

public string Name { get; set; }

Property Value

string

Price

Gets or sets the price of the product.

[Column(TypeName = "decimal(18,4)")]
public decimal? Price { get; set; }

Property Value

decimal?

ProductAssemblies

Gets or sets the collection of product assemblies associated with the product.

public virtual ICollection<ProductAssembly> ProductAssemblies { get; set; }

Property Value

ICollection<ProductAssembly>

ProductLicenses

Gets or sets the collection of product licenses associated with the product.

public virtual ICollection<ProductLicense> ProductLicenses { get; set; }

Property Value

ICollection<ProductLicense>

ProductOrders

Gets or sets the collection of product orders associated with the product.

public virtual ICollection<ProductOrder> ProductOrders { get; set; }

Property Value

ICollection<ProductOrder>

ProductResources

Gets or sets the collection of product resources associated with the product.

public virtual ICollection<ProductResource> ProductResources { get; set; }

Property Value

ICollection<ProductResource>

ResellerPrice

Gets or sets the reseller price of the product.

[Column(TypeName = "decimal(18,4)")]
public decimal? ResellerPrice { get; set; }

Property Value

decimal?

SignatureKeys

Gets or sets the signature keys associated with the product.

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

Property Value

Resource

SignatureKeysId

Gets or sets the ID of the signature keys associated with the product.

public int? SignatureKeysId { get; set; }

Property Value

int?

Url

Gets or sets the URL of the product.

public string Url { get; set; }

Property Value

string

Last updated