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

Inheritance: nHydrate.EFCore.DataAccess.IPrimaryKey
Datei anzeigen Open project: nHydrate/nHydrate

Protected Properties

Property Type Description
_employeeID int
_territoryID string

Public Methods

Method Description
EmployeeTerritoriePrimaryKey ( int employeeID, string territoryID ) : System

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

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.

Method Details

EmployeeTerritoriePrimaryKey() public method

The constructor for this object which takes the fields that comprise the primary key for the 'EmployeeTerritorie' table.
public EmployeeTerritoriePrimaryKey ( int employeeID, string territoryID ) : System
employeeID int
territoryID string
return System

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

Property Details

_employeeID protected_oe property

A primary key field of the EmployeeTerritorie entity
protected int _employeeID
return int

_territoryID protected_oe property

A primary key field of the EmployeeTerritorie entity
protected string _territoryID
return string