C# Класс Nettiers.AdventureWorks.Entities.VSalesPersonBase

Наследование: System.IComparable, System.ICloneable, INotifyPropertyChanged
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

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

Метод Описание
AcceptChanges ( ) : void

Accepts the changes made to this object by setting each flags to false.

CancelChanges ( ) : void

Revert all changes and restore original values. Currently not supported.

Clone ( ) : object

ICloneable.Clone() Member, returns the Deep Copy of this entity.

CompareTo ( object obj ) : int

Compares this instance to a specified object and returns an indication of their relative values. An object to compare to this instance, or a null reference (Nothing in Visual Basic).

Copy ( ) : VSalesPersonBase

Returns a Typed VSalesPersonBase Entity

CreateVSalesPerson ( System _salesPersonId, System _title, System _firstName, System _middleName, System _lastName, System _suffix, System _jobTitle, System _phone, System _emailAddress, System _emailPromotion, System _addressLine1, System _addressLine2, System _city, System _stateProvinceName, System _postalCode, System _countryRegionName, System _territoryName, System _territoryGroup, System _salesQuota, System _salesYtd, System _salesLastYear ) : VSalesPerson

A simple factory method to create a new VSalesPerson instance.

Equals ( VSalesPersonBase toObject ) : bool

Returns a value indicating whether this instance is equal to a specified object.

Equals ( VSalesPersonBase Object1, VSalesPersonBase Object2 ) : bool

Determines whether the specified VSalesPersonBase instances are considered equal.

GetPropertyValueByName ( VSalesPerson entity, string propertyName ) : object

Gets the property value by name.

GetPropertyValueByName ( string propertyName ) : object

Gets the property value by name.

MakeCopyOf ( object x ) : object

Returns a deep copy of the child collection object passed in.

MarkToDelete ( ) : void

Marks entity to be deleted.

ToString ( ) : string

Returns a String that represents the current object.

VSalesPersonBase ( ) : System

Creates a new VSalesPersonBase instance.

VSalesPersonBase ( System _salesPersonId, System _title, System _firstName, System _middleName, System _lastName, System _suffix, System _jobTitle, System _phone, System _emailAddress, System _emailPromotion, System _addressLine1, System _addressLine2, System _city, System _stateProvinceName, System _postalCode, System _countryRegionName, System _territoryName, System _territoryGroup, System _salesQuota, System _salesYtd, System _salesLastYear ) : System

Creates a new VSalesPersonBase instance.

Защищенные методы

Метод Описание
OnPropertyChanged ( PropertyChangedEventArgs e ) : void

Called when a property is changed

OnPropertyChanged ( string propertyName ) : void

Called when a property is changed

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

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

Accepts the changes made to this object by setting each flags to false.
public AcceptChanges ( ) : void
Результат void

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

Revert all changes and restore original values. Currently not supported.
This method is not currently supported and always throws this exception.
public CancelChanges ( ) : void
Результат void

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

ICloneable.Clone() Member, returns the Deep Copy of this entity.
public Clone ( ) : object
Результат object

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

Compares this instance to a specified object and returns an indication of their relative values. An object to compare to this instance, or a null reference (Nothing in Visual Basic).
public CompareTo ( object obj ) : int
obj object
Результат int

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

Returns a Typed VSalesPersonBase Entity
public Copy ( ) : VSalesPersonBase
Результат VSalesPersonBase

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

A simple factory method to create a new VSalesPerson instance.
public static CreateVSalesPerson ( System _salesPersonId, System _title, System _firstName, System _middleName, System _lastName, System _suffix, System _jobTitle, System _phone, System _emailAddress, System _emailPromotion, System _addressLine1, System _addressLine2, System _city, System _stateProvinceName, System _postalCode, System _countryRegionName, System _territoryName, System _territoryGroup, System _salesQuota, System _salesYtd, System _salesLastYear ) : VSalesPerson
_salesPersonId System
_title System
_firstName System
_middleName System
_lastName System
_suffix System
_jobTitle System
_phone System
_emailAddress System
_emailPromotion System
_addressLine1 System
_addressLine2 System
_city System
_stateProvinceName System
_postalCode System
_countryRegionName System
_territoryName System
_territoryGroup System
_salesQuota System
_salesYtd System
_salesLastYear System
Результат VSalesPerson

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

Returns a value indicating whether this instance is equal to a specified object.
public Equals ( VSalesPersonBase toObject ) : bool
toObject VSalesPersonBase An object to compare to this instance.
Результат bool

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

Determines whether the specified VSalesPersonBase instances are considered equal.
public static Equals ( VSalesPersonBase Object1, VSalesPersonBase Object2 ) : bool
Object1 VSalesPersonBase The first to compare.
Object2 VSalesPersonBase The second to compare.
Результат bool

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

Gets the property value by name.
public static GetPropertyValueByName ( VSalesPerson entity, string propertyName ) : object
entity VSalesPerson The entity.
propertyName string Name of the property.
Результат object

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

Gets the property value by name.
public GetPropertyValueByName ( string propertyName ) : object
propertyName string Name of the property.
Результат object

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

Returns a deep copy of the child collection object passed in.
public static MakeCopyOf ( object x ) : object
x object
Результат object

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

Marks entity to be deleted.
public MarkToDelete ( ) : void
Результат void

OnPropertyChanged() защищенный Метод

Called when a property is changed
protected OnPropertyChanged ( PropertyChangedEventArgs e ) : void
e System.ComponentModel.PropertyChangedEventArgs PropertyChangedEventArgs
Результат void

OnPropertyChanged() защищенный Метод

Called when a property is changed
protected OnPropertyChanged ( string propertyName ) : void
propertyName string The name of the property that has changed.
Результат void

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

Returns a String that represents the current object.
public ToString ( ) : string
Результат string

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

Creates a new VSalesPersonBase instance.
public VSalesPersonBase ( ) : System
Результат System

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

Creates a new VSalesPersonBase instance.
public VSalesPersonBase ( System _salesPersonId, System _title, System _firstName, System _middleName, System _lastName, System _suffix, System _jobTitle, System _phone, System _emailAddress, System _emailPromotion, System _addressLine1, System _addressLine2, System _city, System _stateProvinceName, System _postalCode, System _countryRegionName, System _territoryName, System _territoryGroup, System _salesQuota, System _salesYtd, System _salesLastYear ) : System
_salesPersonId System
_title System
_firstName System
_middleName System
_lastName System
_suffix System
_jobTitle System
_phone System
_emailAddress System
_emailPromotion System
_addressLine1 System
_addressLine2 System
_city System
_stateProvinceName System
_postalCode System
_countryRegionName System
_territoryName System
_territoryGroup System
_salesQuota System
_salesYtd System
_salesLastYear System
Результат System