Reference model only fills for first item

Nov 20, 2013 at 10:37 AM
Edited Nov 20, 2013 at 11:52 AM

My models keep on only filling the first item of a table parent referenced model. All the other items in the table references do not fill at all.

The parent model contains the
[Reference(typeof(Children), "ParentId", ReferenceType = ReferenceType.OneToMany, Autofill = true)]
public Children[] Childrens{ get; set; }
and in the child model I have the
The parent model contains the
public int ParentId { get; set; }
[Reference(typeof(Parent), "Id", ReferenceType = ReferenceType.ManyToOne, Autofill = true)]
public Parent Parent{ get; set; }
I call the data as follow and then only the first model is referenced item is filled.
var children = dataContext.GetData<Children>(true).ToList();
Each object model implements the ORM_CreateProxy method to. Is there something I am doing wrong?

I am using SQL server with the ORM framework.
Nov 26, 2013 at 12:04 PM
I have the same issue and can't find a workaround for it.

Any suggestions ?