Interface ITrailerRepository
Assembly: Simplic.Logistics.Vehicle.dll
Syntax
public interface ITrailerRepository
Methods
|
Improve this Doc
View Source
AssignTrailerToTractorUnit(Trailer)
Saves the given trailer with the assigned tractor unit in trailer table.
Declaration
bool AssignTrailerToTractorUnit(Trailer trailer)
Parameters
Type |
Name |
Description |
Trailer |
trailer |
Trailer with tractor unit assigned
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
DeallocateTrailer(Trailer)
Deallocates given trailer from assigned tractor unit.
Declaration
bool DeallocateTrailer(Trailer trailer)
Parameters
Type |
Name |
Description |
Trailer |
trailer |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetAllTrailers()
Gets all trailers with fitting vehicleTypeGroup.
Declaration
IEnumerable<Trailer> GetAllTrailers()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Trailer> |
|
|
Improve this Doc
View Source
GetByTractorUnitGuid(Guid)
Gets all trailers with given TractorUnitGuid (selected Trailers).
Declaration
IEnumerable<Trailer> GetByTractorUnitGuid(Guid id)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Trailer> |
|
|
Improve this Doc
View Source
GetNotDeallocatedByTractorUnitGuid(Guid)
Gets all trailers with given TractorUntiGuid that are not deallocated.
Declaration
IEnumerable<Trailer> GetNotDeallocatedByTractorUnitGuid(Guid id)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Trailer> |
|