Search Results for

    Show / Hide Table of Contents

    Interface ITelematicDriverRepository

    An interface for all driver related db functions

    Namespace: Simplic.Telematic.Core
    Assembly: Simplic.Telematic.Core.dll
    Syntax
    public interface ITelematicDriverRepository

    Methods

    | Improve this Doc View Source

    GetAllDriverWithTelematicCard(Nullable<Guid>)

    Gets all Driver ids wth a telematic carn, when a system id is given, only the drivers with a telematic card from the given system will be returnt

    Declaration
    IEnumerable<Guid> GetAllDriverWithTelematicCard(Guid? telematicSystemId = null)
    Parameters
    Type Name Description
    System.Nullable<System.Guid> telematicSystemId
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<System.Guid>
    | Improve this Doc View Source

    GetByTelematicCardExternalId(String, Guid)

    Gets the employmentId by the driverId and the telematic system

    Declaration
    Guid GetByTelematicCardExternalId(string driverId, Guid telematicSystemId)
    Parameters
    Type Name Description
    System.String driverId
    System.Guid telematicSystemId
    Returns
    Type Description
    System.Guid
    | Improve this Doc View Source

    GetByTelematicCardNumber(String, Guid)

    Gets the employmentId by the telematic card numver and the telematic system

    Declaration
    Guid GetByTelematicCardNumber(string number, Guid telematicSystemId)
    Parameters
    Type Name Description
    System.String number
    System.Guid telematicSystemId
    Returns
    Type Description
    System.Guid
    | Improve this Doc View Source

    GetDriverName(Guid)

    Gets the name of the driver.

    Declaration
    string GetDriverName(Guid employmentId)
    Parameters
    Type Name Description
    System.Guid employmentId
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    GetEmployeeIdByTelematicCardExternalId(String, Guid)

    Gets the employee id by the external driver id and the telematic system

    Declaration
    Guid GetEmployeeIdByTelematicCardExternalId(string driverId, Guid telematicSystemId)
    Parameters
    Type Name Description
    System.String driverId
    System.Guid telematicSystemId
    Returns
    Type Description
    System.Guid
    | Improve this Doc View Source

    GetEmployeeIdByTelematicNumber(String, Guid)

    Gets the employee id by the telematic number and the telematic system

    Declaration
    Guid GetEmployeeIdByTelematicNumber(string number, Guid telematicSystemId)
    Parameters
    Type Name Description
    System.String number
    System.Guid telematicSystemId
    Returns
    Type Description
    System.Guid
    | Improve this Doc View Source

    GetTelematicCardNumber(Guid, Guid)

    Gets the TelematicCardNumber for a driver

    Declaration
    string GetTelematicCardNumber(Guid guid, Guid telematicSystemId)
    Parameters
    Type Name Description
    System.Guid guid
    System.Guid telematicSystemId
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    UpdateExternalDriverIdByCardNumber(String, String, Guid)

    Updates the ExternalDriverID

    Declaration
    bool UpdateExternalDriverIdByCardNumber(string number, string externalId, Guid telematicSystemId)
    Parameters
    Type Name Description
    System.String number
    System.String externalId
    System.Guid telematicSystemId
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx