I was trying thin following thing:
Code: Select all
Dim par = New Parent
Dim ch As New Child
par.Childs.add(ch)
This is the case, because the T4 template provided by DevArt has the following lines:
Code: Select all
If (Not ProxyCreationEnabled) Then
#> = New HashSet (Of <#= relationType #>)<#+
End If
Code: Select all
Public Overridable Property TABLENAMEs() As ICollection(Of TABLENAME)
Code: Select all
Public Overridable Property TABLENAMEs() As ICollection(Of TABLENAME) = New HashSet(Of TABLENAME)
Thanks a lot.
Ansgar