Created Editable Switchable splitbase for VB, usiing latest template and GetGL_SEG1 raises exception. I'm using CSLA 2.1.
I modifed the code below to pass a criteria to dataportal. create and it resolved the issue. Is this the best way to resolve the issue?
Friend Shared Function GetGL_SEG1(ByVal dr As SafeDataReader) As T
Dim child As T = DataPortal.Create(Of T)()
child.MarkAsChild()
child.Fetch(dr)
Return child
End Function
Thanks,
Mike
Copyright (c) Marimer LLC