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

Inheritance: nHydrate.EFCore.DataAccess.IPrimaryKey
Afficher le fichier Open project: nHydrate/nHydrate

Protected Properties

Свойство Type Description
_categoryID int

Méthodes publiques

Méthode Description
CategoryPrimaryKey ( int categoryID ) : System

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

CategoryPrimaryKey() public méthode

The constructor for this object which takes the fields that comprise the primary key for the 'Category' table.
public CategoryPrimaryKey ( int categoryID ) : System
categoryID int
Résultat System

Equals() public méthode

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

GetHashCode() public méthode

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

Property Details

_categoryID protected_oe property

A primary key field of the Category entity
protected int _categoryID
Résultat int