The reason for the behavior you experience is that OpenAccess creates a reference as filed of the persistent classes for the relations between tables classes. For example the Territory table has a relation to the Region table. Hence, OpenAccess creates a Territory and Region classes and the Territory class has a reference field of type "Region".
So, to access the RegionID field you use the following construction: Territory.Region.RegionID. For insert statements though you should assign a Region object to the Territory like: territory.Region = myRegion. OpenAccess resolves the references in the lower layers and inserts the right values in the right collumns of the database tables.
If you need any further instructions please do not hesitate to contact us back.
the Telerik team