Hi Jose Rodriguez,
First of all you should not use the Transient
attribute. When it is applied to a field, the field is not 'persistent'
any more and its information will not be stored in the database. You should better use a strongly typed collection like List<T> or at least a collection that derives from it. When a non-generic collection type is used OpenAccess cannot know what type of values will be persisted, hence it cannot create the corresponding tables.
Here is a sample solution:
1. You could change the m_PSUsers type from PSUsers
and remove the Transient
IList(Of PSUser) =
2. Change the PSUsers
item initialization to:
PS2Project.PSUsers (lCount - 1).Username =
PS2Project.PSUsers (lCount - 1).Description =
"My Description "
PS2Project.PSUsers (lCount - 1).Name =
"My Name "
Hope that helps.
All the best,
the Telerik team