LotAttr Constructor
- Last UpdatedNov 06, 2025
- 2 minute read
| Overload | Description |
|---|---|
| LotAttr Constructor(DataRow) | The LotAttr() method is the constructor for the class. It initializes the properties of this lot attribute. This overload of the method passes a DataRow already retrieved from the Lot_Attr table to initialize the object. |
| LotAttr Constructor(String,String,Int32) | The LotAttr() method is the constructor for the class. It initializes the properties of this lot attribute. This overload of the method passes the item_id, lot_no, and attr_id as parameters and retrieves the lot's specified attribute from the database to initialize the object, if it exists. If the object does not already exist, it throws an exception. |
| LotAttr Constructor(String,String,String) | The LotAttr() method is the constructor for the class. It initializes the properties of this lot attribute. This overload of the method passes the item_id, lot_no, and attr_name as parameters and retrieves the lot's specified attribute from the database to initialize the object, if it exists. If the object does not already exist, the call fails. |
| LotAttr Constructor(String,String,Int32,String) | The LotAttr() method is the constructor for the class. It initializes the properties of this lot attribute. This overload of the method passes the item_id, lot_no, and attr_id as parameters and retrieves the lot's specified attribute from the database to initialize the object, if it exists. If the object does not already exist, the lot attribute is created with the initialValue passed as a parameter. |
| LotAttr Constructor(String,String,String,String) | The LotAttr() method is the constructor for the class. It initializes the properties of this lot attribute. This overload of the method passes the item_id, lot_no, and attr_name as parameters and retrieves the lot's specified attribute from the database to initialize the object, if it exists. If the object does not already exist, the lot attribute is created with the initialValue passed as a parameter. |