Click or drag to resize

Sales Class

Sales data item
Inheritance Hierarchy
SystemObject
  Velo.Data.ModelsSales

Namespace:  Velo.Data.Models
Assembly:  Velo.Data (in Velo.Data.dll) Version: 22.2.10.1 (22.2.10.450)
Syntax
public class Sales

The Sales type exposes the following members.

Constructors
  NameDescription
Public methodSales
Initializes a new instance of the Sales class. Constructor without parameter. Sets field data
Public methodSales(IDataRecord)
Initializes a new instance of the Sales class. Constructor with parameter of data record to fill this data item
Top
Properties
  NameDescription
Public propertyAddress
Gives address data item
Public propertyAddressID
Address ID
Public propertyAddressLabel
Address label
Public propertyAmount
Sales amount
Public propertyAmountFormatted
Amount formatted
Public propertyArchive
Is sales on archive. Default as false.
Public propertyDate
Date. Default now (sets by constructor).
Public propertyDateWebDisplay
Get date to web display (example: Mo 1.12.21)
Public propertyDateWebDisplayDateOnly
Get date to web display, date only an example: 01.12.2021.
Public propertyDateWebFormatted
Date to web formatted (yyyy-MM-dd) for web element "Input".
Public propertyID
Data item identification from database. Default value is 0.
Public propertyText
Sales text
Top
Extension Methods
  NameDescription
Public Extension MethodCode exampleConvertDateFromSQL
Convert SQL date include value null
(Defined by Extension.)
Public Extension MethodConvertDateToSQL
Convert C# date type to SQL date type
(Defined by Extension.)
Top
See Also