OnLoaded Method is not called
Posted: Thu 12 Feb 2009 13:51
I can't get the OnLoaded method to be called in a partial public class; however the OnCreated is being called. I am using the sample code:
C:\Program Files\Devart\dotConnect\Linq\Samples\MySQL\VBasicLinqDemo.sln
I have added the following custom class:
C:\Program Files\Devart\dotConnect\Linq\Samples\MySQL\VB\Queries\CrmDataContextCustom.vb
which contains this code:
Any suggestions?
Thanks,
Larry
C:\Program Files\Devart\dotConnect\Linq\Samples\MySQL\VBasicLinqDemo.sln
I have added the following custom class:
C:\Program Files\Devart\dotConnect\Linq\Samples\MySQL\VB\Queries\CrmDataContextCustom.vb
which contains this code:
Code: Select all
Namespace CrmDataContext
Partial Public Class Company
Private Sub OnCreated()
' This is called.
End Sub
Private Sub OnLoaded()
' This is never called.
End Sub
End Class
End Namespace
Thanks,
Larry