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

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

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

Свойство Тип Описание
_orderID int
_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.

OrderDetailPrimaryKey ( int orderID, int productID ) : System

The constructor for this object which takes the fields that comprise the primary key for the 'OrderDetail' 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

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

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

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

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

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

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

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