As I've mentioned previously, I'm upgrading a project from LLBLGen 1.0, VB.NET 2003 to 2.0 and 2005
My old entity contained the code:
Public Sub New
MyBase.New(New PropertyDescriptorFactory, New ReservationEntityFactory)
' __LLBLGENPRO_USER_CODE_REGION_START
SetDefaults()
AddRules()
' __LLBLGENPRO_USER_CODE_REGION_END
End Sub
But my newly generated code doesn't have a user code region. I understand I can't add my own, is this true? How can I add the SetDefaults functionality to this scenario but not all versions of calls to new i.e. I want the equivalent to:
Public Sub New(reservationId As System.Int32)
MyBase.New(reservationId)
' __LLBLGENPRO_USER_CODE_REGION_START
AddRules()
' __LLBLGENPRO_USER_CODE_REGION_END
End Sub