C# Class Nettiers.AdventureWorks.Entities.VStoreWithDemographicsBase

Inheritance: System.IComparable, System.ICloneable, INotifyPropertyChanged
显示文件 Open project: netTiers/netTiers Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method 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 ( ) : VStoreWithDemographicsBase

Returns a Typed VStoreWithDemographicsBase Entity

CreateVStoreWithDemographics ( System _customerId, System _name, System _contactType, System _title, System _firstName, System _middleName, System _lastName, System _suffix, System _phone, System _emailAddress, System _emailPromotion, System _addressType, System _addressLine1, System _addressLine2, System _city, System _stateProvinceName, System _postalCode, System _countryRegionName, System _annualSales, System _annualRevenue, System _bankName, System _businessType, System _yearOpened, System _specialty, System _squareFeet, System _brands, System _internet, System _numberEmployees ) : VStoreWithDemographics

A simple factory method to create a new VStoreWithDemographics instance.

Equals ( VStoreWithDemographicsBase toObject ) : bool

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

Equals ( VStoreWithDemographicsBase Object1, VStoreWithDemographicsBase Object2 ) : bool

Determines whether the specified VStoreWithDemographicsBase instances are considered equal.

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

VStoreWithDemographicsBase ( ) : System

Creates a new VStoreWithDemographicsBase instance.

VStoreWithDemographicsBase ( System _customerId, System _name, System _contactType, System _title, System _firstName, System _middleName, System _lastName, System _suffix, System _phone, System _emailAddress, System _emailPromotion, System _addressType, System _addressLine1, System _addressLine2, System _city, System _stateProvinceName, System _postalCode, System _countryRegionName, System _annualSales, System _annualRevenue, System _bankName, System _businessType, System _yearOpened, System _specialty, System _squareFeet, System _brands, System _internet, System _numberEmployees ) : System

Creates a new VStoreWithDemographicsBase instance.

Protected Methods

Method 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 method

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

CancelChanges() public method

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

Clone() public method

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

CompareTo() public method

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
return int

Copy() public method

Returns a Typed VStoreWithDemographicsBase Entity
public Copy ( ) : VStoreWithDemographicsBase
return VStoreWithDemographicsBase

CreateVStoreWithDemographics() public static method

A simple factory method to create a new VStoreWithDemographics instance.
public static CreateVStoreWithDemographics ( System _customerId, System _name, System _contactType, System _title, System _firstName, System _middleName, System _lastName, System _suffix, System _phone, System _emailAddress, System _emailPromotion, System _addressType, System _addressLine1, System _addressLine2, System _city, System _stateProvinceName, System _postalCode, System _countryRegionName, System _annualSales, System _annualRevenue, System _bankName, System _businessType, System _yearOpened, System _specialty, System _squareFeet, System _brands, System _internet, System _numberEmployees ) : VStoreWithDemographics
_customerId System
_name System
_contactType System
_title System
_firstName System
_middleName System
_lastName System
_suffix System
_phone System
_emailAddress System
_emailPromotion System
_addressType System
_addressLine1 System
_addressLine2 System
_city System
_stateProvinceName System
_postalCode System
_countryRegionName System
_annualSales System
_annualRevenue System
_bankName System
_businessType System
_yearOpened System
_specialty System
_squareFeet System
_brands System
_internet System
_numberEmployees System
return VStoreWithDemographics

Equals() public method

Returns a value indicating whether this instance is equal to a specified object.
public Equals ( VStoreWithDemographicsBase toObject ) : bool
toObject VStoreWithDemographicsBase An object to compare to this instance.
return bool

Equals() public static method

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

GetPropertyValueByName() public static method

Gets the property value by name.
public static GetPropertyValueByName ( VStoreWithDemographics entity, string propertyName ) : object
entity VStoreWithDemographics The entity.
propertyName string Name of the property.
return object

GetPropertyValueByName() public method

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

MakeCopyOf() public static method

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

MarkToDelete() public method

Marks entity to be deleted.
public MarkToDelete ( ) : void
return void

OnPropertyChanged() protected method

Called when a property is changed
protected OnPropertyChanged ( PropertyChangedEventArgs e ) : void
e System.ComponentModel.PropertyChangedEventArgs PropertyChangedEventArgs
return void

OnPropertyChanged() protected method

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

ToString() public method

Returns a String that represents the current object.
public ToString ( ) : string
return string

VStoreWithDemographicsBase() public method

Creates a new VStoreWithDemographicsBase instance.
public VStoreWithDemographicsBase ( ) : System
return System

VStoreWithDemographicsBase() public method

Creates a new VStoreWithDemographicsBase instance.
public VStoreWithDemographicsBase ( System _customerId, System _name, System _contactType, System _title, System _firstName, System _middleName, System _lastName, System _suffix, System _phone, System _emailAddress, System _emailPromotion, System _addressType, System _addressLine1, System _addressLine2, System _city, System _stateProvinceName, System _postalCode, System _countryRegionName, System _annualSales, System _annualRevenue, System _bankName, System _businessType, System _yearOpened, System _specialty, System _squareFeet, System _brands, System _internet, System _numberEmployees ) : System
_customerId System
_name System
_contactType System
_title System
_firstName System
_middleName System
_lastName System
_suffix System
_phone System
_emailAddress System
_emailPromotion System
_addressType System
_addressLine1 System
_addressLine2 System
_city System
_stateProvinceName System
_postalCode System
_countryRegionName System
_annualSales System
_annualRevenue System
_bankName System
_businessType System
_yearOpened System
_specialty System
_squareFeet System
_brands System
_internet System
_numberEmployees System
return System