Product Product Class

Definition

[Table("Product", Schema = "SalesLT")]
public class Product
<Table("Product", Schema:="SalesLT")>
Public Class Product
Inheritance
System.ObjectSystem.Object
ProductProduct
Attributes
System.ComponentModel.DataAnnotations.Schema.TableAttribute

Constructors

Product() Product()

public Product()
Public Sub New

Properties

Color Color

[MaxLength(15)]
public string Color { get; set; }
<MaxLength(15)>
Public Property Color As String
Value
System.String System.String

DiscontinuedDate DiscontinuedDate

public DateTime? DiscontinuedDate { get; set; }
Public Property DiscontinuedDate As Date?
Value
System.Nullable<System.DateTime> System.Nullable(Of System.DateTime)

ListPrice ListPrice

public decimal ListPrice { get; set; }
Public Property ListPrice As Decimal
Value
System.Decimal System.Decimal

ModifiedDate ModifiedDate

public DateTime ModifiedDate { get; set; }
Public Property ModifiedDate As Date
Value
System.DateTime System.DateTime

Name Name

[Required]
public string Name { get; set; }
<Required>
Public Property Name As String
Value
System.String System.String

OrderDetails OrderDetails

[InverseProperty("Product")]
public virtual ICollection<SalesOrderDetail> OrderDetails { get; set; }
<InverseProperty("Product")>
Public Overridable Property OrderDetails As ICollection(Of SalesOrderDetail)
Value
System.Collections.Generic.ICollection<SalesOrderDetail> System.Collections.Generic.ICollection(Of SalesOrderDetail)

ProductCategory ProductCategory

[ForeignKey("ProductCategoryID")]
[InverseProperty("Product")]
public virtual ProductCategory ProductCategory { get; set; }
<ForeignKey("ProductCategoryID")>
<InverseProperty("Product")>
Public Overridable Property ProductCategory As ProductCategory

ProductCategoryID ProductCategoryID

public int ? ProductCategoryID { get; set; }
Public Property ProductCategoryID As Integer?
Value
System.Nullable<System.Int32> System.Nullable(Of System.Int32)

ProductID ProductID

public int ProductID { get; set; }
Public Property ProductID As Integer
Value
System.Int32 System.Int32

ProductModel ProductModel

[ForeignKey("ProductModelID")]
[InverseProperty("Product")]
public virtual ProductModel ProductModel { get; set; }
<ForeignKey("ProductModelID")>
<InverseProperty("Product")>
Public Overridable Property ProductModel As ProductModel

ProductModelID ProductModelID

public int ? ProductModelID { get; set; }
Public Property ProductModelID As Integer?
Value
System.Nullable<System.Int32> System.Nullable(Of System.Int32)

ProductNumber ProductNumber

[Required]
[MaxLength(25)]
public string ProductNumber { get; set; }
<Required>
<MaxLength(25)>
Public Property ProductNumber As String
Value
System.String System.String

rowguid rowguid

public Guid rowguid { get; set; }
Public Property rowguid As Guid
Value
System.Guid System.Guid

SellEndDate SellEndDate

public DateTime? SellEndDate { get; set; }
Public Property SellEndDate As Date?
Value
System.Nullable<System.DateTime> System.Nullable(Of System.DateTime)

SellStartDate SellStartDate

public DateTime SellStartDate { get; set; }
Public Property SellStartDate As Date
Value
System.DateTime System.DateTime

Size Size

[MaxLength(5)]
public string Size { get; set; }
<MaxLength(5)>
Public Property Size As String
Value
System.String System.String

StandardCost StandardCost

public decimal StandardCost { get; set; }
Public Property StandardCost As Decimal
Value
System.Decimal System.Decimal

ThumbNailPhoto ThumbNailPhoto

public byte[] ThumbNailPhoto { get; set; }
Public Property ThumbNailPhoto As Byte()
Value
System.Byte[] System.Byte()

ThumbnailPhotoFileName ThumbnailPhotoFileName

[MaxLength(50)]
public string ThumbnailPhotoFileName { get; set; }
<MaxLength(50)>
Public Property ThumbnailPhotoFileName As String
Value
System.String System.String

Weight Weight

public decimal ? Weight { get; set; }
Public Property Weight As Decimal?
Value
System.Nullable<System.Decimal> System.Nullable(Of System.Decimal)

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object