Hi All,
I have multiple inherited entities that have a field mapped on a relation:
Parent Table (PK - MyID)
Child 1 -----> Mapped Table (PK - MyID)
Child 2 -|
Child 3
Both Child 1 and Child 2 are linked to the Mapped table. The PK among the Parent Table = Child 1's PK = Mapped Table.
I am using per table inheritance.
LLBLGen seems to generate the relationship fine, but when I try to assign a value to the mapped entity, nothing happens. SetValue just seems to return without setting the underlying property values.
I even tried using MyObject.MappedObject.SetNewFieldValue and it does not work (function returns true, but property is not set).
The generated SQL also reflects the fact no values were assigned.
MyObject.Recordid = Record.ID.ToString
MyObject.Clientid = 1
MyObject.Serverid = 2
MyObject.Entrydate = Record.RecordTime
MyObject.Type = "MyTest"
With MyObject.MappedObject
.Id = 12345 'This does not work
.Identifer = "Hello World" 'This does not work
End With
Any ideas?
I'm running the latest runtimes for v2.6. Oracle 10g database.
Thanks.