C# Class persistence.Automobile

Inheritance: System.Data.Objects.DataClasses.EntityObject
显示文件 Open project: TelerikAcademy/QA-Academy Class Usage Examples

Private Properties

Property Type Description
OnAutomobileIdChanged void
OnAutomobileIdChanging void
OnChassisNumberChanged void
OnChassisNumberChanging void
OnColourChanged void
OnColourChanging void
OnDescriptionChanged void
OnDescriptionChanging void
OnEngineCubChanged void
OnEngineCubChanging void
OnEngineNumberChanged void
OnEngineNumberChanging void
OnMakeChanged void
OnMakeChanging void
OnMakeYearChanged void
OnMakeYearChanging void
OnModelChanged void
OnModelChanging void
OnOwnerChanged void
OnOwnerChanging void
OnPhoneNumberChanged void
OnPhoneNumberChanging void
OnVinChanged void
OnVinChanging void

Public Methods

Method Description
CreateAutomobile ( global automobileId, global vin, global chassisNumber, global engineNumber ) : Automobile

Create a new Automobile object.

Private Methods

Method Description
OnAutomobileIdChanged ( ) : void
OnAutomobileIdChanging ( global value ) : void
OnChassisNumberChanged ( ) : void
OnChassisNumberChanging ( global value ) : void
OnColourChanged ( ) : void
OnColourChanging ( global value ) : void
OnDescriptionChanged ( ) : void
OnDescriptionChanging ( global value ) : void
OnEngineCubChanged ( ) : void
OnEngineCubChanging ( Nullable value ) : void
OnEngineNumberChanged ( ) : void
OnEngineNumberChanging ( global value ) : void
OnMakeChanged ( ) : void
OnMakeChanging ( global value ) : void
OnMakeYearChanged ( ) : void
OnMakeYearChanging ( Nullable value ) : void
OnModelChanged ( ) : void
OnModelChanging ( global value ) : void
OnOwnerChanged ( ) : void
OnOwnerChanging ( global value ) : void
OnPhoneNumberChanged ( ) : void
OnPhoneNumberChanging ( global value ) : void
OnVinChanged ( ) : void
OnVinChanging ( global value ) : void

Method Details

CreateAutomobile() public static method

Create a new Automobile object.
public static CreateAutomobile ( global automobileId, global vin, global chassisNumber, global engineNumber ) : Automobile
automobileId global Initial value of the AutomobileId property.
vin global Initial value of the Vin property.
chassisNumber global Initial value of the ChassisNumber property.
engineNumber global Initial value of the EngineNumber property.
return Automobile