C# Класс Acme.Northwind.EFDAL.Entity.ProductPrimaryKey

Наследование: nHydrate.EFCore.DataAccess.IPrimaryKey
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
_productID int

Открытые методы

Метод Описание
Equals ( object obj ) : bool

Returns a value indicating whether the current object is equal to a specified object.

GetHashCode ( ) : int

Serves as a hash function for this particular type.

ProductPrimaryKey ( int productID ) : System

The constructor for this object which takes the fields that comprise the primary key for the 'Product' table.

Описание методов

Equals() публичный Метод

Returns a value indicating whether the current object is equal to a specified object.
public Equals ( object obj ) : bool
obj object
Результат bool

GetHashCode() публичный Метод

Serves as a hash function for this particular type.
public GetHashCode ( ) : int
Результат int

ProductPrimaryKey() публичный Метод

The constructor for this object which takes the fields that comprise the primary key for the 'Product' table.
public ProductPrimaryKey ( int productID ) : System
productID int
Результат System

Описание свойств

_productID защищенное свойство

A primary key field of the Product entity
protected int _productID
Результат int