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

Inheritance: nHydrate.EFCore.DataAccess.IPrimaryKey
Mostra file Open project: nHydrate/nHydrate

Protected Properties

Property Type Description
_regionID 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.

RegionPrimaryKey ( int regionID ) : System

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

RegionPrimaryKey() public method

The constructor for this object which takes the fields that comprise the primary key for the 'Region' table.
public RegionPrimaryKey ( int regionID ) : System
regionID int
return System

Property Details

_regionID protected_oe property

A primary key field of the Region entity
protected int _regionID
return int