OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / DataAccess Class / SaveVehicle Method
A comprehensive Vehicle object.



In This Topic
    SaveVehicle Method
    In This Topic
    Creates a new Vehicle record, or updates an existing Vehicle record.
    Syntax
    'Declaration
     
    
    Public Function SaveVehicle( _
       ByVal vehicle As Vehicle _
    ) As Vehicle
    'Usage
     
    
    Dim instance As DataAccess
    Dim vehicle As Vehicle
    Dim value As Vehicle
     
    value = instance.SaveVehicle(vehicle)
    public Vehicle SaveVehicle( 
       Vehicle vehicle
    )
    public:
    Vehicle^ SaveVehicle( 
       Vehicle^ vehicle
    ) 

    Parameters

    vehicle
    A comprehensive Vehicle object.

    Return Value

    The exact comprehensive Vehicle object that was persisted to the database.
    Requirements

    Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11, Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019, Windows Server 2022

    See Also