Class LapConstant
Represents a Lap Constant.
Inherited Members
Namespace: MESL.SqlRace.Domain
Assembly: MESL.SqlRace.Domain.dll
Syntax
public class LapConstant : Constant
  Constructors
LapConstant(Int16, String, Boolean, String, String, String)
Initialises a new instance of the LapConstant class.
Declaration
public LapConstant(short lapNumber, string name, bool value, string description, string units, string format)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int16 | lapNumber | The lap number.  | 
      
| System.String | name | The name of the constant.  | 
      
| System.Boolean | value | The value of the constant.  | 
      
| System.String | description | The description.  | 
      
| System.String | units | The units used by the constant.  | 
      
| System.String | format | The format of the constant.  | 
      
LapConstant(Int16, String, DateTime, String, String, String)
Initialises a new instance of the LapConstant class.
Declaration
public LapConstant(short lapNumber, string name, DateTime value, string description, string units, string format)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int16 | lapNumber | The lap number.  | 
      
| System.String | name | The name of the constant.  | 
      
| System.DateTime | value | The value of the constant.  | 
      
| System.String | description | The description.  | 
      
| System.String | units | The units used by the constant.  | 
      
| System.String | format | The format of the constant.  | 
      
LapConstant(Int16, String, Double, String, String, String)
Initialises a new instance of the LapConstant class.
Declaration
public LapConstant(short lapNumber, string name, double value, string description, string units, string format)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int16 | lapNumber | The lap number.  | 
      
| System.String | name | The name of the constant.  | 
      
| System.Double | value | The value of the constant.  | 
      
| System.String | description | The description.  | 
      
| System.String | units | The units used by the constant.  | 
      
| System.String | format | The format of the constant.  | 
      
LapConstant(Int16, String, Int64, String, String, String)
Initialises a new instance of the LapConstant class.
Declaration
public LapConstant(short lapNumber, string name, long value, string description, string units, string format)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int16 | lapNumber | The lap number.  | 
      
| System.String | name | The name of the constant.  | 
      
| System.Int64 | value | The value of the constant.  | 
      
| System.String | description | The description.  | 
      
| System.String | units | The units used by the constant.  | 
      
| System.String | format | The format of the constant.  | 
      
LapConstant(Int16, String, String, String, String, String)
Initialises a new instance of the LapConstant class.
Declaration
public LapConstant(short lapNumber, string name, string value, string description, string units, string format)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int16 | lapNumber | The lap number.  | 
      
| System.String | name | The name of the constant.  | 
      
| System.String | value | The value of the constant.  | 
      
| System.String | description | The description.  | 
      
| System.String | units | The units used by the constant.  | 
      
| System.String | format | The format of the constant.  | 
      
Properties
LapNumber
Gets the lap number in the lap entity.
Declaration
public short LapNumber { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int16 | The lap number.  |