ProductCategory ProductCategory Class

Syntax

Declaration

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

Inheritance Hierarchy

  • System.Object
    System.Object
  • ProductCategory
    ProductCategory

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

  • ProductCategory()
    ProductCategory()
    public ProductCategory()Public Sub New

Properties

  • InverseParentProductCategory
    InverseParentProductCategory
    [InverseProperty("ParentProductCategory")]
    public virtual ICollection<ProductCategory> InverseParentProductCategory { get; set; }<InverseProperty("ParentProductCategory")>
    Public Overridable Property InverseParentProductCategory As ICollection(Of ProductCategory)

    Property Value

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

    Property Value

    • System.DateTime
      System.DateTime
  • Name
    Name
    public string Name { get; set; }Public Property Name As String

    Property Value

    • System.String
      System.String
  • ParentProductCategory
    ParentProductCategory
    [ForeignKey("ParentProductCategoryID")]
    [InverseProperty("InverseParentProductCategory")]
    public virtual ProductCategory ParentProductCategory { get; set; }<ForeignKey("ParentProductCategoryID")>
    <InverseProperty("InverseParentProductCategory")>
    Public Overridable Property ParentProductCategory As ProductCategory

    Property Value

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

    Property Value

    • System.Nullable<T><System.Int32>
      System.Nullable<T>(Of System.Int32)
  • Product
    Product
    [InverseProperty("ProductCategory")]
    public virtual ICollection<Product> Product { get; set; }<InverseProperty("ProductCategory")>
    Public Overridable Property Product As ICollection(Of Product)

    Property Value

    • System.Collections.Generic.ICollection<T><Product>
      System.Collections.Generic.ICollection<T>(Of Product)
  • ProductCategoryID
    ProductCategoryID
    public int ProductCategoryID { get; set; }Public Property ProductCategoryID As Integer

    Property Value

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

    Property Value

    • System.Guid
      System.Guid

Details

Assembly

Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.dll