C# 클래스 Acme.Northwind.EFDAL.Entity.ProductPrimaryKey

상속: nHydrate.EFCore.DataAccess.IPrimaryKey
파일 보기 프로젝트 열기: nHydrate/nHydrate

보호된 프로퍼티들

프로퍼티 타입 설명
_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