Метод | Описание | |
---|---|---|
CreateSavedCar ( ) : |
Creates a new saved Car with a random value assigned to every property
|
|
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.
|
|
CreateUnsavedValidCar ( ) : Car |
Creates a new unsaved Car with a random value assigned to every property
|
public static CreateSavedCar ( ) : |
||
Результат |
public static CreateUnsavedDefaultCar ( ) : |
||
Результат |
public static CreateUnsavedValidCar ( ) : Car | ||
Результат | Car |