Product Product Class

Syntax

Declaration

[Table("Product", Schema = "SalesLT")]
public class Product<Table("Product", Schema:="SalesLT")>
Public Class Product

Inheritance Hierarchy

  • System.Object
    System.Object
  • Product
    Product

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

Properties summary

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

    Property Value

    • System.String
      System.String
  • DiscontinuedDate
    DiscontinuedDate
    public DateTime? DiscontinuedDate { get; set; }Public Property DiscontinuedDate As Date?

    Property Value

    • System.Nullable<T><System.DateTime>
      System.Nullable<T>(Of System.DateTime)
  • ListPrice
    ListPrice
    public decimal ListPrice { get; set; }Public Property ListPrice As Decimal

    Property Value

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

    Property Value

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

    Property 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)

    Property Value

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

    Property Value

  • ProductCategoryID
    ProductCategoryID
    public int ? ProductCategoryID { get; set; }Public Property ProductCategoryID As Integer?

    Property Value

    • System.Nullable<T><System.Int32>
      System.Nullable<T>(Of System.Int32)
  • ProductID
    ProductID
    public int ProductID { get; set; }Public Property ProductID As Integer

    Property 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

    Property Value

  • ProductModelID
    ProductModelID
    public int ? ProductModelID { get; set; }Public Property ProductModelID As Integer?

    Property Value

    • System.Nullable<T><System.Int32>
      System.Nullable<T>(Of System.Int32)
  • ProductNumber
    ProductNumber
    [Required]
    [MaxLength(25)]
    public string ProductNumber { get; set; }<Required>
    <MaxLength(25)>
    Public Property ProductNumber As String

    Property Value

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

    Property Value

    • System.Guid
      System.Guid
  • SellEndDate
    SellEndDate
    public DateTime? SellEndDate { get; set; }Public Property SellEndDate As Date?

    Property Value

    • System.Nullable<T><System.DateTime>
      System.Nullable<T>(Of System.DateTime)
  • SellStartDate
    SellStartDate
    public DateTime SellStartDate { get; set; }Public Property SellStartDate As Date

    Property Value

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

    Property Value

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

    Property Value

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

    Property Value

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

    Property Value

    • System.String
      System.String
  • Weight
    Weight
    public decimal ? Weight { get; set; }Public Property Weight As Decimal?

    Property Value

    • System.Nullable<T><System.Decimal>
      System.Nullable<T>(Of System.Decimal)

Details

Assembly

Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.dll