Click or drag to resize

ComparisonService Class

OFV Kjøretøydata service

This service delivers the possibility to store and retreive comparison for an user.

All methods need an UserDTO as input - login user by using Login(UserDTO, TermsDTO, String) to get an UserDTO.

All methods need a format as input (json/xml) - result of request is delivered on format selected.

Inheritance Hierarchy
SystemObject
  OfvVehicleData.ServiceComparisonService

Namespace:  OfvVehicleData.Service
Assembly:  OfvVehicleData.Service (in OfvVehicleData.Service.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class ComparisonService

The ComparisonService type exposes the following members.

Constructors
  NameDescription
Public methodComparisonService
Initializes a new instance of the ComparisonService class
Top
Methods
  NameDescription
Public methodRemoveComparison
Delete specific comparison.
Public methodRetreiveComparisonList
Retrieve list of all available for user.
Public methodRetrieveComparison
Retrieve a specific comparison.
Public methodStoreComparison
Store (NEW/UPDATE) comparison.

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

Top
Remarks
The purpose of this service is to expose methods that can be used to store and retreive comparisons for an user. Comparisons that are stored is retreived on exact same format as they where stored.

THIS SERVICE IS PRETENTED TO BE USED BY OFV Kjøretøydata application ONLY!

See Also