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

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

Protected Properties

Property Type Description
_customerTypeID string

Public Methods

Method Description
CustomerDemographicPrimaryKey ( string customerTypeID ) : System

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

CustomerDemographicPrimaryKey() public method

The constructor for this object which takes the fields that comprise the primary key for the 'CustomerDemographic' table.
public CustomerDemographicPrimaryKey ( string customerTypeID ) : System
customerTypeID 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

_customerTypeID protected property

A primary key field of the CustomerDemographic entity
protected string _customerTypeID
return string