Under Desk Bike

    Show / Hide Table of Contents

    Class Workout

    The workout data entity.

    Inheritance
    object
    Workout
    Namespace: UnderDeskBike.Models
    Assembly: UnderDeskBike.Data.dll
    Syntax
    public class Workout

    Properties

    | Improve this Doc View Source

    AverageRotationsPerMinute

    Gets or sets the average rotations per minute.

    public double AverageRotationsPerMinute { get; set; }
    Property Type
    double
    | Improve this Doc View Source

    AverageSpeedKph

    Gets or sets the average speed KPH.

    public double AverageSpeedKph { get; set; }
    Property Type
    double
    | Improve this Doc View Source

    DistanceKms

    Gets or sets the distance KMS.

    public double DistanceKms { get; set; }
    Property Type
    double
    | Improve this Doc View Source

    Duration

    Gets or sets the duration.

    public int Duration { get; set; }
    Property Type
    int
    | Improve this Doc View Source

    EndDateTime

    Gets or sets the end date time.

    public DateTime EndDateTime { get; set; }
    Property Type
    DateTime
    | Improve this Doc View Source

    Entries

    Gets the entries.

    public virtual List<WorkoutEntry> Entries { get; }
    Property Type
    List<WorkoutEntry>
    | Improve this Doc View Source

    StartDateTime

    Gets or sets the start date time.

    public DateTime StartDateTime { get; set; }
    Property Type
    DateTime
    | Improve this Doc View Source

    WorkoutId

    Gets or sets the workout identifier.

    [Key]
    public int WorkoutId { get; set; }
    Property Type
    int

    Methods

    | Improve this Doc View Source

    AveragesFromEntries()

    Calculates the averages from the entries.

    public void AveragesFromEntries()
    • Improve this Doc
    • View Source
    Back to top Copyright (c) 2021 by Wayne Venables