Sales​Order Sales​Order Class

Definition

[Table("SalesOrderHeader", Schema = "SalesLT")]
public class SalesOrder<Table("SalesOrderHeader", Schema:="SalesLT")>
Public Class SalesOrder
Inheritance
System.ObjectSystem.Object
SalesOrderSalesOrder
Attributes
System.ComponentModel.DataAnnotations.Schema.TableAttribute

Inherited Members

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Constructors

SalesOrder() SalesOrder()

public SalesOrder()Public Sub New

Properties

AccountNumber AccountNumber

public string AccountNumber { get; set; }Public Property AccountNumber As String
Value
System.String System.String

BillToAddress BillToAddress

[ForeignKey("BillToAddressID")]
public virtual Address BillToAddress { get; set; }<ForeignKey("BillToAddressID")>
Public Overridable Property BillToAddress As Address

BillToAddressID BillToAddressID

public int ? BillToAddressID { get; set; }Public Property BillToAddressID As Integer?
Value
System.Nullable<System.Int32> System.Nullable(Of System.Int32)

Comment Comment

public string Comment { get; set; }Public Property Comment As String
Value
System.String System.String

CreditCardApprovalCode CreditCardApprovalCode

[MaxLength(15)]
public string CreditCardApprovalCode { get; set; }<MaxLength(15)>
Public Property CreditCardApprovalCode As String
Value
System.String System.String

Customer Customer

[ForeignKey("CustomerID")]
[InverseProperty("Orders")]
public virtual Customer Customer { get; set; }<ForeignKey("CustomerID")>
<InverseProperty("Orders")>
Public Overridable Property Customer As Customer

CustomerID CustomerID

public int CustomerID { get; set; }Public Property CustomerID As Integer
Value
System.Int32 System.Int32

Details Details

[InverseProperty("SalesOrder")]
public virtual ICollection<SalesOrderDetail> Details { get; set; }<InverseProperty("SalesOrder")>
Public Overridable Property Details As ICollection(Of SalesOrderDetail)
Value
System.Collections.Generic.ICollection<SalesOrderDetail> System.Collections.Generic.ICollection(Of SalesOrderDetail)

DueDate DueDate

public DateTime DueDate { get; set; }Public Property DueDate As Date
Value
System.DateTime System.DateTime

Freight Freight

public decimal Freight { get; set; }Public Property Freight As Decimal
Value
System.Decimal System.Decimal

IsOnlineOrder IsOnlineOrder

[Column("OnlineOrderFlag")]
public bool IsOnlineOrder { get; set; }<Column("OnlineOrderFlag")>
Public Property IsOnlineOrder As Boolean
Value
System.Boolean System.Boolean

ModifiedDate ModifiedDate

public DateTime ModifiedDate { get; set; }Public Property ModifiedDate As Date
Value
System.DateTime System.DateTime

OrderDate OrderDate

public DateTime OrderDate { get; set; }Public Property OrderDate As Date
Value
System.DateTime System.DateTime

PurchaseOrderNumber PurchaseOrderNumber

public string PurchaseOrderNumber { get; set; }Public Property PurchaseOrderNumber As String
Value
System.String System.String

RevisionNumber RevisionNumber

public byte RevisionNumber { get; set; }Public Property RevisionNumber As Byte
Value
System.Byte System.Byte

rowguid rowguid

public Guid rowguid { get; set; }Public Property rowguid As Guid
Value
System.Guid System.Guid

SalesOrderID SalesOrderID

public int SalesOrderID { get; set; }Public Property SalesOrderID As Integer
Value
System.Int32 System.Int32

SalesOrderNumber SalesOrderNumber

[Required]
[MaxLength(25)]
public string SalesOrderNumber { get; set; }<Required>
<MaxLength(25)>
Public Property SalesOrderNumber As String
Value
System.String System.String

ShipDate ShipDate

public DateTime? ShipDate { get; set; }Public Property ShipDate As Date?
Value
System.Nullable<System.DateTime> System.Nullable(Of System.DateTime)

ShipMethod ShipMethod

[Required]
[MaxLength(50)]
public string ShipMethod { get; set; }<Required>
<MaxLength(50)>
Public Property ShipMethod As String
Value
System.String System.String

ShipToAddress ShipToAddress

[ForeignKey("ShipToAddressID")]
public virtual Address ShipToAddress { get; set; }<ForeignKey("ShipToAddressID")>
Public Overridable Property ShipToAddress As Address

ShipToAddressID ShipToAddressID

public int ? ShipToAddressID { get; set; }Public Property ShipToAddressID As Integer?
Value
System.Nullable<System.Int32> System.Nullable(Of System.Int32)

Status Status

public byte Status { get; set; }Public Property Status As Byte
Value
System.Byte System.Byte

SubTotal SubTotal

public decimal SubTotal { get; set; }Public Property SubTotal As Decimal
Value
System.Decimal System.Decimal

TaxAmt TaxAmt

public decimal TaxAmt { get; set; }Public Property TaxAmt As Decimal
Value
System.Decimal System.Decimal

TotalDue TotalDue

public decimal TotalDue { get; set; }Public Property TotalDue As Decimal
Value
System.Decimal System.Decimal