Table of Contents

Class Line

Namespace
Acuit.Pinpoint.Services.Entities
Assembly
Acuit.Pinpoint.Services.Entities.dll

A line.

[DataContract(IsReference = true)]
public class Line
Inheritance
Line
Inherited Members

Constructors

Line(short, string, string, Database)

Initializes a new instance of the Line class.

public Line(short lineId, string name, string description, Database database)

Parameters

lineId short

The unique identifier for this line.

name string

The line name.

description string

The line description.

database Database

The database that contains this line.

Exceptions

ArgumentNullException

name is null.

ArgumentNullException

description is null.

ArgumentNullException

database is null.

Properties

Database

Gets the database that contains this line.

public Database Database { get; }

Property Value

Database

Description

Gets the line description.

[DataMember]
public string Description { get; }

Property Value

string

LineId

Gets the unique identifier for this line.

[DataMember]
public short LineId { get; }

Property Value

short

Name

Gets the line name.

[DataMember]
public string Name { get; }

Property Value

string