Search Results for

    Show / Hide Table of Contents

    Class DriverRepository

    Inheritance
    System.Object
    DriverRepository
    Implements
    IDriverRepository
    IRepositoryBase<System.Guid, Driver>
    Namespace: Simplic.PlugIn.Logistics
    Assembly: Simplic.PlugIn.Logistics.dll
    Syntax
    public class DriverRepository : SqlRepositoryBase<Guid, Driver>, IDriverRepository

    Constructors

    | Improve this Doc View Source

    DriverRepository(ISqlService, ISqlColumnService, ICacheService)

    Repository for Drivers

    Declaration
    public DriverRepository(ISqlService sqlService, ISqlColumnService sqlColumnService, ICacheService cacheService)
    Parameters
    Type Name Description
    ISqlService sqlService
    ISqlColumnService sqlColumnService
    ICacheService cacheService

    Properties

    | Improve this Doc View Source

    PrimaryKeyColumn

    Declaration
    public override string PrimaryKeyColumn { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    TableName

    Declaration
    public override string TableName { get; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    AssignDriverToVehicle(Driver)

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

    DeallocateDriver(Driver)

    Declaration
    public bool DeallocateDriver(Driver driver)
    Parameters
    Type Name Description
    Driver driver
    Returns
    Type Description
    System.Boolean
    | 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)

    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

    GetId(Driver)

    Declaration
    public override Guid GetId(Driver obj)
    Parameters
    Type Name Description
    Driver obj
    Returns
    Type Description
    System.Guid

    Implements

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