<DataContract([Namespace]:="http://schemas.datacontract.org/2004/07/SilverlightApplication14.Web"), _
KnownType(GetType(PrivateSectorCustomer)), _
KnownType(GetType(PublicSectorCustomer))> _
Partial Public Class Customer
Public Property Address() As String
Public Property City() As String
Public Property CustomerID() As Integer
Public Property FirstName() As String
Public Property LastName() As String
Public Property PostalCode() As String
Public Property StateProvince() As String
Public Overrides Function GetIdentity() As Object
<DataContract([Namespace]:="http://schemas.datacontract.org/2004/07/SilverlightApplication14.Web")> _
Partial Public NotInheritable Class PrivateSectorCustomer
Public Property CompanyName() As String
<DataContract([Namespace]:="http://schemas.datacontract.org/2004/07/SilverlightApplication14.Web")> _
Partial Public NotInheritable Class PublicSectorCustomer
Public Property GSARegion() As String
Partial Public NotInheritable Class CustomerDomainContext
Public Sub New(ByVal serviceUri As Uri)
Public Sub New(ByVal domainClient As DomainClient)
Public ReadOnly Property Customers() As EntitySet(Of Customer)
Public Function GetCustomersQuery() As EntityQuery(Of Customer)
Public Function GetCustomersByGSARegionQuery(ByVal region As String) As EntityQuery(Of PublicSectorCustomer)
Public Function GetCustomersByStateQuery(ByVal state As String) As EntityQuery(Of Customer)
Public Function GetPrivateSectorByPostalCodeQuery(ByVal postalcode As String) As EntityQuery(Of PrivateSectorCustomer)