C# Class Nettiers.AdventureWorks.Entities.VEmployeeBase

Inheritance: System.IComparable, System.ICloneable, INotifyPropertyChanged
Afficher le fichier Open project: netTiers/netTiers Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
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 ( ) : VEmployeeBase

Returns a Typed VEmployeeBase Entity

CreateVEmployee ( System _employeeId, 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, string _additionalContactInfo ) : VEmployee

A simple factory method to create a new VEmployee instance.

Equals ( VEmployeeBase toObject ) : bool

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

Equals ( VEmployeeBase Object1, VEmployeeBase Object2 ) : bool

Determines whether the specified VEmployeeBase instances are considered equal.

GetPropertyValueByName ( VEmployee 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.

VEmployeeBase ( ) : System

Creates a new VEmployeeBase instance.

VEmployeeBase ( System _employeeId, 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, string _additionalContactInfo ) : System

Creates a new VEmployeeBase instance.

Méthodes protégées

Méthode Description
OnPropertyChanged ( PropertyChangedEventArgs e ) : void

Called when a property is changed

OnPropertyChanged ( string propertyName ) : void

Called when a property is changed

Method Details

AcceptChanges() public méthode

Accepts the changes made to this object by setting each flags to false.
public AcceptChanges ( ) : void
Résultat void

CancelChanges() public méthode

Revert all changes and restore original values. Currently not supported.
This method is not currently supported and always throws this exception.
public CancelChanges ( ) : void
Résultat void

Clone() public méthode

ICloneable.Clone() Member, returns the Deep Copy of this entity.
public Clone ( ) : object
Résultat object

CompareTo() public méthode

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
Résultat int

Copy() public méthode

Returns a Typed VEmployeeBase Entity
public Copy ( ) : VEmployeeBase
Résultat VEmployeeBase

CreateVEmployee() public static méthode

A simple factory method to create a new VEmployee instance.
public static CreateVEmployee ( System _employeeId, 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, string _additionalContactInfo ) : VEmployee
_employeeId 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
_additionalContactInfo string
Résultat VEmployee

Equals() public méthode

Returns a value indicating whether this instance is equal to a specified object.
public Equals ( VEmployeeBase toObject ) : bool
toObject VEmployeeBase An object to compare to this instance.
Résultat bool

Equals() public static méthode

Determines whether the specified VEmployeeBase instances are considered equal.
public static Equals ( VEmployeeBase Object1, VEmployeeBase Object2 ) : bool
Object1 VEmployeeBase The first to compare.
Object2 VEmployeeBase The second to compare.
Résultat bool

GetPropertyValueByName() public static méthode

Gets the property value by name.
public static GetPropertyValueByName ( VEmployee entity, string propertyName ) : object
entity VEmployee The entity.
propertyName string Name of the property.
Résultat object

GetPropertyValueByName() public méthode

Gets the property value by name.
public GetPropertyValueByName ( string propertyName ) : object
propertyName string Name of the property.
Résultat object

MakeCopyOf() public static méthode

Returns a deep copy of the child collection object passed in.
public static MakeCopyOf ( object x ) : object
x object
Résultat object

MarkToDelete() public méthode

Marks entity to be deleted.
public MarkToDelete ( ) : void
Résultat void

OnPropertyChanged() protected méthode

Called when a property is changed
protected OnPropertyChanged ( PropertyChangedEventArgs e ) : void
e PropertyChangedEventArgs PropertyChangedEventArgs
Résultat void

OnPropertyChanged() protected méthode

Called when a property is changed
protected OnPropertyChanged ( string propertyName ) : void
propertyName string The name of the property that has changed.
Résultat void

ToString() public méthode

Returns a String that represents the current object.
public ToString ( ) : string
Résultat string

VEmployeeBase() public méthode

Creates a new VEmployeeBase instance.
public VEmployeeBase ( ) : System
Résultat System

VEmployeeBase() public méthode

Creates a new VEmployeeBase instance.
public VEmployeeBase ( System _employeeId, 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, string _additionalContactInfo ) : System
_employeeId 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
_additionalContactInfo string
Résultat System