C# Class TestProject.Test.BO.TestUtilsDriver

Afficher le fichier Open project: Chillisoft/habanero.smooth Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

CreateSavedDriver() public static méthode

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

CreateUnsavedDefaultDriver() public static méthode

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
Résultat TestProject.BO.Driver

CreateUnsavedValidDriver() public static méthode

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