C# 클래스 TestProjectNoDBSpecificProps.Test.BO.TestUtilsVehicle

파일 보기 프로젝트 열기: Chillisoft/habanero.smooth 1 사용 예제들

공개 메소드들

메소드 설명
CreateSavedVehicle ( ) : Vehicle

Creates a new saved Vehicle with a random value assigned to every property

CreateUnsavedDefaultVehicle ( ) : Vehicle

Creates a new unsaved Vehicle where all properties are null, except ID properties and those with default values. If there are compulsory properties without defaults, saving the object will throw an exception.

CreateUnsavedValidVehicle ( ) : Vehicle

Creates a new unsaved Vehicle with a random value assigned to every property

메소드 상세

CreateSavedVehicle() 공개 정적인 메소드

Creates a new saved Vehicle with a random value assigned to every property
public static CreateSavedVehicle ( ) : Vehicle
리턴 TestProjectNoDBSpecificProps.BO.Vehicle

CreateUnsavedDefaultVehicle() 공개 정적인 메소드

Creates a new unsaved Vehicle where all properties are null, except ID properties and those with default values. If there are compulsory properties without defaults, saving the object will throw an exception.
public static CreateUnsavedDefaultVehicle ( ) : Vehicle
리턴 TestProjectNoDBSpecificProps.BO.Vehicle

CreateUnsavedValidVehicle() 공개 정적인 메소드

Creates a new unsaved Vehicle with a random value assigned to every property
public static CreateUnsavedValidVehicle ( ) : Vehicle
리턴 TestProjectNoDBSpecificProps.BO.Vehicle