SalesOrder SalesOrder Class

Syntax

Declaration

[Table("SalesOrderHeader", Schema = "SalesLT")]
public class SalesOrder<Table("SalesOrderHeader", Schema:="SalesLT")>
Public Class SalesOrder

Inheritance Hierarchy

  • System.Object
    System.Object
  • SalesOrder
    SalesOrder

Inherited Members

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

Constructors summary

Properties summary

Constructors

  • SalesOrder()
    SalesOrder()
    public SalesOrder()Public Sub New

Properties

  • AccountNumber
    AccountNumber
    public string AccountNumber { get; set; }Public Property AccountNumber As String

    Property Value

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

    Property Value

  • BillToAddressID
    BillToAddressID
    public int ? BillToAddressID { get; set; }Public Property BillToAddressID As Integer?

    Property Value

    • System.Nullable<T><System.Int32>
      System.Nullable<T>(Of System.Int32)
  • Comment
    Comment
    public string Comment { get; set; }Public Property Comment As String

    Property Value

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

    Property 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

    Property Value

  • CustomerID
    CustomerID
    public int CustomerID { get; set; }Public Property CustomerID As Integer

    Property 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)

    Property Value

  • DueDate
    DueDate
    public DateTime DueDate { get; set; }Public Property DueDate As Date

    Property Value

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

    Property Value

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

    Property Value

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

    Property Value

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

    Property Value

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

    Property Value

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

    Property Value

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

    Property Value

    • System.Guid
      System.Guid
  • SalesOrderID
    SalesOrderID
    public int SalesOrderID { get; set; }Public Property SalesOrderID As Integer

    Property Value

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

    Property Value

    • System.String
      System.String
  • ShipDate
    ShipDate
    public DateTime? ShipDate { get; set; }Public Property ShipDate As Date?

    Property Value

    • System.Nullable<T><System.DateTime>
      System.Nullable<T>(Of System.DateTime)
  • ShipMethod
    ShipMethod
    [Required]
    [MaxLength(50)]
    public string ShipMethod { get; set; }<Required>
    <MaxLength(50)>
    Public Property ShipMethod As String

    Property Value

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

    Property Value

  • ShipToAddressID
    ShipToAddressID
    public int ? ShipToAddressID { get; set; }Public Property ShipToAddressID As Integer?

    Property Value

    • System.Nullable<T><System.Int32>
      System.Nullable<T>(Of System.Int32)
  • Status
    Status
    public byte Status { get; set; }Public Property Status As Byte

    Property Value

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

    Property Value

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

    Property Value

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

    Property Value

    • System.Decimal
      System.Decimal

Details

Assembly

Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.dll