That doesn't do what I want to do exactly. It is telling me how I can project to a List of Custome Class. This is what I am already doing. I want to take it 1 step further.
I have already used the code snippet from the help as a template to do what I want to do with projection. Here is what I have so far.
If you look at the WeldSpec_Spot class below you will see that there is a WeldSpec_Spot_WeldNo property which is a ListOf WeldSpec_Spot_WeldNo BO's. I want the resultset that is returned to project the data into child lists of the BO for each item in the main list of custom BO's.
Do you know what I mean?
Thanks...
Public Class WeldSpec_Spot
'Public [AssyId] As System.Int32
Private _AssyID As Integer
Private _WeldSpec_SpotID As Integer
Private _WeldGroup As String
Private _Quantity As Nullable(Of System.Int32)
Private _NuggetDiameter As Nullable(Of System.Decimal)
Private _UndersizeNuggetDiam As Nullable(Of System.Decimal)
Private _MaxIndent As System.String
Private _MinAcceptanceCriteria As System.String
Private _MaterialThickness_Governing As Nullable(Of System.Decimal)
Private _WeldSetupSize_Required As Nullable(Of System.Decimal)
Private _WeldSpec_Spot_WeldNo As New Collections.Generic.List(Of Business.WeldSpec_Spot_WeldNo)
Public Property WeldSpec_Spot_WeldNo() As Collections.Generic.List(Of Business.WeldSpec_Spot_WeldNo)
Get
Return _WeldSpec_Spot_WeldNo
End Get
Set(ByVal value As Collections.Generic.List(Of Business.WeldSpec_Spot_WeldNo))
value = _WeldSpec_Spot_WeldNo
End Set
End Property
Public Property WeldSetupSize_Required() As Nullable(Of System.Decimal)
Get
Return _WeldSetupSize_Required
End Get
Set(ByVal value As Nullable(Of System.Decimal))
_WeldSetupSize_Required = value
End Set
End Property
Public Property MaterialThickness_Governing() As Nullable(Of System.Decimal)
Get
Return _MaterialThickness_Governing
End Get
Set(ByVal value As Nullable(Of System.Decimal))
_MaterialThickness_Governing = value
End Set
End Property
Public Property MinAcceptanceCriteria() As System.String
Get
Return _MinAcceptanceCriteria
End Get
Set(ByVal value As System.String)
_MinAcceptanceCriteria = value
End Set
End Property
Public Property MaxIndent() As System.String
Get
Return _MaxIndent
End Get
Set(ByVal value As System.String)
_MaxIndent = value
End Set
End Property
Public Property UndersizeNuggetDiam() As Nullable(Of System.Decimal)
Get
Return _UndersizeNuggetDiam
End Get
Set(ByVal value As Nullable(Of System.Decimal))
_UndersizeNuggetDiam = value
End Set
End Property
Public Property NuggetDiameter() As Nullable(Of System.Decimal)
Get
Return _NuggetDiameter
End Get
Set(ByVal value As Nullable(Of System.Decimal))
_NuggetDiameter = value
End Set
End Property
Public Property AssyId() As Integer
Get
Return _AssyID
End Get
Set(ByVal value As Integer)
_AssyID = value
End Set
End Property
Public Property WeldSpec_SpotId() As Integer
Get
Return _WeldSpec_SpotID
End Get
Set(ByVal value As Integer)
_WeldSpec_SpotID = value
End Set
End Property
Public Property WeldGroup() As String
Get
Return _WeldGroup
End Get
Set(ByVal value As String)
_WeldGroup = value
End Set
End Property
Public Property Quantity() As Nullable(Of System.Int32)
Get
Return _Quantity
End Get
Set(ByVal value As Nullable(Of System.Int32))
_Quantity = value
End Set
End Property
Public Sub New()
End Sub
End Class