Search Results for

    Show / Hide Table of Contents

    Interface ITrackingRepository

    Contains the signatures of database methods

    Namespace: Simplic.Tracking
    Assembly: Simplic.Tracking.dll
    Syntax
    public interface ITrackingRepository

    Methods

    | Improve this Doc View Source

    GetNewTrackingId()

    Gets the next free tracking id

    Declaration
    long GetNewTrackingId()
    Returns
    Type Description
    System.Int64

    a new id of the tracking table

    | Improve this Doc View Source

    GetTracking(Int64)

    Gets the tracking with the given id

    Declaration
    Tracking GetTracking(long trackingId)
    Parameters
    Type Name Description
    System.Int64 trackingId

    the id of the tracking

    Returns
    Type Description
    Tracking

    the tracking with the given id

    | Improve this Doc View Source

    GetTrackingEntriesByTrackingId(Int64)

    Gets all tracking entries with the given tracking id

    Declaration
    IEnumerable<TrackingEntry> GetTrackingEntriesByTrackingId(long trackingId)
    Parameters
    Type Name Description
    System.Int64 trackingId

    the id of the tracking

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<TrackingEntry>

    enumerable of tracking entries

    | Improve this Doc View Source

    SaveEntries(IList<TrackingEntry>)

    Writes a tracking entry to the database

    Declaration
    bool SaveEntries(IList<TrackingEntry> newEntries)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<TrackingEntry> newEntries

    the tracking entries to save

    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    SaveTracking(Tracking)

    Writes a tracking to the database

    Declaration
    bool SaveTracking(Tracking tracking)
    Parameters
    Type Name Description
    Tracking tracking

    the tracking to save

    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx