ProductCategory ProductCategory Class

Definition

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

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)
Value
System.Collections.Generic.ICollection<ProductCategory> System.Collections.Generic.ICollection(Of ProductCategory)

ModifiedDate ModifiedDate

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

Name Name

public string Name { get; set; }
Public Property Name As String
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

ParentProductCategoryID ParentProductCategoryID

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

Product Product

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

ProductCategoryID ProductCategoryID

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

rowguid rowguid

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

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