C# Class Acme.Northwind.EFDAL.Entity.OrderDetailPrimaryKey

Inheritance: nHydrate.EFCore.DataAccess.IPrimaryKey
显示文件 Open project: nHydrate/nHydrate

Protected Properties

Property Type Description
_orderID int
_productID int

Public Methods

Method Description
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.

Method Details

Equals() public method

Returns a value indicating whether the current object is equal to a specified object.
public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

Serves as a hash function for this particular type.
public GetHashCode ( ) : int
return int

OrderDetailPrimaryKey() public method

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
return System

Property Details

_orderID protected_oe property

A primary key field of the OrderDetail entity
protected int _orderID
return int

_productID protected_oe property

A primary key field of the OrderDetail entity
protected int _productID
return int