C# Класс PetShop.Business.EntityKeyBaseCore

Наследование: IEntityKey
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Equals() публичный Метод

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.
Результат bool

GetHashCode() публичный Метод

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
Результат int

Load() публичный абстрактный Метод

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.
Результат void

ToDictionary() публичный абстрактный Метод

Creates a new IDictionary object and populates it with the property values of the current object.
public abstract ToDictionary ( ) : IDictionary
Результат IDictionary