VB .NET • NOT ALL CALLOBJECTS HAVE PARAMETERS

Listing 6. CustomersOverviewFetch accepts a resultset, but uses no input parameters.

<StoredProcedure("STDA.CustomersOverviewFetch")> _
Public Class CustomersOverviewFetch
	Inherits CallObject

	<Rowset()> _
	Public Rows As List(Of CustomersOverviewFetchRow)

End Class

<Row()> _
Public Class CustomersOverviewFetchRow
	Inherits RowObject

	<Column()> _
		Public CustomerID As String

	<Column()> _
		Public CompanyName As String

	<Column()> _
		Public City As String

	<Column()> _
		Public Region As String

	<Column()> _
		Public Country As String

End Class