Class Line
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
lineIdshortThe unique identifier for this line.
namestringThe line name.
descriptionstringThe line description.
databaseDatabaseThe database that contains this line.
Exceptions
- ArgumentNullException
nameis null.- ArgumentNullException
descriptionis null.- ArgumentNullException
databaseis null.
Properties
Database
Gets the database that contains this line.
public Database Database { get; }
Property Value
Description
Gets the line description.
[DataMember]
public string Description { get; }
Property Value
LineId
Gets the unique identifier for this line.
[DataMember]
public short LineId { get; }
Property Value
Name
Gets the line name.
[DataMember]
public string Name { get; }