C# Class PetShop.Business.EntityKeyBaseCore

Inheritance: IEntityKey
Datei anzeigen Open project: netTiers/netTiers

Public Methods

Method Description
Equals ( object obj ) : bool

Determines whether the specified System.Object is equal to the current object.

GetHashCode ( ) : int

Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table.

Load ( IDictionary values ) : void

Reads values from the supplied IDictionary object into properties of the current object.

ToDictionary ( ) : IDictionary

Creates a new IDictionary object and populates it with the property values of the current object.

Method Details

Equals() public method

Determines whether the specified System.Object is equal to the current object.
public Equals ( object obj ) : bool
obj object The System.Object to compare with the current object.
return bool

GetHashCode() public method

Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table.
public GetHashCode ( ) : int
return int

Load() public abstract method

Reads values from the supplied IDictionary object into properties of the current object.
public abstract Load ( IDictionary values ) : void
values IDictionary An IDictionary instance that contains the key/value /// pairs to be used as property values.
return void

ToDictionary() public abstract method

Creates a new IDictionary object and populates it with the property values of the current object.
public abstract ToDictionary ( ) : IDictionary
return IDictionary