Search Results for

    Show / Hide Table of Contents

    Class DriverService

    Inheritance
    System.Object
    DriverService
    Implements
    IDriverService
    IDriverRepository
    IRepositoryBase<System.Guid, Driver>
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.PlugIn.Logistics
    Assembly: Simplic.PlugIn.Logistics.dll
    Syntax
    public class DriverService : IDriverService, IDriverRepository

    Constructors

    | Improve this Doc View Source

    DriverService(DriverRepository)

    Declaration
    public DriverService(DriverRepository driverRepository)
    Parameters
    Type Name Description
    DriverRepository driverRepository

    Methods

    | Improve this Doc View Source

    AssignDriverToVehicle(Driver)

    Assings driver to vehicle

    Declaration
    public bool AssignDriverToVehicle(Driver driver)
    Parameters
    Type Name Description
    Driver driver
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    DeallocateDriver(Driver)

    Unassigns driver from vehicle

    Declaration
    public bool DeallocateDriver(Driver driver)
    Parameters
    Type Name Description
    Driver driver
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Delete(Driver)

    Declaration
    public bool Delete(Driver obj)
    Parameters
    Type Name Description
    Driver obj
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Delete(Guid)

    Declaration
    public bool Delete(Guid id)
    Parameters
    Type Name Description
    System.Guid id
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Get(Guid)

    Declaration
    public Driver Get(Guid id)
    Parameters
    Type Name Description
    System.Guid id
    Returns
    Type Description
    Driver
    | Improve this Doc View Source

    GetAll()

    Declaration
    public IEnumerable<Driver> GetAll()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<Driver>
    | Improve this Doc View Source

    GetAllAvailableDrivers()

    Declaration
    public IEnumerable<Driver> GetAllAvailableDrivers()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<Driver>
    | Improve this Doc View Source

    GetDriversAssignedToVehicle(Guid)

    Gets all drivers assigned to vehicle

    Declaration
    public IEnumerable<Driver> GetDriversAssignedToVehicle(Guid vehicleId)
    Parameters
    Type Name Description
    System.Guid vehicleId
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<Driver>
    | Improve this Doc View Source

    Save(Driver)

    Declaration
    public bool Save(Driver obj)
    Parameters
    Type Name Description
    Driver obj
    Returns
    Type Description
    System.Boolean

    Implements

    IDriverService
    IDriverRepository
    IRepositoryBase<, >
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx