Brian,
>If Me._entity Is Nothing Then
> Me._entity = New CUSTOMEREntity()
>End If
>Me._entity.SetDataRow(Me.DataRow)
>Return Me._entity
>End Get
>Set
> Me._entity = value
>End Set
If Me.DataRow is Nothing, that most likely means your query didn't return any results. I recommend setting a breakpoint in your business object method at run time and examining the DataTable using the DataSet Visualizer (just click on the magnifying glass you when hover your mouse pointer over a DataTable or DataSet in the debugger).
Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com