C# Класс TestProjectNoDBSpecificProps.Test.BO.TestUtilsCar

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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
Результат TestProjectNoDBSpecificProps.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
Результат TestProjectNoDBSpecificProps.BO.Car

CreateUnsavedValidCar() публичный статический Метод

Creates a new unsaved Car with a random value assigned to every property
public static CreateUnsavedValidCar ( ) : Car
Результат TestProjectNoDBSpecificProps.BO.Car