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

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

공개 메소드들

메소드 설명
CreateSavedDriver ( ) : Driver

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

CreateUnsavedDefaultDriver ( ) : Driver

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

CreateUnsavedValidDriver ( ) : Driver

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

메소드 상세

CreateSavedDriver() 공개 정적인 메소드

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

CreateUnsavedDefaultDriver() 공개 정적인 메소드

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

CreateUnsavedValidDriver() 공개 정적인 메소드

Creates a new unsaved Driver with a random value assigned to every property
public static CreateUnsavedValidDriver ( ) : Driver
리턴 TestProject.BO.Driver