C# 클래스 TestProject.Test.BO.TestUtilsCar

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

공개 메소드들

메소드 설명
CreateSavedCar ( ) : Car

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

CreateUnsavedDefaultCar ( ) : Car

Creates a new unsaved Car 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.

CreateUnsavedValidCar ( ) : Car

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

메소드 상세

CreateSavedCar() 공개 정적인 메소드

Creates a new saved Car with a random value assigned to every property
public static CreateSavedCar ( ) : Car
리턴 TestProject.BO.Car

CreateUnsavedDefaultCar() 공개 정적인 메소드

Creates a new unsaved Car 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 CreateUnsavedDefaultCar ( ) : Car
리턴 TestProject.BO.Car

CreateUnsavedValidCar() 공개 정적인 메소드

Creates a new unsaved Car with a random value assigned to every property
public static CreateUnsavedValidCar ( ) : Car
리턴 Car