Click or drag to resize

ComparisonServiceStoreComparison Method

OFV Kjøretøydata service

Store (NEW/UPDATE) comparison.

- if id is 0 then new entry will be added in database, otherwise its threated as an update.

Namespace:  OfvVehicleData.Service
Assembly:  OfvVehicleData.Service (in OfvVehicleData.Service.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public DTO StoreComparison(
	UserDTO user,
	UserComparisonDTO comparison,
	int vehicleGroup,
	string format
)

Parameters

user
Type: OfvService.DTO.LoginUserDTO
UserDTO.
comparison
Type: OfvService.DTO.ComparisonUserComparisonDTO
The comparison UserComparisonDTO to store - if id exist i system, an update is preformed, otherwise new is created.
vehicleGroup
Type: SystemInt32
Vehiclegroup code defines which group to work with.
format
Type: SystemString
json/xml - which format result will be delivered in.

Return Value

Type: DTO

[Missing <returns> documentation for "M:OfvVehicleData.Service.ComparisonService.StoreComparison(OfvService.DTO.Login.UserDTO,OfvService.DTO.Comparison.UserComparisonDTO,System.Int32,System.String)"]

See Also